{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140/labels{/name}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140/comments","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140/events","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140","id":24722888,"number":140,"title":"Add custom error name to addError function","user":{"login":"jonathanbardo","id":1933681,"avatar_url":"https://avatars.githubusercontent.com/u/1933681?v=3","gravatar_id":"","url":"https://api.github.com/users/jonathanbardo","html_url":"https://github.com/jonathanbardo","followers_url":"https://api.github.com/users/jonathanbardo/followers","following_url":"https://api.github.com/users/jonathanbardo/following{/other_user}","gists_url":"https://api.github.com/users/jonathanbardo/gists{/gist_id}","starred_url":"https://api.github.com/users/jonathanbardo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jonathanbardo/subscriptions","organizations_url":"https://api.github.com/users/jonathanbardo/orgs","repos_url":"https://api.github.com/users/jonathanbardo/repos","events_url":"https://api.github.com/users/jonathanbardo/events{/privacy}","received_events_url":"https://api.github.com/users/jonathanbardo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2013-12-23T20:28:37Z","updated_at":"2015-01-14T05:28:49Z","closed_at":"2015-01-14T05:28:49Z","body":"It would be great if addError function in WPCS ([example here](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/blob/b46eedae7fb41aebee2632520e84f0ced47debd1/Sniffs/Arrays/ArrayDeclarationSniff.php#L425)) function would implement the 3rd argument of phpcs [Ref Squiz Lab](https://github.com/squizlabs/PHP_CodeSniffer/blob/master/CodeSniffer/File.php#L734).\r\n\r\nThis could add more granularity in custom ruleset based on top of this standard like so : http://www.squizlabs.com/view?a=6160.\r\n\r\nRight now we can only exclude a sniff but not an error message inside a sniff. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments/69871113","html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140#issuecomment-69871113","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/140","id":69871113,"user":{"login":"westonruter","id":134745,"avatar_url":"https://avatars.githubusercontent.com/u/134745?v=3","gravatar_id":"","url":"https://api.github.com/users/westonruter","html_url":"https://github.com/westonruter","followers_url":"https://api.github.com/users/westonruter/followers","following_url":"https://api.github.com/users/westonruter/following{/other_user}","gists_url":"https://api.github.com/users/westonruter/gists{/gist_id}","starred_url":"https://api.github.com/users/westonruter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/westonruter/subscriptions","organizations_url":"https://api.github.com/users/westonruter/orgs","repos_url":"https://api.github.com/users/westonruter/repos","events_url":"https://api.github.com/users/westonruter/events{/privacy}","received_events_url":"https://api.github.com/users/westonruter/received_events","type":"User","site_admin":false},"created_at":"2015-01-14T05:28:49Z","updated_at":"2015-01-14T05:28:49Z","body":"PR merged into `develop`."}}