{"action":"created","comment":{"url":"https://api.github.com/repos/Block8/PHPCI/pulls/comments/29844969","id":29844969,"diff_hunk":"@@ -26,12 +26,14 @@ class CopyBuild implements \\PHPCI\\Plugin\n     protected $wipe;\n     protected $phpci;\n     protected $build;\n+    protected $symlink;\n \n     /**\n      * Set up the plugin, configure options, etc.\n+     *\n      * @param Builder $phpci\n-     * @param Build $build\n-     * @param array $options\n+     * @param Build   $build\n+     * @param array   $options","path":"PHPCI/Plugin/CopyBuild.php","position":45,"original_position":45,"commit_id":"39a8d605935f8fd8d7bbfe127b05809565aa9c01","original_commit_id":"39a8d605935f8fd8d7bbfe127b05809565aa9c01","user":{"login":"phpcibot","id":11097145,"avatar_url":"https://avatars.githubusercontent.com/u/11097145?v=3","gravatar_id":"","url":"https://api.github.com/users/phpcibot","html_url":"https://github.com/phpcibot","followers_url":"https://api.github.com/users/phpcibot/followers","following_url":"https://api.github.com/users/phpcibot/following{/other_user}","gists_url":"https://api.github.com/users/phpcibot/gists{/gist_id}","starred_url":"https://api.github.com/users/phpcibot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpcibot/subscriptions","organizations_url":"https://api.github.com/users/phpcibot/orgs","repos_url":"https://api.github.com/users/phpcibot/repos","events_url":"https://api.github.com/users/phpcibot/events{/privacy}","received_events_url":"https://api.github.com/users/phpcibot/received_events","type":"User","site_admin":false},"body":"\n      The method __construct() has an NPath complexity of 625. The configured NPath complexity threshold is 200.\n    ","created_at":"2015-05-07T11:56:18Z","updated_at":"2015-05-07T11:56:18Z","html_url":"https://github.com/Block8/PHPCI/pull/966#discussion_r29844969","pull_request_url":"https://api.github.com/repos/Block8/PHPCI/pulls/966","_links":{"self":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/comments/29844969"},"html":{"href":"https://github.com/Block8/PHPCI/pull/966#discussion_r29844969"},"pull_request":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/966"}}},"pull_request":{"url":"https://api.github.com/repos/Block8/PHPCI/pulls/966","id":34906904,"html_url":"https://github.com/Block8/PHPCI/pull/966","diff_url":"https://github.com/Block8/PHPCI/pull/966.diff","patch_url":"https://github.com/Block8/PHPCI/pull/966.patch","issue_url":"https://api.github.com/repos/Block8/PHPCI/issues/966","number":966,"state":"open","locked":false,"title":"CopyBuild Plugin: fixed wipe feature and added 'symlink to current build copy' feature","user":{"login":"strietzel","id":4457245,"avatar_url":"https://avatars.githubusercontent.com/u/4457245?v=3","gravatar_id":"","url":"https://api.github.com/users/strietzel","html_url":"https://github.com/strietzel","followers_url":"https://api.github.com/users/strietzel/followers","following_url":"https://api.github.com/users/strietzel/following{/other_user}","gists_url":"https://api.github.com/users/strietzel/gists{/gist_id}","starred_url":"https://api.github.com/users/strietzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strietzel/subscriptions","organizations_url":"https://api.github.com/users/strietzel/orgs","repos_url":"https://api.github.com/users/strietzel/repos","events_url":"https://api.github.com/users/strietzel/events{/privacy}","received_events_url":"https://api.github.com/users/strietzel/received_events","type":"User","site_admin":false},"body":"- Fixed a bug in the wipe feature: the double quotes in the command prevented correct funktionality on several linux distributions.\r\n- Added new option \"symlink_to_current\" (absolute path) to optionally create a symlink to the current build copy. This is useful for setting up a webserver for acceptance testing. By pointing to the symlink the document root never changes from build to build, whereas the path (including build number) changes with every build.","created_at":"2015-05-07T11:40:04Z","updated_at":"2015-05-07T11:56:18Z","closed_at":null,"merged_at":null,"merge_commit_sha":"528ae922aeda078c8f1b54de80effc28c22982dd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Block8/PHPCI/pulls/966/commits","review_comments_url":"https://api.github.com/repos/Block8/PHPCI/pulls/966/comments","review_comment_url":"https://api.github.com/repos/Block8/PHPCI/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Block8/PHPCI/issues/966/comments","statuses_url":"https://api.github.com/repos/Block8/PHPCI/statuses/39a8d605935f8fd8d7bbfe127b05809565aa9c01","head":{"label":"strietzel:feature/copybuild-plugin","ref":"feature/copybuild-plugin","sha":"39a8d605935f8fd8d7bbfe127b05809565aa9c01","user":{"login":"strietzel","id":4457245,"avatar_url":"https://avatars.githubusercontent.com/u/4457245?v=3","gravatar_id":"","url":"https://api.github.com/users/strietzel","html_url":"https://github.com/strietzel","followers_url":"https://api.github.com/users/strietzel/followers","following_url":"https://api.github.com/users/strietzel/following{/other_user}","gists_url":"https://api.github.com/users/strietzel/gists{/gist_id}","starred_url":"https://api.github.com/users/strietzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strietzel/subscriptions","organizations_url":"https://api.github.com/users/strietzel/orgs","repos_url":"https://api.github.com/users/strietzel/repos","events_url":"https://api.github.com/users/strietzel/events{/privacy}","received_events_url":"https://api.github.com/users/strietzel/received_events","type":"User","site_admin":false},"repo":{"id":35212414,"name":"PHPCI","full_name":"strietzel/PHPCI","owner":{"login":"strietzel","id":4457245,"avatar_url":"https://avatars.githubusercontent.com/u/4457245?v=3","gravatar_id":"","url":"https://api.github.com/users/strietzel","html_url":"https://github.com/strietzel","followers_url":"https://api.github.com/users/strietzel/followers","following_url":"https://api.github.com/users/strietzel/following{/other_user}","gists_url":"https://api.github.com/users/strietzel/gists{/gist_id}","starred_url":"https://api.github.com/users/strietzel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strietzel/subscriptions","organizations_url":"https://api.github.com/users/strietzel/orgs","repos_url":"https://api.github.com/users/strietzel/repos","events_url":"https://api.github.com/users/strietzel/events{/privacy}","received_events_url":"https://api.github.com/users/strietzel/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/strietzel/PHPCI","description":"PHPCI is a free and open source continuous integration tool specifically designed for PHP.","fork":true,"url":"https://api.github.com/repos/strietzel/PHPCI","forks_url":"https://api.github.com/repos/strietzel/PHPCI/forks","keys_url":"https://api.github.com/repos/strietzel/PHPCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/strietzel/PHPCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/strietzel/PHPCI/teams","hooks_url":"https://api.github.com/repos/strietzel/PHPCI/hooks","issue_events_url":"https://api.github.com/repos/strietzel/PHPCI/issues/events{/number}","events_url":"https://api.github.com/repos/strietzel/PHPCI/events","assignees_url":"https://api.github.com/repos/strietzel/PHPCI/assignees{/user}","branches_url":"https://api.github.com/repos/strietzel/PHPCI/branches{/branch}","tags_url":"https://api.github.com/repos/strietzel/PHPCI/tags","blobs_url":"https://api.github.com/repos/strietzel/PHPCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/strietzel/PHPCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/strietzel/PHPCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/strietzel/PHPCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/strietzel/PHPCI/statuses/{sha}","languages_url":"https://api.github.com/repos/strietzel/PHPCI/languages","stargazers_url":"https://api.github.com/repos/strietzel/PHPCI/stargazers","contributors_url":"https://api.github.com/repos/strietzel/PHPCI/contributors","subscribers_url":"https://api.github.com/repos/strietzel/PHPCI/subscribers","subscription_url":"https://api.github.com/repos/strietzel/PHPCI/subscription","commits_url":"https://api.github.com/repos/strietzel/PHPCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/strietzel/PHPCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/strietzel/PHPCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/strietzel/PHPCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/strietzel/PHPCI/contents/{+path}","compare_url":"https://api.github.com/repos/strietzel/PHPCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/strietzel/PHPCI/merges","archive_url":"https://api.github.com/repos/strietzel/PHPCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/strietzel/PHPCI/downloads","issues_url":"https://api.github.com/repos/strietzel/PHPCI/issues{/number}","pulls_url":"https://api.github.com/repos/strietzel/PHPCI/pulls{/number}","milestones_url":"https://api.github.com/repos/strietzel/PHPCI/milestones{/number}","notifications_url":"https://api.github.com/repos/strietzel/PHPCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/strietzel/PHPCI/labels{/name}","releases_url":"https://api.github.com/repos/strietzel/PHPCI/releases{/id}","created_at":"2015-05-07T09:54:30Z","updated_at":"2015-05-07T11:27:13Z","pushed_at":"2015-05-07T11:54:39Z","git_url":"git://github.com/strietzel/PHPCI.git","ssh_url":"git@github.com:strietzel/PHPCI.git","clone_url":"https://github.com/strietzel/PHPCI.git","svn_url":"https://github.com/strietzel/PHPCI","homepage":"https://www.phptesting.org/","size":4502,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":"Block8:master","ref":"master","sha":"8bf1d09afdf56c1557502e50b8291716f1cf4f96","user":{"login":"Block8","id":2234295,"avatar_url":"https://avatars.githubusercontent.com/u/2234295?v=3","gravatar_id":"","url":"https://api.github.com/users/Block8","html_url":"https://github.com/Block8","followers_url":"https://api.github.com/users/Block8/followers","following_url":"https://api.github.com/users/Block8/following{/other_user}","gists_url":"https://api.github.com/users/Block8/gists{/gist_id}","starred_url":"https://api.github.com/users/Block8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Block8/subscriptions","organizations_url":"https://api.github.com/users/Block8/orgs","repos_url":"https://api.github.com/users/Block8/repos","events_url":"https://api.github.com/users/Block8/events{/privacy}","received_events_url":"https://api.github.com/users/Block8/received_events","type":"Organization","site_admin":false},"repo":{"id":9982892,"name":"PHPCI","full_name":"Block8/PHPCI","owner":{"login":"Block8","id":2234295,"avatar_url":"https://avatars.githubusercontent.com/u/2234295?v=3","gravatar_id":"","url":"https://api.github.com/users/Block8","html_url":"https://github.com/Block8","followers_url":"https://api.github.com/users/Block8/followers","following_url":"https://api.github.com/users/Block8/following{/other_user}","gists_url":"https://api.github.com/users/Block8/gists{/gist_id}","starred_url":"https://api.github.com/users/Block8/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Block8/subscriptions","organizations_url":"https://api.github.com/users/Block8/orgs","repos_url":"https://api.github.com/users/Block8/repos","events_url":"https://api.github.com/users/Block8/events{/privacy}","received_events_url":"https://api.github.com/users/Block8/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Block8/PHPCI","description":"PHPCI is a free and open source continuous integration tool specifically designed for PHP.","fork":false,"url":"https://api.github.com/repos/Block8/PHPCI","forks_url":"https://api.github.com/repos/Block8/PHPCI/forks","keys_url":"https://api.github.com/repos/Block8/PHPCI/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Block8/PHPCI/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Block8/PHPCI/teams","hooks_url":"https://api.github.com/repos/Block8/PHPCI/hooks","issue_events_url":"https://api.github.com/repos/Block8/PHPCI/issues/events{/number}","events_url":"https://api.github.com/repos/Block8/PHPCI/events","assignees_url":"https://api.github.com/repos/Block8/PHPCI/assignees{/user}","branches_url":"https://api.github.com/repos/Block8/PHPCI/branches{/branch}","tags_url":"https://api.github.com/repos/Block8/PHPCI/tags","blobs_url":"https://api.github.com/repos/Block8/PHPCI/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Block8/PHPCI/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Block8/PHPCI/git/refs{/sha}","trees_url":"https://api.github.com/repos/Block8/PHPCI/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Block8/PHPCI/statuses/{sha}","languages_url":"https://api.github.com/repos/Block8/PHPCI/languages","stargazers_url":"https://api.github.com/repos/Block8/PHPCI/stargazers","contributors_url":"https://api.github.com/repos/Block8/PHPCI/contributors","subscribers_url":"https://api.github.com/repos/Block8/PHPCI/subscribers","subscription_url":"https://api.github.com/repos/Block8/PHPCI/subscription","commits_url":"https://api.github.com/repos/Block8/PHPCI/commits{/sha}","git_commits_url":"https://api.github.com/repos/Block8/PHPCI/git/commits{/sha}","comments_url":"https://api.github.com/repos/Block8/PHPCI/comments{/number}","issue_comment_url":"https://api.github.com/repos/Block8/PHPCI/issues/comments{/number}","contents_url":"https://api.github.com/repos/Block8/PHPCI/contents/{+path}","compare_url":"https://api.github.com/repos/Block8/PHPCI/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Block8/PHPCI/merges","archive_url":"https://api.github.com/repos/Block8/PHPCI/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Block8/PHPCI/downloads","issues_url":"https://api.github.com/repos/Block8/PHPCI/issues{/number}","pulls_url":"https://api.github.com/repos/Block8/PHPCI/pulls{/number}","milestones_url":"https://api.github.com/repos/Block8/PHPCI/milestones{/number}","notifications_url":"https://api.github.com/repos/Block8/PHPCI/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Block8/PHPCI/labels{/name}","releases_url":"https://api.github.com/repos/Block8/PHPCI/releases{/id}","created_at":"2013-05-10T14:17:41Z","updated_at":"2015-05-07T09:32:20Z","pushed_at":"2015-05-07T11:54:40Z","git_url":"git://github.com/Block8/PHPCI.git","ssh_url":"git@github.com:Block8/PHPCI.git","clone_url":"https://github.com/Block8/PHPCI.git","svn_url":"https://github.com/Block8/PHPCI","homepage":"https://www.phptesting.org/","size":12271,"stargazers_count":1511,"watchers_count":1511,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":311,"mirror_url":null,"open_issues_count":178,"forks":311,"open_issues":178,"watchers":1511,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/966"},"html":{"href":"https://github.com/Block8/PHPCI/pull/966"},"issue":{"href":"https://api.github.com/repos/Block8/PHPCI/issues/966"},"comments":{"href":"https://api.github.com/repos/Block8/PHPCI/issues/966/comments"},"review_comments":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/966/comments"},"review_comment":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Block8/PHPCI/pulls/966/commits"},"statuses":{"href":"https://api.github.com/repos/Block8/PHPCI/statuses/39a8d605935f8fd8d7bbfe127b05809565aa9c01"}}}}