{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530","repository_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530","id":132690224,"number":530,"title":"Cannot redeclare class WordPress_Sniffs_Arrays_ArrayDeclarationSniff","user":{"login":"corysimmons","id":224636,"avatar_url":"https://avatars.githubusercontent.com/u/224636?v=3","gravatar_id":"","url":"https://api.github.com/users/corysimmons","html_url":"https://github.com/corysimmons","followers_url":"https://api.github.com/users/corysimmons/followers","following_url":"https://api.github.com/users/corysimmons/following{/other_user}","gists_url":"https://api.github.com/users/corysimmons/gists{/gist_id}","starred_url":"https://api.github.com/users/corysimmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corysimmons/subscriptions","organizations_url":"https://api.github.com/users/corysimmons/orgs","repos_url":"https://api.github.com/users/corysimmons/repos","events_url":"https://api.github.com/users/corysimmons/events{/privacy}","received_events_url":"https://api.github.com/users/corysimmons/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-02-10T12:44:06Z","updated_at":"2016-02-10T12:59:51Z","closed_at":null,"body":"`> phpcs --standard='./vendor/wp-coding-standards/wpcs/WordPress-VIP/ruleset.xml' -p --colors footer.php` works fine (VIP ruleset), but when I try to change it to just the WordPress ruleset (to get all the sniffing goodness) it throws an error:\r\n\r\n```fish\r\n> phpcs --standard='./vendor/wp-coding-standards/wpcs/WordPress/ruleset.xml' -p --colors footer.php\r\n\r\nPHP Fatal error:  Cannot redeclare class WordPress_Sniffs_Arrays_ArrayDeclarationSniff in /Users/cory/wpcs/WordPress/Sniffs/Arrays/ArrayDeclarationSniff.php on line 23\r\n```\r\n\r\nAny idea what's going on? Should this be opened at phpcs repo?"},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/182361445","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530#issuecomment-182361445","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/530","id":182361445,"user":{"login":"corysimmons","id":224636,"avatar_url":"https://avatars.githubusercontent.com/u/224636?v=3","gravatar_id":"","url":"https://api.github.com/users/corysimmons","html_url":"https://github.com/corysimmons","followers_url":"https://api.github.com/users/corysimmons/followers","following_url":"https://api.github.com/users/corysimmons/following{/other_user}","gists_url":"https://api.github.com/users/corysimmons/gists{/gist_id}","starred_url":"https://api.github.com/users/corysimmons/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/corysimmons/subscriptions","organizations_url":"https://api.github.com/users/corysimmons/orgs","repos_url":"https://api.github.com/users/corysimmons/repos","events_url":"https://api.github.com/users/corysimmons/events{/privacy}","received_events_url":"https://api.github.com/users/corysimmons/received_events","type":"User","site_admin":false},"created_at":"2016-02-10T12:59:51Z","updated_at":"2016-02-10T12:59:51Z","body":"Perhaps it has something to do with my WPCS version? I installed via Composer (`composer install wp-coding-standards/wpcs`) and my version looks like it's from 2014: `\"wp-coding-standards/wpcs\": \"2014-12-11\"`."}}