klaussilveira/phpcs-psr — pull request #9 by dshafik (2013-03-29 00:51:59+00:00)
Title: Lowercase string before comparing magic methods

When comparing double underscored methods against magic methods, the name should be lowercased otherwise it will not match (e.g. toString => tostring).