{"action":"created","issue":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/828","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/828/labels{/name}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/828/comments","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/828/events","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/828","id":123647069,"number":828,"title":"Null classname is tokenized as T_NULL instead of T_STRING","user":{"login":"komex","id":720834,"avatar_url":"https://avatars.githubusercontent.com/u/720834?v=3","gravatar_id":"","url":"https://api.github.com/users/komex","html_url":"https://github.com/komex","followers_url":"https://api.github.com/users/komex/followers","following_url":"https://api.github.com/users/komex/following{/other_user}","gists_url":"https://api.github.com/users/komex/gists{/gist_id}","starred_url":"https://api.github.com/users/komex/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/komex/subscriptions","organizations_url":"https://api.github.com/users/komex/orgs","repos_url":"https://api.github.com/users/komex/repos","events_url":"https://api.github.com/users/komex/events{/privacy}","received_events_url":"https://api.github.com/users/komex/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels/Bug","name":"Bug","color":"e11d21"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-23T11:59:30Z","updated_at":"2015-12-23T21:00:59Z","closed_at":"2015-12-23T21:00:59Z","body":"Code sniffer (2.5.0) shows an error when I use ZF2 Filter named `Null` (`Zend\\Filter\\Null`) like this:\r\n```php\r\n$input->getFilterChain()->attachByName('Null', ['type' => Null::TYPE_STRING]);\r\n```\r\n\r\n```\r\n----------------------------------------------------------------------\r\nFOUND 1 ERROR AFFECTING 1 LINE\r\n----------------------------------------------------------------------\r\n 78 | ERROR | [x] TRUE, FALSE and NULL must be lowercase; expected\r\n    |       |     \"null\" but found \"Null\"\r\n----------------------------------------------------------------------\r\nPHPCBF CAN FIX THE 1 MARKED SNIFF VIOLATIONS AUTOMATICALLY\r\n----------------------------------------------------------------------\r\n```"},"comment":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments/166989238","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/828#issuecomment-166989238","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/828","id":166989238,"user":{"login":"gsherwood","id":185976,"avatar_url":"https://avatars.githubusercontent.com/u/185976?v=3","gravatar_id":"","url":"https://api.github.com/users/gsherwood","html_url":"https://github.com/gsherwood","followers_url":"https://api.github.com/users/gsherwood/followers","following_url":"https://api.github.com/users/gsherwood/following{/other_user}","gists_url":"https://api.github.com/users/gsherwood/gists{/gist_id}","starred_url":"https://api.github.com/users/gsherwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsherwood/subscriptions","organizations_url":"https://api.github.com/users/gsherwood/orgs","repos_url":"https://api.github.com/users/gsherwood/repos","events_url":"https://api.github.com/users/gsherwood/events{/privacy}","received_events_url":"https://api.github.com/users/gsherwood/received_events","type":"User","site_admin":false},"created_at":"2015-12-23T21:00:59Z","updated_at":"2015-12-23T21:00:59Z","body":"I've committed a fix. Thanks for reporting."}}