{"action":"created","comment":{"url":"https://api.github.com/repos/opencats/OpenCATS/pulls/comments/101898326","pull_request_review_id":22642630,"id":101898326,"diff_hunk":"@@ -412,7 +473,7 @@ private function listByView($errMessage = '')\n     /*\r\n      * Called by handleRequest() to process loading the details page.\r\n      */\r\n-    private function show()\r\n+    private function show($duplicate = 0)\r","path":"modules/candidates/CandidatesUI.php","position":89,"original_position":89,"commit_id":"058d5bb7436c4e8fb7cda138375bb6a0413613c7","original_commit_id":"058d5bb7436c4e8fb7cda138375bb6a0413613c7","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [show accesses the super-global variable $_GET.](https://www.codacy.com/app/OpenCATS/OpenCATS/pullRequest?prid=434608)","created_at":"2017-02-18T17:53:09Z","updated_at":"2017-02-18T17:53:09Z","html_url":"https://github.com/opencats/OpenCATS/pull/168#discussion_r101898326","pull_request_url":"https://api.github.com/repos/opencats/OpenCATS/pulls/168","_links":{"self":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/comments/101898326"},"html":{"href":"https://github.com/opencats/OpenCATS/pull/168#discussion_r101898326"},"pull_request":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/168"}}},"pull_request":{"url":"https://api.github.com/repos/opencats/OpenCATS/pulls/168","id":95749870,"html_url":"https://github.com/opencats/OpenCATS/pull/168","diff_url":"https://github.com/opencats/OpenCATS/pull/168.diff","patch_url":"https://github.com/opencats/OpenCATS/pull/168.patch","issue_url":"https://api.github.com/repos/opencats/OpenCATS/issues/168","number":168,"state":"open","locked":false,"title":"Handling of duplicate candidates","user":{"login":"skrchnavy","id":7057580,"avatar_url":"https://avatars.githubusercontent.com/u/7057580?v=3","gravatar_id":"","url":"https://api.github.com/users/skrchnavy","html_url":"https://github.com/skrchnavy","followers_url":"https://api.github.com/users/skrchnavy/followers","following_url":"https://api.github.com/users/skrchnavy/following{/other_user}","gists_url":"https://api.github.com/users/skrchnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/skrchnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrchnavy/subscriptions","organizations_url":"https://api.github.com/users/skrchnavy/orgs","repos_url":"https://api.github.com/users/skrchnavy/repos","events_url":"https://api.github.com/users/skrchnavy/events{/privacy}","received_events_url":"https://api.github.com/users/skrchnavy/received_events","type":"User","site_admin":false},"body":"New module for handling of duplicate candidates added and integrated into other modules (candidates).\r\nWorkflow:\r\n- When candidate added, duplicity is checked and link between candidates is created\r\n  - Multiple candidates can be marked as duplicates\r\n- Linked candidates are visible in candidates (for user with proper access level)\r\n- Duplicates module is used to manage duplicates\r\n  - merge duplicates\r\n  - remove link between duplicates\r\n\r\n","created_at":"2016-11-29T18:36:58Z","updated_at":"2017-02-18T17:53:09Z","closed_at":null,"merged_at":null,"merge_commit_sha":"56877713f70252339c8265a9f3e228734d2b5444","assignee":{"login":"skrchnavy","id":7057580,"avatar_url":"https://avatars.githubusercontent.com/u/7057580?v=3","gravatar_id":"","url":"https://api.github.com/users/skrchnavy","html_url":"https://github.com/skrchnavy","followers_url":"https://api.github.com/users/skrchnavy/followers","following_url":"https://api.github.com/users/skrchnavy/following{/other_user}","gists_url":"https://api.github.com/users/skrchnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/skrchnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrchnavy/subscriptions","organizations_url":"https://api.github.com/users/skrchnavy/orgs","repos_url":"https://api.github.com/users/skrchnavy/repos","events_url":"https://api.github.com/users/skrchnavy/events{/privacy}","received_events_url":"https://api.github.com/users/skrchnavy/received_events","type":"User","site_admin":false},"assignees":[{"login":"skrchnavy","id":7057580,"avatar_url":"https://avatars.githubusercontent.com/u/7057580?v=3","gravatar_id":"","url":"https://api.github.com/users/skrchnavy","html_url":"https://github.com/skrchnavy","followers_url":"https://api.github.com/users/skrchnavy/followers","following_url":"https://api.github.com/users/skrchnavy/following{/other_user}","gists_url":"https://api.github.com/users/skrchnavy/gists{/gist_id}","starred_url":"https://api.github.com/users/skrchnavy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/skrchnavy/subscriptions","organizations_url":"https://api.github.com/users/skrchnavy/orgs","repos_url":"https://api.github.com/users/skrchnavy/repos","events_url":"https://api.github.com/users/skrchnavy/events{/privacy}","received_events_url":"https://api.github.com/users/skrchnavy/received_events","type":"User","site_admin":false}],"milestone":{"url":"https://api.github.com/repos/opencats/OpenCATS/milestones/3","html_url":"https://github.com/opencats/OpenCATS/milestone/3","labels_url":"https://api.github.com/repos/opencats/OpenCATS/milestones/3/labels","id":1290480,"number":3,"title":"Future","description":null,"creator":{"login":"RussH","id":282748,"avatar_url":"https://avatars.githubusercontent.com/u/282748?v=3","gravatar_id":"","url":"https://api.github.com/users/RussH","html_url":"https://github.com/RussH","followers_url":"https://api.github.com/users/RussH/followers","following_url":"https://api.github.com/users/RussH/following{/other_user}","gists_url":"https://api.github.com/users/RussH/gists{/gist_id}","starred_url":"https://api.github.com/users/RussH/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RussH/subscriptions","organizations_url":"https://api.github.com/users/RussH/orgs","repos_url":"https://api.github.com/users/RussH/repos","events_url":"https://api.github.com/users/RussH/events{/privacy}","received_events_url":"https://api.github.com/users/RussH/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-09-04T14:10:12Z","updated_at":"2017-01-30T20:49:02Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/opencats/OpenCATS/pulls/168/commits","review_comments_url":"https://api.github.com/repos/opencats/OpenCATS/pulls/168/comments","review_comment_url":"https://api.github.com/repos/opencats/OpenCATS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/opencats/OpenCATS/issues/168/comments","statuses_url":"https://api.github.com/repos/opencats/OpenCATS/statuses/058d5bb7436c4e8fb7cda138375bb6a0413613c7","head":{"label":"AnritsuSolutionsSK:candidate_duplicates","ref":"candidate_duplicates","sha":"058d5bb7436c4e8fb7cda138375bb6a0413613c7","user":{"login":"AnritsuSolutionsSK","id":20061890,"avatar_url":"https://avatars.githubusercontent.com/u/20061890?v=3","gravatar_id":"","url":"https://api.github.com/users/AnritsuSolutionsSK","html_url":"https://github.com/AnritsuSolutionsSK","followers_url":"https://api.github.com/users/AnritsuSolutionsSK/followers","following_url":"https://api.github.com/users/AnritsuSolutionsSK/following{/other_user}","gists_url":"https://api.github.com/users/AnritsuSolutionsSK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnritsuSolutionsSK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnritsuSolutionsSK/subscriptions","organizations_url":"https://api.github.com/users/AnritsuSolutionsSK/orgs","repos_url":"https://api.github.com/users/AnritsuSolutionsSK/repos","events_url":"https://api.github.com/users/AnritsuSolutionsSK/events{/privacy}","received_events_url":"https://api.github.com/users/AnritsuSolutionsSK/received_events","type":"Organization","site_admin":false},"repo":{"id":61615232,"name":"OpenCATS","full_name":"AnritsuSolutionsSK/OpenCATS","owner":{"login":"AnritsuSolutionsSK","id":20061890,"avatar_url":"https://avatars.githubusercontent.com/u/20061890?v=3","gravatar_id":"","url":"https://api.github.com/users/AnritsuSolutionsSK","html_url":"https://github.com/AnritsuSolutionsSK","followers_url":"https://api.github.com/users/AnritsuSolutionsSK/followers","following_url":"https://api.github.com/users/AnritsuSolutionsSK/following{/other_user}","gists_url":"https://api.github.com/users/AnritsuSolutionsSK/gists{/gist_id}","starred_url":"https://api.github.com/users/AnritsuSolutionsSK/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AnritsuSolutionsSK/subscriptions","organizations_url":"https://api.github.com/users/AnritsuSolutionsSK/orgs","repos_url":"https://api.github.com/users/AnritsuSolutionsSK/repos","events_url":"https://api.github.com/users/AnritsuSolutionsSK/events{/privacy}","received_events_url":"https://api.github.com/users/AnritsuSolutionsSK/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AnritsuSolutionsSK/OpenCATS","description":"Fork of OpenCATS repository (https://github.com/opencats/OpenCATS)","fork":true,"url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS","forks_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/forks","keys_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/teams","hooks_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/hooks","issue_events_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/issues/events{/number}","events_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/events","assignees_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/assignees{/user}","branches_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/branches{/branch}","tags_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/tags","blobs_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/git/refs{/sha}","trees_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/statuses/{sha}","languages_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/languages","stargazers_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/stargazers","contributors_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/contributors","subscribers_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/subscribers","subscription_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/subscription","commits_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/commits{/sha}","git_commits_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/git/commits{/sha}","comments_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/comments{/number}","issue_comment_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/issues/comments{/number}","contents_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/contents/{+path}","compare_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/merges","archive_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/downloads","issues_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/issues{/number}","pulls_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/pulls{/number}","milestones_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/milestones{/number}","notifications_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/labels{/name}","releases_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/releases{/id}","deployments_url":"https://api.github.com/repos/AnritsuSolutionsSK/OpenCATS/deployments","created_at":"2016-06-21T08:12:27Z","updated_at":"2016-11-14T16:07:23Z","pushed_at":"2017-02-17T16:48:05Z","git_url":"git://github.com/AnritsuSolutionsSK/OpenCATS.git","ssh_url":"git@github.com:AnritsuSolutionsSK/OpenCATS.git","clone_url":"https://github.com/AnritsuSolutionsSK/OpenCATS.git","svn_url":"https://github.com/AnritsuSolutionsSK/OpenCATS","homepage":"http://www.opencats.org","size":18443,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"opencats:master","ref":"master","sha":"e3b52c8b1f3171a969ebe21257fb13cdaa84b29f","user":{"login":"opencats","id":106173,"avatar_url":"https://avatars.githubusercontent.com/u/106173?v=3","gravatar_id":"","url":"https://api.github.com/users/opencats","html_url":"https://github.com/opencats","followers_url":"https://api.github.com/users/opencats/followers","following_url":"https://api.github.com/users/opencats/following{/other_user}","gists_url":"https://api.github.com/users/opencats/gists{/gist_id}","starred_url":"https://api.github.com/users/opencats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencats/subscriptions","organizations_url":"https://api.github.com/users/opencats/orgs","repos_url":"https://api.github.com/users/opencats/repos","events_url":"https://api.github.com/users/opencats/events{/privacy}","received_events_url":"https://api.github.com/users/opencats/received_events","type":"Organization","site_admin":false},"repo":{"id":254005,"name":"OpenCATS","full_name":"opencats/OpenCATS","owner":{"login":"opencats","id":106173,"avatar_url":"https://avatars.githubusercontent.com/u/106173?v=3","gravatar_id":"","url":"https://api.github.com/users/opencats","html_url":"https://github.com/opencats","followers_url":"https://api.github.com/users/opencats/followers","following_url":"https://api.github.com/users/opencats/following{/other_user}","gists_url":"https://api.github.com/users/opencats/gists{/gist_id}","starred_url":"https://api.github.com/users/opencats/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/opencats/subscriptions","organizations_url":"https://api.github.com/users/opencats/orgs","repos_url":"https://api.github.com/users/opencats/repos","events_url":"https://api.github.com/users/opencats/events{/privacy}","received_events_url":"https://api.github.com/users/opencats/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/opencats/OpenCATS","description":"Actively Developed and Maintained Code Base","fork":false,"url":"https://api.github.com/repos/opencats/OpenCATS","forks_url":"https://api.github.com/repos/opencats/OpenCATS/forks","keys_url":"https://api.github.com/repos/opencats/OpenCATS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/opencats/OpenCATS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/opencats/OpenCATS/teams","hooks_url":"https://api.github.com/repos/opencats/OpenCATS/hooks","issue_events_url":"https://api.github.com/repos/opencats/OpenCATS/issues/events{/number}","events_url":"https://api.github.com/repos/opencats/OpenCATS/events","assignees_url":"https://api.github.com/repos/opencats/OpenCATS/assignees{/user}","branches_url":"https://api.github.com/repos/opencats/OpenCATS/branches{/branch}","tags_url":"https://api.github.com/repos/opencats/OpenCATS/tags","blobs_url":"https://api.github.com/repos/opencats/OpenCATS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/opencats/OpenCATS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/opencats/OpenCATS/git/refs{/sha}","trees_url":"https://api.github.com/repos/opencats/OpenCATS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/opencats/OpenCATS/statuses/{sha}","languages_url":"https://api.github.com/repos/opencats/OpenCATS/languages","stargazers_url":"https://api.github.com/repos/opencats/OpenCATS/stargazers","contributors_url":"https://api.github.com/repos/opencats/OpenCATS/contributors","subscribers_url":"https://api.github.com/repos/opencats/OpenCATS/subscribers","subscription_url":"https://api.github.com/repos/opencats/OpenCATS/subscription","commits_url":"https://api.github.com/repos/opencats/OpenCATS/commits{/sha}","git_commits_url":"https://api.github.com/repos/opencats/OpenCATS/git/commits{/sha}","comments_url":"https://api.github.com/repos/opencats/OpenCATS/comments{/number}","issue_comment_url":"https://api.github.com/repos/opencats/OpenCATS/issues/comments{/number}","contents_url":"https://api.github.com/repos/opencats/OpenCATS/contents/{+path}","compare_url":"https://api.github.com/repos/opencats/OpenCATS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/opencats/OpenCATS/merges","archive_url":"https://api.github.com/repos/opencats/OpenCATS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/opencats/OpenCATS/downloads","issues_url":"https://api.github.com/repos/opencats/OpenCATS/issues{/number}","pulls_url":"https://api.github.com/repos/opencats/OpenCATS/pulls{/number}","milestones_url":"https://api.github.com/repos/opencats/OpenCATS/milestones{/number}","notifications_url":"https://api.github.com/repos/opencats/OpenCATS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/opencats/OpenCATS/labels{/name}","releases_url":"https://api.github.com/repos/opencats/OpenCATS/releases{/id}","deployments_url":"https://api.github.com/repos/opencats/OpenCATS/deployments","created_at":"2009-07-17T23:04:39Z","updated_at":"2017-02-14T05:17:56Z","pushed_at":"2017-02-17T16:39:16Z","git_url":"git://github.com/opencats/OpenCATS.git","ssh_url":"git@github.com:opencats/OpenCATS.git","clone_url":"https://github.com/opencats/OpenCATS.git","svn_url":"https://github.com/opencats/OpenCATS","homepage":"http://www.opencats.org","size":35232,"stargazers_count":66,"watchers_count":66,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":56,"mirror_url":null,"open_issues_count":55,"forks":56,"open_issues":55,"watchers":66,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/168"},"html":{"href":"https://github.com/opencats/OpenCATS/pull/168"},"issue":{"href":"https://api.github.com/repos/opencats/OpenCATS/issues/168"},"comments":{"href":"https://api.github.com/repos/opencats/OpenCATS/issues/168/comments"},"review_comments":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/168/comments"},"review_comment":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/opencats/OpenCATS/pulls/168/commits"},"statuses":{"href":"https://api.github.com/repos/opencats/OpenCATS/statuses/058d5bb7436c4e8fb7cda138375bb6a0413613c7"}}}}
{"actor":{"display_login":"codacy-bot"}}