klaussilveira/phpcs-psr — pull request #8 by stefk (2013-03-04 09:55:27+00:00)
Title: Fixed false positives with magic method case

The function name sniff returns a 'Method name "Foo::__toString" is invalid; only PHP magic methods should be prefixed with a double underscore' error when parsing the following code :