{"action":"created","issue":{"url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/22","labels_url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/22/labels{/name}","comments_url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/22/comments","events_url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/22/events","html_url":"https://github.com/mikaeljorhult/brackets-php-code-quality-tools/issues/22","id":79740618,"number":22,"title":"No detected errors and warnings are being shown in the lint pane","user":{"login":"cithukyaw","id":4285555,"avatar_url":"https://avatars.githubusercontent.com/u/4285555?v=3","gravatar_id":"","url":"https://api.github.com/users/cithukyaw","html_url":"https://github.com/cithukyaw","followers_url":"https://api.github.com/users/cithukyaw/followers","following_url":"https://api.github.com/users/cithukyaw/following{/other_user}","gists_url":"https://api.github.com/users/cithukyaw/gists{/gist_id}","starred_url":"https://api.github.com/users/cithukyaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cithukyaw/subscriptions","organizations_url":"https://api.github.com/users/cithukyaw/orgs","repos_url":"https://api.github.com/users/cithukyaw/repos","events_url":"https://api.github.com/users/cithukyaw/events{/privacy}","received_events_url":"https://api.github.com/users/cithukyaw/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-05-23T05:42:43Z","updated_at":"2015-05-26T16:37:41Z","closed_at":null,"body":"I installed the version 0.1.7 (latest version at the time of this writing) in Brackets 1.3 and Windows 7. I think it would work upon file save, but It seems not working. I have `php` in PATH. The extension settings are all default. The menu **View -> Lint Files on Save** is checked.\r\n\r\nI have CodeSniffer installed globally. I found that this extension is shipped with a standalone `phpcs.phar`. I think it is not a problem since both could be run successfully in CLI.\r\n\r\n```\r\nC:\\>phpcs --version\r\nPHP_CodeSniffer version 2.0.0 (stable) by Squiz (http://www.squiz.net)\r\n```\r\n```\r\nC:\\~\\Brackets\\extensions\\user\\mikaeljorhult.brackets-php-lint-tools\\modules\\vendor\\phpcs>php php\r\ncs.phar --version\r\nPHP_CodeSniffer version 2.0.0a3 (alpha) by Squiz (http://www.squiz.net)\r\n```\r\n\r\nRunning `phpcs` in CLI is working for both `phpcs` or `php phpcs.phar`. I got several CodeSniffer warnings and errors for my file.\r\n```\r\nC:\\>phpcs path\\to\\file.php`\r\n..... errors and warnings shown here\r\n......\r\nC:\\~\\Brackets\\extensions\\user\\mikaeljorhult.brackets-php-lint-tools\\modules\\vendor\\phpcs>php phpcs.phar path\\to\\file.php`\r\n..... errors and warnings shown here\r\n......\r\n```\r\n\r\nI found that \"**No linter available for PHP**\" in the right bottom corner of IDE. Formerly I used the extension [PHPLint](https://github.com/DoersGuild/brackets-phplint) by Sathvik and it worked. I removed it when I installed this code quality tool to avoid conflict."},"comment":{"url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/comments/105596826","html_url":"https://github.com/mikaeljorhult/brackets-php-code-quality-tools/issues/22#issuecomment-105596826","issue_url":"https://api.github.com/repos/mikaeljorhult/brackets-php-code-quality-tools/issues/22","id":105596826,"user":{"login":"cithukyaw","id":4285555,"avatar_url":"https://avatars.githubusercontent.com/u/4285555?v=3","gravatar_id":"","url":"https://api.github.com/users/cithukyaw","html_url":"https://github.com/cithukyaw","followers_url":"https://api.github.com/users/cithukyaw/followers","following_url":"https://api.github.com/users/cithukyaw/following{/other_user}","gists_url":"https://api.github.com/users/cithukyaw/gists{/gist_id}","starred_url":"https://api.github.com/users/cithukyaw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cithukyaw/subscriptions","organizations_url":"https://api.github.com/users/cithukyaw/orgs","repos_url":"https://api.github.com/users/cithukyaw/repos","events_url":"https://api.github.com/users/cithukyaw/events{/privacy}","received_events_url":"https://api.github.com/users/cithukyaw/received_events","type":"User","site_admin":false},"created_at":"2015-05-26T16:37:41Z","updated_at":"2015-05-26T16:37:41Z","body":"I tried to disable and enable each extension one by one. I found two extensions that could break your extension to work.\r\n\r\n(1) When [funcdocr](https://github.com/wikunia/brackets-funcdocr) is installed and enabled, \"Errors: 1\" is shown in the status bar. In the developer console, I found these\r\n\r\n```\r\nException when calling a 'brackets done loading' handler: TypeError: undefined is not a function\r\n/utils/AppInit.js:96 TypeError: undefined is not a function\r\n    at Parser.PHPCS.prepareStandards (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/parsers/phpcs.js:28:32)\r\n    at Parser.PHPCS.buildCommand (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/parsers/phpcs.js:12:47)\r\n    at Parser.parse (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/parsers/base.js:32:19)\r\n    at getErrors (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/ParserManager.js:39:23)\r\n    at getErrorsFromDocument (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/ParserManager.js:118:4)\r\n    at getErrorsFromEditor (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/ParserManager.js:111:4)\r\n    at _callHandler (/utils/AppInit.js:93:13)\r\n    at _addListener (/utils/AppInit.js:128:13)\r\n    at Object.appReady (/utils/AppInit.js:141:9)\r\n    at NodeConnection.<anonymous> (file:///C:/Users/TPP/AppData/Roaming/Brackets/extensions/user/mikaeljorhult.brackets-php-lint-tools/modules/ParserManager.js:96:13)\t\r\n```\r\n(2) When [JSCS for Brackets](https://github.com/globexdesigns/brackets-jscs) is installed and enabled, I found the following errors in the developer console. It seems stopping node server unexpectedly. This could cause your extension boken.\r\n\r\n![635682783052642734](https://cloud.githubusercontent.com/assets/4285555/7817562/d212dd48-03fb-11e5-8569-f75895a89516.png)\r\n\r\n\r\nI'm not sure No (2) is related to this extension issue. If not, I will submit an issue to that extension \"JSCS\". If those two extensions are disabled, your extension is working fine."}}