{"action":"created","issue":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/9","repository_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs","labels_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/9/comments","events_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/9/events","html_url":"https://github.com/SublimeLinter/SublimeLinter-phpcs/issues/9","id":131858331,"node_id":"MDU6SXNzdWUxMzE4NTgzMzE=","number":9,"title":"Is it possible to set coding standards on a per project basis?","user":{"login":"rpkoller","id":1665422,"node_id":"MDQ6VXNlcjE2NjU0MjI=","avatar_url":"https://avatars2.githubusercontent.com/u/1665422?v=4","gravatar_id":"","url":"https://api.github.com/users/rpkoller","html_url":"https://github.com/rpkoller","followers_url":"https://api.github.com/users/rpkoller/followers","following_url":"https://api.github.com/users/rpkoller/following{/other_user}","gists_url":"https://api.github.com/users/rpkoller/gists{/gist_id}","starred_url":"https://api.github.com/users/rpkoller/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpkoller/subscriptions","organizations_url":"https://api.github.com/users/rpkoller/orgs","repos_url":"https://api.github.com/users/rpkoller/repos","events_url":"https://api.github.com/users/rpkoller/events{/privacy}","received_events_url":"https://api.github.com/users/rpkoller/received_events","type":"User","site_admin":false},"labels":[{"id":71231335,"node_id":"MDU6TGFiZWw3MTIzMTMzNQ==","url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/labels/question","name":"question","color":"cc317c","default":true}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-02-06T14:06:08Z","updated_at":"2018-07-19T09:16:38Z","closed_at":"2016-03-14T06:39:27Z","author_association":"NONE","body":"Something i tried to accomplish but was unable to figure out based on the documentation yet. Let's say you have installed the coding standards for drupal and wordpress and then want to set the coding standard to drupalcs for a certain drupal project and wpcs for a wordpress project. cuz if you set the coding standard globally you are only able to set one of the two for files with the php extension. or am i missing something? Thanks r. \n"},"comment":{"url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/comments/406211318","html_url":"https://github.com/SublimeLinter/SublimeLinter-phpcs/issues/9#issuecomment-406211318","issue_url":"https://api.github.com/repos/SublimeLinter/SublimeLinter-phpcs/issues/9","id":406211318,"node_id":"MDEyOklzc3VlQ29tbWVudDQwNjIxMTMxOA==","user":{"login":"rizkysyazuli","id":152221,"node_id":"MDQ6VXNlcjE1MjIyMQ==","avatar_url":"https://avatars1.githubusercontent.com/u/152221?v=4","gravatar_id":"","url":"https://api.github.com/users/rizkysyazuli","html_url":"https://github.com/rizkysyazuli","followers_url":"https://api.github.com/users/rizkysyazuli/followers","following_url":"https://api.github.com/users/rizkysyazuli/following{/other_user}","gists_url":"https://api.github.com/users/rizkysyazuli/gists{/gist_id}","starred_url":"https://api.github.com/users/rizkysyazuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rizkysyazuli/subscriptions","organizations_url":"https://api.github.com/users/rizkysyazuli/orgs","repos_url":"https://api.github.com/users/rizkysyazuli/repos","events_url":"https://api.github.com/users/rizkysyazuli/events{/privacy}","received_events_url":"https://api.github.com/users/rizkysyazuli/received_events","type":"User","site_admin":false},"created_at":"2018-07-19T09:16:38Z","updated_at":"2018-07-19T09:16:38Z","author_association":"NONE","body":"So i just installed the [Laravel standard](https://github.com/antonioribeiro/laravelcs). What's the correct way to use it?\r\n\r\n```js\r\n// project_name.sublime-project\r\n{\r\n    ...\r\n\r\n    \"settings\": {\r\n        // like this?\r\n        \"SublimeLinter.linters.phpcs.standard\": \"${folder}vendor/laravelcs/Standards/Laravel/ruleset.xml\",\r\n        // or this?\r\n        \"SublimeLinter.linters.phpcs.args\": \"--standard=${folder}vendor/laravelcs/Standards/Laravel/\"\r\n    }\r\n}\r\n\r\n```\r\n\r\nCoz neither is working. The console still shows it's running with the default PSR2 standard.\r\n\r\n```bash\r\nSublimeLinter: #878 linter.py:1263: Running ...\r\n\r\n  /Users/rizkysyazuli/Sites/project_name  (working dir)\r\n  $ cat resources/views/backoffice/blog.blade.php | /Users/rizkysyazuli/.composer/vendor/bin/phpcs --report=emacs --standard=PSR2 --stdin-path=/Users/rizkysyazuli/Sites/project_name/resources/views/backoffice/blog.blade.php -\r\n```"}}
{"actor":{"display_login":"rizkysyazuli"}}