There was an error while loading. Please reload this page.
\Foo should be replaced with self, but it's not detected by the sniff because of the leading namespace separator:
\Foo
self
class Foo { public static function bar() { \Foo::baz(); } public static function baz() { echo 'foobar'; } } Foo::bar();
Failing test: nkovacs@2847398