{"action":"created","comment":{"url":"https://api.github.com/repos/php-censor/php-censor/pulls/comments/156915856","pull_request_review_id":83469304,"id":156915856,"diff_hunk":"@@ -9,191 +9,244 @@\n use PHPCensor\\ZeroConfigPluginInterface;\n \n /**\n- * Technical Debt Plugin - Checks for existence of \"TODO\", \"FIXME\", etc.\n- *\n- * @author James Inman <james@jamesinman.co.uk>\n- */\n+* Technical Debt Plugin - Checks for existence of \"TODO\", \"FIXME\", etc.\n+*\n+* @author James Inman <james@jamesinman.co.uk>\n+*/\n class TechnicalDebt extends Plugin implements ZeroConfigPluginInterface\n {\n-    /**\n-     * @var array\n-     */\n-    protected $suffixes;\n-\n-    /**\n-     * @var string\n-     */\n-    protected $directory;\n-\n-    /**\n-     * @var int\n-     */\n-    protected $allowed_errors;\n-\n-    /**\n-     * @var array - paths to ignore\n-     */\n-    protected $ignore;\n-\n-    /**\n-     * @var array - terms to search for\n-     */\n-    protected $searches;\n-\n-    /**\n-     * @return string\n-     */\n-    public static function pluginName()\n-    {\n-        return 'technical_debt';\n+  /**\n+  * @var array\n+  */\n+  protected $suffixes;\n+\n+  /**\n+  * @var string\n+  */\n+  protected $directory;\n+\n+  /**\n+  * @var int\n+  */\n+  protected $allowed_errors;\n+\n+  /**\n+  * @var array - paths to ignore\n+  */\n+  protected $ignore;\n+\n+  /**\n+  * @var array - terms to search for\n+  */","path":"src/PHPCensor/Plugin/TechnicalDebt.php","position":67,"original_position":67,"commit_id":"c092918a81ce062b5e222547f1ed9395ef6996ec","original_commit_id":"c092918a81ce062b5e222547f1ed9395ef6996ec","user":{"login":"php-censor-bot","id":34411061,"avatar_url":"https://avatars0.githubusercontent.com/u/34411061?v=4","gravatar_id":"","url":"https://api.github.com/users/php-censor-bot","html_url":"https://github.com/php-censor-bot","followers_url":"https://api.github.com/users/php-censor-bot/followers","following_url":"https://api.github.com/users/php-censor-bot/following{/other_user}","gists_url":"https://api.github.com/users/php-censor-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/php-censor-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-censor-bot/subscriptions","organizations_url":"https://api.github.com/users/php-censor-bot/orgs","repos_url":"https://api.github.com/users/php-censor-bot/repos","events_url":"https://api.github.com/users/php-censor-bot/events{/privacy}","received_events_url":"https://api.github.com/users/php-censor-bot/received_events","type":"User","site_admin":false},"body":"PHPCS: Line indented incorrectly; expected 4 spaces, found 2","created_at":"2017-12-14T11:13:39Z","updated_at":"2017-12-14T11:13:39Z","html_url":"https://github.com/php-censor/php-censor/pull/141#discussion_r156915856","pull_request_url":"https://api.github.com/repos/php-censor/php-censor/pulls/141","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/comments/156915856"},"html":{"href":"https://github.com/php-censor/php-censor/pull/141#discussion_r156915856"},"pull_request":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/141"}}},"pull_request":{"url":"https://api.github.com/repos/php-censor/php-censor/pulls/141","id":158328926,"html_url":"https://github.com/php-censor/php-censor/pull/141","diff_url":"https://github.com/php-censor/php-censor/pull/141.diff","patch_url":"https://github.com/php-censor/php-censor/pull/141.patch","issue_url":"https://api.github.com/repos/php-censor/php-censor/issues/141","number":141,"state":"open","locked":false,"title":"Feature technical debt fix","user":{"login":"vinpel","id":1699839,"avatar_url":"https://avatars0.githubusercontent.com/u/1699839?v=4","gravatar_id":"","url":"https://api.github.com/users/vinpel","html_url":"https://github.com/vinpel","followers_url":"https://api.github.com/users/vinpel/followers","following_url":"https://api.github.com/users/vinpel/following{/other_user}","gists_url":"https://api.github.com/users/vinpel/gists{/gist_id}","starred_url":"https://api.github.com/users/vinpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinpel/subscriptions","organizations_url":"https://api.github.com/users/vinpel/orgs","repos_url":"https://api.github.com/users/vinpel/repos","events_url":"https://api.github.com/users/vinpel/events{/privacy}","received_events_url":"https://api.github.com/users/vinpel/received_events","type":"User","site_admin":false},"body":"## Contribution type\r\n\r\n * Bug fix\r\n * Feature\r\n\r\n## Description of change\r\n * Correctly ignore only relative dir from the start of the path (if you ignored \"runtime\" all file where ignored)\r\n * add visual representation of checked file \r\n\r\n\r\n*Detailed description of change.*\r\n![image](https://user-images.githubusercontent.com/1699839/33989395-a4bb320e-e0c7-11e7-9241-3599f24f8c7a.png)\r\n\r\n","created_at":"2017-12-14T11:10:01Z","updated_at":"2017-12-14T11:13:39Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7bb25ebaed1ee349bf233c3e43b76920d81990f4","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/php-censor/php-censor/pulls/141/commits","review_comments_url":"https://api.github.com/repos/php-censor/php-censor/pulls/141/comments","review_comment_url":"https://api.github.com/repos/php-censor/php-censor/pulls/comments{/number}","comments_url":"https://api.github.com/repos/php-censor/php-censor/issues/141/comments","statuses_url":"https://api.github.com/repos/php-censor/php-censor/statuses/c092918a81ce062b5e222547f1ed9395ef6996ec","head":{"label":"vinpel:feature-technical-debt-fix","ref":"feature-technical-debt-fix","sha":"c092918a81ce062b5e222547f1ed9395ef6996ec","user":{"login":"vinpel","id":1699839,"avatar_url":"https://avatars0.githubusercontent.com/u/1699839?v=4","gravatar_id":"","url":"https://api.github.com/users/vinpel","html_url":"https://github.com/vinpel","followers_url":"https://api.github.com/users/vinpel/followers","following_url":"https://api.github.com/users/vinpel/following{/other_user}","gists_url":"https://api.github.com/users/vinpel/gists{/gist_id}","starred_url":"https://api.github.com/users/vinpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinpel/subscriptions","organizations_url":"https://api.github.com/users/vinpel/orgs","repos_url":"https://api.github.com/users/vinpel/repos","events_url":"https://api.github.com/users/vinpel/events{/privacy}","received_events_url":"https://api.github.com/users/vinpel/received_events","type":"User","site_admin":false},"repo":{"id":81011681,"name":"php-censor","full_name":"vinpel/php-censor","owner":{"login":"vinpel","id":1699839,"avatar_url":"https://avatars0.githubusercontent.com/u/1699839?v=4","gravatar_id":"","url":"https://api.github.com/users/vinpel","html_url":"https://github.com/vinpel","followers_url":"https://api.github.com/users/vinpel/followers","following_url":"https://api.github.com/users/vinpel/following{/other_user}","gists_url":"https://api.github.com/users/vinpel/gists{/gist_id}","starred_url":"https://api.github.com/users/vinpel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/vinpel/subscriptions","organizations_url":"https://api.github.com/users/vinpel/orgs","repos_url":"https://api.github.com/users/vinpel/repos","events_url":"https://api.github.com/users/vinpel/events{/privacy}","received_events_url":"https://api.github.com/users/vinpel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/vinpel/php-censor","description":"PHP Censor is a open source self-hosted continuous integration server for PHP projects (Fork of PHPCI)","fork":true,"url":"https://api.github.com/repos/vinpel/php-censor","forks_url":"https://api.github.com/repos/vinpel/php-censor/forks","keys_url":"https://api.github.com/repos/vinpel/php-censor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/vinpel/php-censor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/vinpel/php-censor/teams","hooks_url":"https://api.github.com/repos/vinpel/php-censor/hooks","issue_events_url":"https://api.github.com/repos/vinpel/php-censor/issues/events{/number}","events_url":"https://api.github.com/repos/vinpel/php-censor/events","assignees_url":"https://api.github.com/repos/vinpel/php-censor/assignees{/user}","branches_url":"https://api.github.com/repos/vinpel/php-censor/branches{/branch}","tags_url":"https://api.github.com/repos/vinpel/php-censor/tags","blobs_url":"https://api.github.com/repos/vinpel/php-censor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/vinpel/php-censor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/vinpel/php-censor/git/refs{/sha}","trees_url":"https://api.github.com/repos/vinpel/php-censor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/vinpel/php-censor/statuses/{sha}","languages_url":"https://api.github.com/repos/vinpel/php-censor/languages","stargazers_url":"https://api.github.com/repos/vinpel/php-censor/stargazers","contributors_url":"https://api.github.com/repos/vinpel/php-censor/contributors","subscribers_url":"https://api.github.com/repos/vinpel/php-censor/subscribers","subscription_url":"https://api.github.com/repos/vinpel/php-censor/subscription","commits_url":"https://api.github.com/repos/vinpel/php-censor/commits{/sha}","git_commits_url":"https://api.github.com/repos/vinpel/php-censor/git/commits{/sha}","comments_url":"https://api.github.com/repos/vinpel/php-censor/comments{/number}","issue_comment_url":"https://api.github.com/repos/vinpel/php-censor/issues/comments{/number}","contents_url":"https://api.github.com/repos/vinpel/php-censor/contents/{+path}","compare_url":"https://api.github.com/repos/vinpel/php-censor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/vinpel/php-censor/merges","archive_url":"https://api.github.com/repos/vinpel/php-censor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/vinpel/php-censor/downloads","issues_url":"https://api.github.com/repos/vinpel/php-censor/issues{/number}","pulls_url":"https://api.github.com/repos/vinpel/php-censor/pulls{/number}","milestones_url":"https://api.github.com/repos/vinpel/php-censor/milestones{/number}","notifications_url":"https://api.github.com/repos/vinpel/php-censor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/vinpel/php-censor/labels{/name}","releases_url":"https://api.github.com/repos/vinpel/php-censor/releases{/id}","deployments_url":"https://api.github.com/repos/vinpel/php-censor/deployments","created_at":"2017-02-05T18:14:37Z","updated_at":"2017-02-05T18:14:39Z","pushed_at":"2017-12-14T11:12:24Z","git_url":"git://github.com/vinpel/php-censor.git","ssh_url":"git@github.com:vinpel/php-censor.git","clone_url":"https://github.com/vinpel/php-censor.git","svn_url":"https://github.com/vinpel/php-censor","homepage":"","size":10876,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"php-censor:feature-technical-debt-fix","ref":"feature-technical-debt-fix","sha":"698d786936ae4d33d95abaf40a252ee9933b76f6","user":{"login":"php-censor","id":31279111,"avatar_url":"https://avatars2.githubusercontent.com/u/31279111?v=4","gravatar_id":"","url":"https://api.github.com/users/php-censor","html_url":"https://github.com/php-censor","followers_url":"https://api.github.com/users/php-censor/followers","following_url":"https://api.github.com/users/php-censor/following{/other_user}","gists_url":"https://api.github.com/users/php-censor/gists{/gist_id}","starred_url":"https://api.github.com/users/php-censor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-censor/subscriptions","organizations_url":"https://api.github.com/users/php-censor/orgs","repos_url":"https://api.github.com/users/php-censor/repos","events_url":"https://api.github.com/users/php-censor/events{/privacy}","received_events_url":"https://api.github.com/users/php-censor/received_events","type":"Organization","site_admin":false},"repo":{"id":78023529,"name":"php-censor","full_name":"php-censor/php-censor","owner":{"login":"php-censor","id":31279111,"avatar_url":"https://avatars2.githubusercontent.com/u/31279111?v=4","gravatar_id":"","url":"https://api.github.com/users/php-censor","html_url":"https://github.com/php-censor","followers_url":"https://api.github.com/users/php-censor/followers","following_url":"https://api.github.com/users/php-censor/following{/other_user}","gists_url":"https://api.github.com/users/php-censor/gists{/gist_id}","starred_url":"https://api.github.com/users/php-censor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/php-censor/subscriptions","organizations_url":"https://api.github.com/users/php-censor/orgs","repos_url":"https://api.github.com/users/php-censor/repos","events_url":"https://api.github.com/users/php-censor/events{/privacy}","received_events_url":"https://api.github.com/users/php-censor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/php-censor/php-censor","description":"PHP Censor is an open source self-hosted continuous integration server for PHP projects.","fork":false,"url":"https://api.github.com/repos/php-censor/php-censor","forks_url":"https://api.github.com/repos/php-censor/php-censor/forks","keys_url":"https://api.github.com/repos/php-censor/php-censor/keys{/key_id}","collaborators_url":"https://api.github.com/repos/php-censor/php-censor/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/php-censor/php-censor/teams","hooks_url":"https://api.github.com/repos/php-censor/php-censor/hooks","issue_events_url":"https://api.github.com/repos/php-censor/php-censor/issues/events{/number}","events_url":"https://api.github.com/repos/php-censor/php-censor/events","assignees_url":"https://api.github.com/repos/php-censor/php-censor/assignees{/user}","branches_url":"https://api.github.com/repos/php-censor/php-censor/branches{/branch}","tags_url":"https://api.github.com/repos/php-censor/php-censor/tags","blobs_url":"https://api.github.com/repos/php-censor/php-censor/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/php-censor/php-censor/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/php-censor/php-censor/git/refs{/sha}","trees_url":"https://api.github.com/repos/php-censor/php-censor/git/trees{/sha}","statuses_url":"https://api.github.com/repos/php-censor/php-censor/statuses/{sha}","languages_url":"https://api.github.com/repos/php-censor/php-censor/languages","stargazers_url":"https://api.github.com/repos/php-censor/php-censor/stargazers","contributors_url":"https://api.github.com/repos/php-censor/php-censor/contributors","subscribers_url":"https://api.github.com/repos/php-censor/php-censor/subscribers","subscription_url":"https://api.github.com/repos/php-censor/php-censor/subscription","commits_url":"https://api.github.com/repos/php-censor/php-censor/commits{/sha}","git_commits_url":"https://api.github.com/repos/php-censor/php-censor/git/commits{/sha}","comments_url":"https://api.github.com/repos/php-censor/php-censor/comments{/number}","issue_comment_url":"https://api.github.com/repos/php-censor/php-censor/issues/comments{/number}","contents_url":"https://api.github.com/repos/php-censor/php-censor/contents/{+path}","compare_url":"https://api.github.com/repos/php-censor/php-censor/compare/{base}...{head}","merges_url":"https://api.github.com/repos/php-censor/php-censor/merges","archive_url":"https://api.github.com/repos/php-censor/php-censor/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/php-censor/php-censor/downloads","issues_url":"https://api.github.com/repos/php-censor/php-censor/issues{/number}","pulls_url":"https://api.github.com/repos/php-censor/php-censor/pulls{/number}","milestones_url":"https://api.github.com/repos/php-censor/php-censor/milestones{/number}","notifications_url":"https://api.github.com/repos/php-censor/php-censor/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/php-censor/php-censor/labels{/name}","releases_url":"https://api.github.com/repos/php-censor/php-censor/releases{/id}","deployments_url":"https://api.github.com/repos/php-censor/php-censor/deployments","created_at":"2017-01-04T14:39:00Z","updated_at":"2017-12-10T02:00:32Z","pushed_at":"2017-12-14T11:12:25Z","git_url":"git://github.com/php-censor/php-censor.git","ssh_url":"git@github.com:php-censor/php-censor.git","clone_url":"https://github.com/php-censor/php-censor.git","svn_url":"https://github.com/php-censor/php-censor","homepage":"http://php-censor.info","size":10936,"stargazers_count":254,"watchers_count":254,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":27,"mirror_url":null,"archived":false,"open_issues_count":28,"license":{"key":"bsd-2-clause","name":"BSD 2-clause \"Simplified\" License","spdx_id":"BSD-2-Clause","url":"https://api.github.com/licenses/bsd-2-clause"},"forks":27,"open_issues":28,"watchers":254,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/141"},"html":{"href":"https://github.com/php-censor/php-censor/pull/141"},"issue":{"href":"https://api.github.com/repos/php-censor/php-censor/issues/141"},"comments":{"href":"https://api.github.com/repos/php-censor/php-censor/issues/141/comments"},"review_comments":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/141/comments"},"review_comment":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/php-censor/php-censor/pulls/141/commits"},"statuses":{"href":"https://api.github.com/repos/php-censor/php-censor/statuses/c092918a81ce062b5e222547f1ed9395ef6996ec"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"php-censor-bot"}}