{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734","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/734/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734","id":196270418,"number":734,"title":"Superglobal array assignment","user":{"login":"GaryJones","id":88371,"avatar_url":"https://avatars.githubusercontent.com/u/88371?v=3","gravatar_id":"","url":"https://api.github.com/users/GaryJones","html_url":"https://github.com/GaryJones","followers_url":"https://api.github.com/users/GaryJones/followers","following_url":"https://api.github.com/users/GaryJones/following{/other_user}","gists_url":"https://api.github.com/users/GaryJones/gists{/gist_id}","starred_url":"https://api.github.com/users/GaryJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaryJones/subscriptions","organizations_url":"https://api.github.com/users/GaryJones/orgs","repos_url":"https://api.github.com/users/GaryJones/repos","events_url":"https://api.github.com/users/GaryJones/events{/privacy}","received_events_url":"https://api.github.com/users/GaryJones/received_events","type":"User","site_admin":false},"labels":[{"id":197940028,"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels/Type:%20Question","name":"Type: Question","color":"cc317c","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-12-18T11:20:41Z","updated_at":"2016-12-18T11:52:00Z","closed_at":null,"body":"```php\r\n$this->postData = $_POST;\r\n```\r\n\r\nShould the above trigger [this](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/51eb33b15f3aad5d74e1c816b5d8edc42163de25/WordPress/Sniffs/VIP/SuperGlobalInputUsageSniff.php#L60) error?\r\n\r\nThe [unit test file](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/51eb33b15f3aad5d74e1c816b5d8edc42163de25/WordPress/Tests/VIP/SuperGlobalInputUsageUnitTest.inc) doesn't cover this - only accessing keys in the array, instead of the whole array itself."},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/267817004","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734#issuecomment-267817004","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/734","id":267817004,"user":{"login":"GaryJones","id":88371,"avatar_url":"https://avatars.githubusercontent.com/u/88371?v=3","gravatar_id":"","url":"https://api.github.com/users/GaryJones","html_url":"https://github.com/GaryJones","followers_url":"https://api.github.com/users/GaryJones/followers","following_url":"https://api.github.com/users/GaryJones/following{/other_user}","gists_url":"https://api.github.com/users/GaryJones/gists{/gist_id}","starred_url":"https://api.github.com/users/GaryJones/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GaryJones/subscriptions","organizations_url":"https://api.github.com/users/GaryJones/orgs","repos_url":"https://api.github.com/users/GaryJones/repos","events_url":"https://api.github.com/users/GaryJones/events{/privacy}","received_events_url":"https://api.github.com/users/GaryJones/received_events","type":"User","site_admin":false},"created_at":"2016-12-18T11:52:00Z","updated_at":"2016-12-18T11:52:00Z","body":"Even if that's the case, I think the unit tests should include such an instance to confirm the error would be triggered."}}
{"actor":{"display_login":"GaryJones"}}