payload: {"action":"closed","issue":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2700","repository_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2700/labels{/name}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2700/comments","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/2700/events","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/2700","id":524330957,"node_id":"MDU6SXNzdWU1MjQzMzA5NTc=","number":2700,"title":"Ignoring parts of a file not working","user":{"login":"burzum","id":162789,"node_id":"MDQ6VXNlcjE2Mjc4OQ==","avatar_url":"https://avatars0.githubusercontent.com/u/162789?v=4","gravatar_id":"","url":"https://api.github.com/users/burzum","html_url":"https://github.com/burzum","followers_url":"https://api.github.com/users/burzum/followers","following_url":"https://api.github.com/users/burzum/following{/other_user}","gists_url":"https://api.github.com/users/burzum/gists{/gist_id}","starred_url":"https://api.github.com/users/burzum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/burzum/subscriptions","organizations_url":"https://api.github.com/users/burzum/orgs","repos_url":"https://api.github.com/users/burzum/repos","events_url":"https://api.github.com/users/burzum/events{/privacy}","received_events_url":"https://api.github.com/users/burzum/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2019-11-18T12:18:35Z","updated_at":"2019-11-18T20:42:26Z","closed_at":"2019-11-18T20:42:26Z","author_association":"NONE","body":"So since 3.2 the syntax has changed, but this isn't working either for me... Is this a bug or is what I do wrong?\r\n\r\n```sh\r\nλ .\\bin\\phpcs --version\r\nPHP_CodeSniffer version 3.5.2 (stable) by Squiz (http://www.squiz.net)\r\n```\r\n\r\nExcerpt from the file phpcs complains about:\r\n\r\n```php\r\n//phpcs:disable\r\nclass TestAggregate\r\n{\r\n\tprotected $aggregateType = [\r\n\t\t'TestAggregate' => TestAggregate::class\r\n\t];\r\n\tprotected $aggregateId = 'e37ad7f3-91df-440c-9568-6a2b90fd7fdb';\r\n\tprotected $aggregateVersion = 1;\r\n\tprotected $events = ['first' => 'event'];\r\n\tpublic static function reconstituteFromHistory(Iterator $historyEvents): self\r\n\t{\r\n\t\treturn new self();\r\n\t}\r\n\tprotected function replay(Iterator $historyEvents): void\r\n\t{\r\n\t}\r\n}\r\n//phpcs:enable\r\n```\r\n\r\nOutput:\r\n\r\n```sh\r\nλ composer cscheck\r\n> .\\bin\\phpcs .\\src .\\tests --standard=./phpcs.xml\r\n\r\nFILE: ...Case\\EventStoreIntegration\\AggregateReflectionTranslatorTest.php\r\n----------------------------------------------------------------------\r\nFOUND 1 ERROR AFFECTING 1 LINE\r\n----------------------------------------------------------------------\r\n 36 | ERROR | Each class must be in a file by itself\r\n----------------------------------------------------------------------\r\n```\r\n\r\nphpcs.xml\r\n\r\n```xml\r\n<?xml version=\"1.0\"?>\r\n<ruleset name=\"PSA\">\r\n    <description>PSR12 with tabs instead of spaces.</description>\r\n    <arg name=\"tab-width\" value=\"4\"/>\r\n    <rule ref=\"PSR2\">\r\n        <exclude name=\"Generic.WhiteSpace.DisallowTabIndent\"/>\r\n    </rule>\r\n    <rule ref=\"Generic.WhiteSpace.DisallowSpaceIndent\"/>\r\n    <rule ref=\"Generic.WhiteSpace.ScopeIndent\">\r\n        <properties>\r\n            <property name=\"indent\" value=\"4\"/>\r\n            <property name=\"tabIndent\" value=\"true\"/>\r\n        </properties>\r\n    </rule>\r\n    <rule ref=\"./vendor/squizlabs/php_codesniffer/src/Standards/PSR12/ruleset.xml\">\r\n        <exclude name=\"Generic.Files.LineLength.TooLong\"/>\r\n    </rule>\r\n</ruleset>\r\n```"}}
other: {"actor":{"display_login":"gsherwood"}}