{"action":"created","issue":{"url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/26","labels_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/26/labels{/name}","comments_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/26/comments","events_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/26/events","html_url":"https://github.com/AtomLinter/linter-phpcs/issues/26","id":88502965,"number":26,"title":"Per-project phpcs path & standard","user":{"login":"davidbarratt","id":868364,"avatar_url":"https://avatars.githubusercontent.com/u/868364?v=3","gravatar_id":"","url":"https://api.github.com/users/davidbarratt","html_url":"https://github.com/davidbarratt","followers_url":"https://api.github.com/users/davidbarratt/followers","following_url":"https://api.github.com/users/davidbarratt/following{/other_user}","gists_url":"https://api.github.com/users/davidbarratt/gists{/gist_id}","starred_url":"https://api.github.com/users/davidbarratt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/davidbarratt/subscriptions","organizations_url":"https://api.github.com/users/davidbarratt/orgs","repos_url":"https://api.github.com/users/davidbarratt/repos","events_url":"https://api.github.com/users/davidbarratt/events{/privacy}","received_events_url":"https://api.github.com/users/davidbarratt/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-06-15T18:27:31Z","updated_at":"2015-08-20T09:29:30Z","closed_at":"2015-07-07T17:22:42Z","body":"I have Drupal projects and PSR-2 projects and right now I have to manually go in and change the standard, also, I have to update the path since each project includes phpcs.\r\n\r\nIt would be really helpful to have a per-project phpcs path and a per-project standard. If one is not available for the project, it should fall back to the global."},"comment":{"url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/comments/132951923","html_url":"https://github.com/AtomLinter/linter-phpcs/issues/26#issuecomment-132951923","issue_url":"https://api.github.com/repos/AtomLinter/linter-phpcs/issues/26","id":132951923,"user":{"login":"aendrew","id":185041,"avatar_url":"https://avatars.githubusercontent.com/u/185041?v=3","gravatar_id":"","url":"https://api.github.com/users/aendrew","html_url":"https://github.com/aendrew","followers_url":"https://api.github.com/users/aendrew/followers","following_url":"https://api.github.com/users/aendrew/following{/other_user}","gists_url":"https://api.github.com/users/aendrew/gists{/gist_id}","starred_url":"https://api.github.com/users/aendrew/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aendrew/subscriptions","organizations_url":"https://api.github.com/users/aendrew/orgs","repos_url":"https://api.github.com/users/aendrew/repos","events_url":"https://api.github.com/users/aendrew/events{/privacy}","received_events_url":"https://api.github.com/users/aendrew/received_events","type":"User","site_admin":false},"created_at":"2015-08-20T09:29:30Z","updated_at":"2015-08-20T09:29:30Z","body":"@Arcanemagus Happy to submit a documentation PR, but I kind of need to get this working first... :sweat_smile: \r\n\r\nI have a file called phpcs.xml in my project root containing:\r\n\r\n```\r\n<?xml version=\"1.0\"?>\r\n<ruleset name=\"MyProject\">\r\n <description>Custom ruleset</description>\r\n\r\n <exclude-pattern>*/tests/*</exclude-pattern>\r\n\r\n <rule ref=\"WordPress\" />\r\n</ruleset>\r\n```\r\n\r\nHowever, it's still picking up the PSR2 standard (AFAICT; it's throwing errors for spaces after opening function parenthesis, which WordPress standards require). Also tried naming it phpcs.ruleset.xml, same issue.\r\n\r\nAny help?"}}