{"action":"created","issue":{"url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/195","repository_url":"https://api.github.com/repos/cakephp/cakephp-codesniffer","labels_url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/195/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/195/comments","events_url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/195/events","html_url":"https://github.com/cakephp/cakephp-codesniffer/issues/195","id":263891925,"number":195,"title":"Include UnusedUseSniff","user":{"login":"dereuromark","id":39854,"avatar_url":"https://avatars0.githubusercontent.com/u/39854?v=4","gravatar_id":"","url":"https://api.github.com/users/dereuromark","html_url":"https://github.com/dereuromark","followers_url":"https://api.github.com/users/dereuromark/followers","following_url":"https://api.github.com/users/dereuromark/following{/other_user}","gists_url":"https://api.github.com/users/dereuromark/gists{/gist_id}","starred_url":"https://api.github.com/users/dereuromark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dereuromark/subscriptions","organizations_url":"https://api.github.com/users/dereuromark/orgs","repos_url":"https://api.github.com/users/dereuromark/repos","events_url":"https://api.github.com/users/dereuromark/events{/privacy}","received_events_url":"https://api.github.com/users/dereuromark/received_events","type":"User","site_admin":false},"labels":[{"id":821454,"url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":7,"created_at":"2017-10-09T13:18:05Z","updated_at":"2017-10-12T12:03:31Z","closed_at":null,"author_association":"MEMBER","body":"Check if either\r\n- https://github.com/slevomat/coding-standard/blob/master/SlevomatCodingStandard/Sniffs/Namespaces/UnusedUsesSniff.php\r\n- https://github.com/spryker/code-sniffer/blob/master/Spryker/Sniffs/Namespaces/UnusedUseStatementSniff.php\r\n\r\ndo the job and if we can include them\r\n\r\nThe latter does not remove unused classes if they are in the same namespace.\r\nNot sure if that is a big deal. Other than that it is working very reliably and also keeps use statements if used in annotations still.\r\n\r\nRefs https://github.com/cakephp/cakephp/pull/11308"},"comment":{"url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/comments/336108805","html_url":"https://github.com/cakephp/cakephp-codesniffer/issues/195#issuecomment-336108805","issue_url":"https://api.github.com/repos/cakephp/cakephp-codesniffer/issues/195","id":336108805,"user":{"login":"ADmad","id":142658,"avatar_url":"https://avatars0.githubusercontent.com/u/142658?v=4","gravatar_id":"","url":"https://api.github.com/users/ADmad","html_url":"https://github.com/ADmad","followers_url":"https://api.github.com/users/ADmad/followers","following_url":"https://api.github.com/users/ADmad/following{/other_user}","gists_url":"https://api.github.com/users/ADmad/gists{/gist_id}","starred_url":"https://api.github.com/users/ADmad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ADmad/subscriptions","organizations_url":"https://api.github.com/users/ADmad/orgs","repos_url":"https://api.github.com/users/ADmad/repos","events_url":"https://api.github.com/users/ADmad/events{/privacy}","received_events_url":"https://api.github.com/users/ADmad/received_events","type":"User","site_admin":false},"created_at":"2017-10-12T12:03:31Z","updated_at":"2017-10-12T12:03:31Z","author_association":"MEMBER","body":"While I would love to use Slevomat's sniffs I don't think it's right to bump up the PHP version constraint for codesniffer."}}
{"actor":{"display_login":"ADmad"}}