{"action":"created","comment":{"url":"https://api.github.com/repos/joomla/coding-standards/pulls/comments/28086404","id":28086404,"diff_hunk":"@@ -101,7 +101,7 @@ public function process(PHP_CodeSniffer_File $phpcsFile, $stackPtr)\n         if( ! $valid)\n         {\n             $error = 'Instanciating new classes without parameters does not require brackets.';\n-            $phpcsFile->addError($error, $stackPtr, 'New class');\n+            $phpcsFile->addFixableError($error, $stackPtr, 'New class');","path":"Sniffs/Classes/InstantiateNewClassesSniff.php","position":5,"original_position":5,"commit_id":"d23eca5e3e1b1a8b40f594191e41863e17521493","original_commit_id":"d23eca5e3e1b1a8b40f594191e41863e17521493","user":{"login":"aik099","id":1277526,"avatar_url":"https://avatars.githubusercontent.com/u/1277526?v=3","gravatar_id":"","url":"https://api.github.com/users/aik099","html_url":"https://github.com/aik099","followers_url":"https://api.github.com/users/aik099/followers","following_url":"https://api.github.com/users/aik099/following{/other_user}","gists_url":"https://api.github.com/users/aik099/gists{/gist_id}","starred_url":"https://api.github.com/users/aik099/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aik099/subscriptions","organizations_url":"https://api.github.com/users/aik099/orgs","repos_url":"https://api.github.com/users/aik099/repos","events_url":"https://api.github.com/users/aik099/events{/privacy}","received_events_url":"https://api.github.com/users/aik099/received_events","type":"User","site_admin":false},"body":"If you don't actually provide any fixing code, then reporting error/warning as fixable would fail coding standard tests. You don't have any tests in the standard and that's why you don't see the difference.","created_at":"2015-04-09T18:03:08Z","updated_at":"2015-04-09T18:03:08Z","html_url":"https://github.com/joomla/coding-standards/pull/101#discussion_r28086404","pull_request_url":"https://api.github.com/repos/joomla/coding-standards/pulls/101","_links":{"self":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/comments/28086404"},"html":{"href":"https://github.com/joomla/coding-standards/pull/101#discussion_r28086404"},"pull_request":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/101"}}},"pull_request":{"url":"https://api.github.com/repos/joomla/coding-standards/pulls/101","id":32862901,"html_url":"https://github.com/joomla/coding-standards/pull/101","diff_url":"https://github.com/joomla/coding-standards/pull/101.diff","patch_url":"https://github.com/joomla/coding-standards/pull/101.patch","issue_url":"https://api.github.com/repos/joomla/coding-standards/issues/101","number":101,"state":"open","locked":false,"title":"First round of changes needed for PHPCS-2 migration","user":{"login":"photodude","id":10253980,"avatar_url":"https://avatars.githubusercontent.com/u/10253980?v=3","gravatar_id":"","url":"https://api.github.com/users/photodude","html_url":"https://github.com/photodude","followers_url":"https://api.github.com/users/photodude/followers","following_url":"https://api.github.com/users/photodude/following{/other_user}","gists_url":"https://api.github.com/users/photodude/gists{/gist_id}","starred_url":"https://api.github.com/users/photodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photodude/subscriptions","organizations_url":"https://api.github.com/users/photodude/orgs","repos_url":"https://api.github.com/users/photodude/repos","events_url":"https://api.github.com/users/photodude/events{/privacy}","received_events_url":"https://api.github.com/users/photodude/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-04-08T14:04:08Z","updated_at":"2015-04-09T18:03:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/joomla/coding-standards/pulls/101/commits","review_comments_url":"https://api.github.com/repos/joomla/coding-standards/pulls/101/comments","review_comment_url":"https://api.github.com/repos/joomla/coding-standards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/joomla/coding-standards/issues/101/comments","statuses_url":"https://api.github.com/repos/joomla/coding-standards/statuses/d23eca5e3e1b1a8b40f594191e41863e17521493","head":{"label":"photodude:master","ref":"master","sha":"d23eca5e3e1b1a8b40f594191e41863e17521493","user":{"login":"photodude","id":10253980,"avatar_url":"https://avatars.githubusercontent.com/u/10253980?v=3","gravatar_id":"","url":"https://api.github.com/users/photodude","html_url":"https://github.com/photodude","followers_url":"https://api.github.com/users/photodude/followers","following_url":"https://api.github.com/users/photodude/following{/other_user}","gists_url":"https://api.github.com/users/photodude/gists{/gist_id}","starred_url":"https://api.github.com/users/photodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photodude/subscriptions","organizations_url":"https://api.github.com/users/photodude/orgs","repos_url":"https://api.github.com/users/photodude/repos","events_url":"https://api.github.com/users/photodude/events{/privacy}","received_events_url":"https://api.github.com/users/photodude/received_events","type":"User","site_admin":false},"repo":{"id":33546668,"name":"coding-standards","full_name":"photodude/coding-standards","owner":{"login":"photodude","id":10253980,"avatar_url":"https://avatars.githubusercontent.com/u/10253980?v=3","gravatar_id":"","url":"https://api.github.com/users/photodude","html_url":"https://github.com/photodude","followers_url":"https://api.github.com/users/photodude/followers","following_url":"https://api.github.com/users/photodude/following{/other_user}","gists_url":"https://api.github.com/users/photodude/gists{/gist_id}","starred_url":"https://api.github.com/users/photodude/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/photodude/subscriptions","organizations_url":"https://api.github.com/users/photodude/orgs","repos_url":"https://api.github.com/users/photodude/repos","events_url":"https://api.github.com/users/photodude/events{/privacy}","received_events_url":"https://api.github.com/users/photodude/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/photodude/coding-standards","description":"Joomla Coding Standards Definition","fork":true,"url":"https://api.github.com/repos/photodude/coding-standards","forks_url":"https://api.github.com/repos/photodude/coding-standards/forks","keys_url":"https://api.github.com/repos/photodude/coding-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/photodude/coding-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/photodude/coding-standards/teams","hooks_url":"https://api.github.com/repos/photodude/coding-standards/hooks","issue_events_url":"https://api.github.com/repos/photodude/coding-standards/issues/events{/number}","events_url":"https://api.github.com/repos/photodude/coding-standards/events","assignees_url":"https://api.github.com/repos/photodude/coding-standards/assignees{/user}","branches_url":"https://api.github.com/repos/photodude/coding-standards/branches{/branch}","tags_url":"https://api.github.com/repos/photodude/coding-standards/tags","blobs_url":"https://api.github.com/repos/photodude/coding-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/photodude/coding-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/photodude/coding-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/photodude/coding-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/photodude/coding-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/photodude/coding-standards/languages","stargazers_url":"https://api.github.com/repos/photodude/coding-standards/stargazers","contributors_url":"https://api.github.com/repos/photodude/coding-standards/contributors","subscribers_url":"https://api.github.com/repos/photodude/coding-standards/subscribers","subscription_url":"https://api.github.com/repos/photodude/coding-standards/subscription","commits_url":"https://api.github.com/repos/photodude/coding-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/photodude/coding-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/photodude/coding-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/photodude/coding-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/photodude/coding-standards/contents/{+path}","compare_url":"https://api.github.com/repos/photodude/coding-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/photodude/coding-standards/merges","archive_url":"https://api.github.com/repos/photodude/coding-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/photodude/coding-standards/downloads","issues_url":"https://api.github.com/repos/photodude/coding-standards/issues{/number}","pulls_url":"https://api.github.com/repos/photodude/coding-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/photodude/coding-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/photodude/coding-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/photodude/coding-standards/labels{/name}","releases_url":"https://api.github.com/repos/photodude/coding-standards/releases{/id}","created_at":"2015-04-07T14:02:32Z","updated_at":"2015-04-09T16:07:57Z","pushed_at":"2015-04-09T16:07:56Z","git_url":"git://github.com/photodude/coding-standards.git","ssh_url":"git@github.com:photodude/coding-standards.git","clone_url":"https://github.com/photodude/coding-standards.git","svn_url":"https://github.com/photodude/coding-standards","homepage":"http://joomla.github.io/coding-standards/","size":1575,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"joomla:phpcs-2","ref":"phpcs-2","sha":"d78aa2fb39a454fd6a80e021b87b573768f7bac9","user":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"repo":{"id":4317543,"name":"coding-standards","full_name":"joomla/coding-standards","owner":{"login":"joomla","id":751633,"avatar_url":"https://avatars.githubusercontent.com/u/751633?v=3","gravatar_id":"","url":"https://api.github.com/users/joomla","html_url":"https://github.com/joomla","followers_url":"https://api.github.com/users/joomla/followers","following_url":"https://api.github.com/users/joomla/following{/other_user}","gists_url":"https://api.github.com/users/joomla/gists{/gist_id}","starred_url":"https://api.github.com/users/joomla/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/joomla/subscriptions","organizations_url":"https://api.github.com/users/joomla/orgs","repos_url":"https://api.github.com/users/joomla/repos","events_url":"https://api.github.com/users/joomla/events{/privacy}","received_events_url":"https://api.github.com/users/joomla/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/joomla/coding-standards","description":"Joomla Coding Standards Definition","fork":false,"url":"https://api.github.com/repos/joomla/coding-standards","forks_url":"https://api.github.com/repos/joomla/coding-standards/forks","keys_url":"https://api.github.com/repos/joomla/coding-standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/joomla/coding-standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/joomla/coding-standards/teams","hooks_url":"https://api.github.com/repos/joomla/coding-standards/hooks","issue_events_url":"https://api.github.com/repos/joomla/coding-standards/issues/events{/number}","events_url":"https://api.github.com/repos/joomla/coding-standards/events","assignees_url":"https://api.github.com/repos/joomla/coding-standards/assignees{/user}","branches_url":"https://api.github.com/repos/joomla/coding-standards/branches{/branch}","tags_url":"https://api.github.com/repos/joomla/coding-standards/tags","blobs_url":"https://api.github.com/repos/joomla/coding-standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/joomla/coding-standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/joomla/coding-standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/joomla/coding-standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/joomla/coding-standards/statuses/{sha}","languages_url":"https://api.github.com/repos/joomla/coding-standards/languages","stargazers_url":"https://api.github.com/repos/joomla/coding-standards/stargazers","contributors_url":"https://api.github.com/repos/joomla/coding-standards/contributors","subscribers_url":"https://api.github.com/repos/joomla/coding-standards/subscribers","subscription_url":"https://api.github.com/repos/joomla/coding-standards/subscription","commits_url":"https://api.github.com/repos/joomla/coding-standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/joomla/coding-standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/joomla/coding-standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/joomla/coding-standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/joomla/coding-standards/contents/{+path}","compare_url":"https://api.github.com/repos/joomla/coding-standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/joomla/coding-standards/merges","archive_url":"https://api.github.com/repos/joomla/coding-standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/joomla/coding-standards/downloads","issues_url":"https://api.github.com/repos/joomla/coding-standards/issues{/number}","pulls_url":"https://api.github.com/repos/joomla/coding-standards/pulls{/number}","milestones_url":"https://api.github.com/repos/joomla/coding-standards/milestones{/number}","notifications_url":"https://api.github.com/repos/joomla/coding-standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/joomla/coding-standards/labels{/name}","releases_url":"https://api.github.com/repos/joomla/coding-standards/releases{/id}","created_at":"2012-05-13T20:59:51Z","updated_at":"2015-04-07T14:48:41Z","pushed_at":"2015-04-09T16:07:57Z","git_url":"git://github.com/joomla/coding-standards.git","ssh_url":"git@github.com:joomla/coding-standards.git","clone_url":"https://github.com/joomla/coding-standards.git","svn_url":"https://github.com/joomla/coding-standards","homepage":"http://joomla.github.io/coding-standards/","size":2009,"stargazers_count":73,"watchers_count":73,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":88,"mirror_url":null,"open_issues_count":35,"forks":88,"open_issues":35,"watchers":73,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/101"},"html":{"href":"https://github.com/joomla/coding-standards/pull/101"},"issue":{"href":"https://api.github.com/repos/joomla/coding-standards/issues/101"},"comments":{"href":"https://api.github.com/repos/joomla/coding-standards/issues/101/comments"},"review_comments":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/101/comments"},"review_comment":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/joomla/coding-standards/pulls/101/commits"},"statuses":{"href":"https://api.github.com/repos/joomla/coding-standards/statuses/d23eca5e3e1b1a8b40f594191e41863e17521493"}}}}