{"action":"created","issue":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/1662","repository_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/1662/labels{/name}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/1662/comments","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/1662/events","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/1662","id":258640103,"number":1662,"title":"Feature suggestion: sniff to discourage/forbid use of `goto` language construct","user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"labels":[{"id":130757470,"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels/Enhancement","name":"Enhancement","color":"c2e0c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2017-09-18T22:26:34Z","updated_at":"2017-09-18T23:08:05Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Usage of `goto` is often seen as a typical code smell.\r\n\r\nAFAICS there is currently no sniff to detect usage of `goto` and discourage/forbid it.\r\n\r\nIs there any interest for a `Generic.PHP.DiscourageGoto` sniff to detect this ? I'd be happy to create a PR for this."},"comment":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments/330381453","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/1662#issuecomment-330381453","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/1662","id":330381453,"user":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"created_at":"2017-09-18T23:08:05Z","updated_at":"2017-09-18T23:08:05Z","author_association":"CONTRIBUTOR","body":"Sniff created, see PR #1664"}}
{"actor":{"display_login":"jrfnl"}}