{"action":"created","issue":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/656","repository_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/656/labels{/name}","comments_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/656/comments","events_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/656/events","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/656","id":97906226,"number":656,"title":"Allow sniffs to be selectively included","user":{"login":"PatrickRose","id":1681612,"avatar_url":"https://avatars.githubusercontent.com/u/1681612?v=3","gravatar_id":"","url":"https://api.github.com/users/PatrickRose","html_url":"https://github.com/PatrickRose","followers_url":"https://api.github.com/users/PatrickRose/followers","following_url":"https://api.github.com/users/PatrickRose/following{/other_user}","gists_url":"https://api.github.com/users/PatrickRose/gists{/gist_id}","starred_url":"https://api.github.com/users/PatrickRose/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PatrickRose/subscriptions","organizations_url":"https://api.github.com/users/PatrickRose/orgs","repos_url":"https://api.github.com/users/PatrickRose/repos","events_url":"https://api.github.com/users/PatrickRose/events{/privacy}","received_events_url":"https://api.github.com/users/PatrickRose/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/labels/Enhancement","name":"Enhancement","color":"009800"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/milestones/1","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/milestones/3.0","labels_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/milestones/1/labels","id":1341500,"number":1,"title":"3.0","description":"","creator":{"login":"gsherwood","id":185976,"avatar_url":"https://avatars.githubusercontent.com/u/185976?v=3","gravatar_id":"","url":"https://api.github.com/users/gsherwood","html_url":"https://github.com/gsherwood","followers_url":"https://api.github.com/users/gsherwood/followers","following_url":"https://api.github.com/users/gsherwood/following{/other_user}","gists_url":"https://api.github.com/users/gsherwood/gists{/gist_id}","starred_url":"https://api.github.com/users/gsherwood/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gsherwood/subscriptions","organizations_url":"https://api.github.com/users/gsherwood/orgs","repos_url":"https://api.github.com/users/gsherwood/repos","events_url":"https://api.github.com/users/gsherwood/events{/privacy}","received_events_url":"https://api.github.com/users/gsherwood/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":7,"state":"open","created_at":"2015-10-06T22:20:15Z","updated_at":"2016-02-18T23:06:48Z","due_on":null,"closed_at":null},"comments":5,"created_at":"2015-07-29T10:18:22Z","updated_at":"2016-05-23T08:42:41Z","closed_at":"2015-12-22T23:46:46Z","body":"Hi,\r\n\r\nI have a few Sniffs that should only apply to a few directories, so I can't use an exclude. Is there way I can tell PHPCS to whitelist only a certain ruleset (failing that, how should I build an exclude)?"},"comment":{"url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/comments/220920750","html_url":"https://github.com/squizlabs/PHP_CodeSniffer/issues/656#issuecomment-220920750","issue_url":"https://api.github.com/repos/squizlabs/PHP_CodeSniffer/issues/656","id":220920750,"user":{"login":"white-gecko","id":1018168,"avatar_url":"https://avatars.githubusercontent.com/u/1018168?v=3","gravatar_id":"","url":"https://api.github.com/users/white-gecko","html_url":"https://github.com/white-gecko","followers_url":"https://api.github.com/users/white-gecko/followers","following_url":"https://api.github.com/users/white-gecko/following{/other_user}","gists_url":"https://api.github.com/users/white-gecko/gists{/gist_id}","starred_url":"https://api.github.com/users/white-gecko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/white-gecko/subscriptions","organizations_url":"https://api.github.com/users/white-gecko/orgs","repos_url":"https://api.github.com/users/white-gecko/repos","events_url":"https://api.github.com/users/white-gecko/events{/privacy}","received_events_url":"https://api.github.com/users/white-gecko/received_events","type":"User","site_admin":false},"created_at":"2016-05-23T08:42:41Z","updated_at":"2016-05-23T08:42:41Z","body":"My use case is, that I'm generally checking the complete code base, but excluding the extensions/plug-in directory, except for some core-extensions, which should as well be checked.\r\n(But I think I will be able to do this with a regular expression in an `exclude-pattern` as well.)"}}
{"actor":{"display_login":"white-gecko"}}