{"action":"created","comment":{"url":"https://api.github.com/repos/infection/infection/pulls/comments/186299458","pull_request_review_id":117852088,"id":186299458,"diff_hunk":"@@ -511,8 +427,53 @@ protected function initialize(InputInterface $input, OutputInterface $output)\n \n     private function doInitialize(InputInterface $input)\n     {\n-        $this->io = $this->getApplication()->getIO();\n+        $this->consoleOutput = new ConsoleOutput($this->getApplication()->getIO());\n         $this->eventDispatcher = $this->getContainer()->get('dispatcher');\n         $this->skipCoverage = \\strlen(trim($input->getOption('coverage'))) > 0;\n     }\n+\n+    /**\n+     * Checks if the infection run passed the constraints like min msi & covered msi.\n+     *\n+     * @param MetricsCalculator $metricsCalculator\n+     *\n+     * @return int\n+     */\n+    private function didRunPassConstraints(MetricsCalculator $metricsCalculator): int","path":"src/Command/InfectionCommand.php","position":197,"original_position":197,"commit_id":"0b6a8a3a359954f46df4d77eb19e79d1a7281cba","original_commit_id":"0b6a8a3a359954f46df4d77eb19e79d1a7281cba","user":{"login":"sidz","id":1302230,"avatar_url":"https://avatars2.githubusercontent.com/u/1302230?v=4","gravatar_id":"","url":"https://api.github.com/users/sidz","html_url":"https://github.com/sidz","followers_url":"https://api.github.com/users/sidz/followers","following_url":"https://api.github.com/users/sidz/following{/other_user}","gists_url":"https://api.github.com/users/sidz/gists{/gist_id}","starred_url":"https://api.github.com/users/sidz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sidz/subscriptions","organizations_url":"https://api.github.com/users/sidz/orgs","repos_url":"https://api.github.com/users/sidz/repos","events_url":"https://api.github.com/users/sidz/events{/privacy}","received_events_url":"https://api.github.com/users/sidz/received_events","type":"User","site_admin":false},"body":"should it be smth like `hasRunPassConstraints` or `isRunPassConstraints` ?","created_at":"2018-05-06T18:51:06Z","updated_at":"2018-05-06T18:53:27Z","html_url":"https://github.com/infection/infection/pull/337#discussion_r186299458","pull_request_url":"https://api.github.com/repos/infection/infection/pulls/337","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/infection/infection/pulls/comments/186299458"},"html":{"href":"https://github.com/infection/infection/pull/337#discussion_r186299458"},"pull_request":{"href":"https://api.github.com/repos/infection/infection/pulls/337"}}},"pull_request":{"url":"https://api.github.com/repos/infection/infection/pulls/337","id":186195147,"html_url":"https://github.com/infection/infection/pull/337","diff_url":"https://github.com/infection/infection/pull/337.diff","patch_url":"https://github.com/infection/infection/pull/337.patch","issue_url":"https://api.github.com/repos/infection/infection/issues/337","number":337,"state":"open","locked":false,"title":"Use our own ConsoleOutput class over SymfonyStyle","user":{"login":"BackEndTea","id":14289961,"avatar_url":"https://avatars1.githubusercontent.com/u/14289961?v=4","gravatar_id":"","url":"https://api.github.com/users/BackEndTea","html_url":"https://github.com/BackEndTea","followers_url":"https://api.github.com/users/BackEndTea/followers","following_url":"https://api.github.com/users/BackEndTea/following{/other_user}","gists_url":"https://api.github.com/users/BackEndTea/gists{/gist_id}","starred_url":"https://api.github.com/users/BackEndTea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BackEndTea/subscriptions","organizations_url":"https://api.github.com/users/BackEndTea/orgs","repos_url":"https://api.github.com/users/BackEndTea/repos","events_url":"https://api.github.com/users/BackEndTea/events{/privacy}","received_events_url":"https://api.github.com/users/BackEndTea/received_events","type":"User","site_admin":false},"body":"This PR:\r\n\r\nExtracts console output logic from the `InfectionCommand` class into its own class.\r\n","created_at":"2018-05-06T08:48:53Z","updated_at":"2018-05-06T18:53:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"557f54a88619839624f254790112bf33eecec98e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/infection/infection/pulls/337/commits","review_comments_url":"https://api.github.com/repos/infection/infection/pulls/337/comments","review_comment_url":"https://api.github.com/repos/infection/infection/pulls/comments{/number}","comments_url":"https://api.github.com/repos/infection/infection/issues/337/comments","statuses_url":"https://api.github.com/repos/infection/infection/statuses/0b6a8a3a359954f46df4d77eb19e79d1a7281cba","head":{"label":"BackEndTea:enhancement/command-refactor","ref":"enhancement/command-refactor","sha":"0b6a8a3a359954f46df4d77eb19e79d1a7281cba","user":{"login":"BackEndTea","id":14289961,"avatar_url":"https://avatars1.githubusercontent.com/u/14289961?v=4","gravatar_id":"","url":"https://api.github.com/users/BackEndTea","html_url":"https://github.com/BackEndTea","followers_url":"https://api.github.com/users/BackEndTea/followers","following_url":"https://api.github.com/users/BackEndTea/following{/other_user}","gists_url":"https://api.github.com/users/BackEndTea/gists{/gist_id}","starred_url":"https://api.github.com/users/BackEndTea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BackEndTea/subscriptions","organizations_url":"https://api.github.com/users/BackEndTea/orgs","repos_url":"https://api.github.com/users/BackEndTea/repos","events_url":"https://api.github.com/users/BackEndTea/events{/privacy}","received_events_url":"https://api.github.com/users/BackEndTea/received_events","type":"User","site_admin":false},"repo":{"id":115420174,"name":"infection","full_name":"BackEndTea/infection","owner":{"login":"BackEndTea","id":14289961,"avatar_url":"https://avatars1.githubusercontent.com/u/14289961?v=4","gravatar_id":"","url":"https://api.github.com/users/BackEndTea","html_url":"https://github.com/BackEndTea","followers_url":"https://api.github.com/users/BackEndTea/followers","following_url":"https://api.github.com/users/BackEndTea/following{/other_user}","gists_url":"https://api.github.com/users/BackEndTea/gists{/gist_id}","starred_url":"https://api.github.com/users/BackEndTea/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/BackEndTea/subscriptions","organizations_url":"https://api.github.com/users/BackEndTea/orgs","repos_url":"https://api.github.com/users/BackEndTea/repos","events_url":"https://api.github.com/users/BackEndTea/events{/privacy}","received_events_url":"https://api.github.com/users/BackEndTea/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/BackEndTea/infection","description":"AST based PHP Mutation Testing Framework","fork":true,"url":"https://api.github.com/repos/BackEndTea/infection","forks_url":"https://api.github.com/repos/BackEndTea/infection/forks","keys_url":"https://api.github.com/repos/BackEndTea/infection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/BackEndTea/infection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/BackEndTea/infection/teams","hooks_url":"https://api.github.com/repos/BackEndTea/infection/hooks","issue_events_url":"https://api.github.com/repos/BackEndTea/infection/issues/events{/number}","events_url":"https://api.github.com/repos/BackEndTea/infection/events","assignees_url":"https://api.github.com/repos/BackEndTea/infection/assignees{/user}","branches_url":"https://api.github.com/repos/BackEndTea/infection/branches{/branch}","tags_url":"https://api.github.com/repos/BackEndTea/infection/tags","blobs_url":"https://api.github.com/repos/BackEndTea/infection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/BackEndTea/infection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/BackEndTea/infection/git/refs{/sha}","trees_url":"https://api.github.com/repos/BackEndTea/infection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/BackEndTea/infection/statuses/{sha}","languages_url":"https://api.github.com/repos/BackEndTea/infection/languages","stargazers_url":"https://api.github.com/repos/BackEndTea/infection/stargazers","contributors_url":"https://api.github.com/repos/BackEndTea/infection/contributors","subscribers_url":"https://api.github.com/repos/BackEndTea/infection/subscribers","subscription_url":"https://api.github.com/repos/BackEndTea/infection/subscription","commits_url":"https://api.github.com/repos/BackEndTea/infection/commits{/sha}","git_commits_url":"https://api.github.com/repos/BackEndTea/infection/git/commits{/sha}","comments_url":"https://api.github.com/repos/BackEndTea/infection/comments{/number}","issue_comment_url":"https://api.github.com/repos/BackEndTea/infection/issues/comments{/number}","contents_url":"https://api.github.com/repos/BackEndTea/infection/contents/{+path}","compare_url":"https://api.github.com/repos/BackEndTea/infection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/BackEndTea/infection/merges","archive_url":"https://api.github.com/repos/BackEndTea/infection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/BackEndTea/infection/downloads","issues_url":"https://api.github.com/repos/BackEndTea/infection/issues{/number}","pulls_url":"https://api.github.com/repos/BackEndTea/infection/pulls{/number}","milestones_url":"https://api.github.com/repos/BackEndTea/infection/milestones{/number}","notifications_url":"https://api.github.com/repos/BackEndTea/infection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/BackEndTea/infection/labels{/name}","releases_url":"https://api.github.com/repos/BackEndTea/infection/releases{/id}","deployments_url":"https://api.github.com/repos/BackEndTea/infection/deployments","created_at":"2017-12-26T12:25:57Z","updated_at":"2018-05-02T16:07:28Z","pushed_at":"2018-05-06T13:18:15Z","git_url":"git://github.com/BackEndTea/infection.git","ssh_url":"git@github.com:BackEndTea/infection.git","clone_url":"https://github.com/BackEndTea/infection.git","svn_url":"https://github.com/BackEndTea/infection","homepage":"https://infection.github.io","size":1033,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"infection:master","ref":"master","sha":"ff423314d021621cb7664ea8e56bfea93b23fcf3","user":{"login":"infection","id":29210618,"avatar_url":"https://avatars2.githubusercontent.com/u/29210618?v=4","gravatar_id":"","url":"https://api.github.com/users/infection","html_url":"https://github.com/infection","followers_url":"https://api.github.com/users/infection/followers","following_url":"https://api.github.com/users/infection/following{/other_user}","gists_url":"https://api.github.com/users/infection/gists{/gist_id}","starred_url":"https://api.github.com/users/infection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infection/subscriptions","organizations_url":"https://api.github.com/users/infection/orgs","repos_url":"https://api.github.com/users/infection/repos","events_url":"https://api.github.com/users/infection/events{/privacy}","received_events_url":"https://api.github.com/users/infection/received_events","type":"Organization","site_admin":false},"repo":{"id":95741878,"name":"infection","full_name":"infection/infection","owner":{"login":"infection","id":29210618,"avatar_url":"https://avatars2.githubusercontent.com/u/29210618?v=4","gravatar_id":"","url":"https://api.github.com/users/infection","html_url":"https://github.com/infection","followers_url":"https://api.github.com/users/infection/followers","following_url":"https://api.github.com/users/infection/following{/other_user}","gists_url":"https://api.github.com/users/infection/gists{/gist_id}","starred_url":"https://api.github.com/users/infection/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/infection/subscriptions","organizations_url":"https://api.github.com/users/infection/orgs","repos_url":"https://api.github.com/users/infection/repos","events_url":"https://api.github.com/users/infection/events{/privacy}","received_events_url":"https://api.github.com/users/infection/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/infection/infection","description":"AST based PHP Mutation Testing Framework","fork":false,"url":"https://api.github.com/repos/infection/infection","forks_url":"https://api.github.com/repos/infection/infection/forks","keys_url":"https://api.github.com/repos/infection/infection/keys{/key_id}","collaborators_url":"https://api.github.com/repos/infection/infection/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/infection/infection/teams","hooks_url":"https://api.github.com/repos/infection/infection/hooks","issue_events_url":"https://api.github.com/repos/infection/infection/issues/events{/number}","events_url":"https://api.github.com/repos/infection/infection/events","assignees_url":"https://api.github.com/repos/infection/infection/assignees{/user}","branches_url":"https://api.github.com/repos/infection/infection/branches{/branch}","tags_url":"https://api.github.com/repos/infection/infection/tags","blobs_url":"https://api.github.com/repos/infection/infection/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/infection/infection/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/infection/infection/git/refs{/sha}","trees_url":"https://api.github.com/repos/infection/infection/git/trees{/sha}","statuses_url":"https://api.github.com/repos/infection/infection/statuses/{sha}","languages_url":"https://api.github.com/repos/infection/infection/languages","stargazers_url":"https://api.github.com/repos/infection/infection/stargazers","contributors_url":"https://api.github.com/repos/infection/infection/contributors","subscribers_url":"https://api.github.com/repos/infection/infection/subscribers","subscription_url":"https://api.github.com/repos/infection/infection/subscription","commits_url":"https://api.github.com/repos/infection/infection/commits{/sha}","git_commits_url":"https://api.github.com/repos/infection/infection/git/commits{/sha}","comments_url":"https://api.github.com/repos/infection/infection/comments{/number}","issue_comment_url":"https://api.github.com/repos/infection/infection/issues/comments{/number}","contents_url":"https://api.github.com/repos/infection/infection/contents/{+path}","compare_url":"https://api.github.com/repos/infection/infection/compare/{base}...{head}","merges_url":"https://api.github.com/repos/infection/infection/merges","archive_url":"https://api.github.com/repos/infection/infection/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/infection/infection/downloads","issues_url":"https://api.github.com/repos/infection/infection/issues{/number}","pulls_url":"https://api.github.com/repos/infection/infection/pulls{/number}","milestones_url":"https://api.github.com/repos/infection/infection/milestones{/number}","notifications_url":"https://api.github.com/repos/infection/infection/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/infection/infection/labels{/name}","releases_url":"https://api.github.com/repos/infection/infection/releases{/id}","deployments_url":"https://api.github.com/repos/infection/infection/deployments","created_at":"2017-06-29T05:29:49Z","updated_at":"2018-05-06T11:55:20Z","pushed_at":"2018-05-06T16:55:51Z","git_url":"git://github.com/infection/infection.git","ssh_url":"git@github.com:infection/infection.git","clone_url":"https://github.com/infection/infection.git","svn_url":"https://github.com/infection/infection","homepage":"https://infection.github.io","size":1035,"stargazers_count":422,"watchers_count":422,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":33,"mirror_url":null,"archived":false,"open_issues_count":44,"license":{"key":"bsd-3-clause","name":"BSD 3-Clause \"New\" or \"Revised\" License","spdx_id":"BSD-3-Clause","url":"https://api.github.com/licenses/bsd-3-clause"},"forks":33,"open_issues":44,"watchers":422,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/infection/infection/pulls/337"},"html":{"href":"https://github.com/infection/infection/pull/337"},"issue":{"href":"https://api.github.com/repos/infection/infection/issues/337"},"comments":{"href":"https://api.github.com/repos/infection/infection/issues/337/comments"},"review_comments":{"href":"https://api.github.com/repos/infection/infection/pulls/337/comments"},"review_comment":{"href":"https://api.github.com/repos/infection/infection/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/infection/infection/pulls/337/commits"},"statuses":{"href":"https://api.github.com/repos/infection/infection/statuses/0b6a8a3a359954f46df4d77eb19e79d1a7281cba"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"sidz"}}