{"action":"created","comment":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/45881111","id":45881111,"diff_hunk":"@@ -270,4 +278,45 @@ protected function getFixersFromConfig($fileName, $config)\n \n         return $fixers;\n     }\n+\n+    /**\n+     * Parses the '--REQUIREMENTS--' block of a '.test' file and determines requirements.\n+     *\n+     * @param string $fileName\n+     * @param string $config\n+     *\n+     * @return array\n+     */\n+    protected function getRequirementsFromConfig($fileName, $config)\n+    {\n+        $requirements = array('hhvm' => true, 'php' => PHP_VERSION);","path":"Symfony/CS/Tests/AbstractIntegrationTest.php","position":97,"original_position":71,"commit_id":"9be5842672c5c6c542c59e14508692f61c5a2952","original_commit_id":"ee7a2f8183d3937c61cc1d2de367110903c4281f","user":{"login":"keradus","id":2716794,"avatar_url":"https://avatars.githubusercontent.com/u/2716794?v=3","gravatar_id":"","url":"https://api.github.com/users/keradus","html_url":"https://github.com/keradus","followers_url":"https://api.github.com/users/keradus/followers","following_url":"https://api.github.com/users/keradus/following{/other_user}","gists_url":"https://api.github.com/users/keradus/gists{/gist_id}","starred_url":"https://api.github.com/users/keradus/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/keradus/subscriptions","organizations_url":"https://api.github.com/users/keradus/orgs","repos_url":"https://api.github.com/users/keradus/repos","events_url":"https://api.github.com/users/keradus/events{/privacy}","received_events_url":"https://api.github.com/users/keradus/received_events","type":"User","site_admin":false},"body":"and still my question is without answer.","created_at":"2015-11-25T15:40:33Z","updated_at":"2015-11-25T15:40:33Z","html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523#discussion_r45881111","pull_request_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523","_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments/45881111"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523#discussion_r45881111"},"pull_request":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523"}}},"pull_request":{"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523","id":51347115,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523","diff_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523.diff","patch_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523.patch","issue_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1523","number":1523,"state":"open","locked":false,"title":"Echo to print and print to echo fixers","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"body":"Closes #1502.\r\n\r\n> You know it so well... I think you want to make that fixer ! :D That's great ;P\r\n\r\n![image](https://cloud.githubusercontent.com/assets/1698357/11299137/79e14b54-8f84-11e5-8ec5-3527ca09b788.png)\r\n\r\nIf you have some concrete samples to take care of, please add it on comments. I'll add them on tests. :+1: \r\n\r\nNote: After that, those fixers could be merged into one with a direction option on 2.x branch.","created_at":"2015-11-20T11:44:56Z","updated_at":"2015-11-25T15:40:33Z","closed_at":null,"merged_at":null,"merge_commit_sha":"831b76fa4d72e69ab562e955f1c8b29cfb1143ca","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523/commits","review_comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523/comments","review_comment_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1523/comments","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/9be5842672c5c6c542c59e14508692f61c5a2952","head":{"label":"Soullivaneuh:print-echo-fixer","ref":"print-echo-fixer","sha":"9be5842672c5c6c542c59e14508692f61c5a2952","user":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"repo":{"id":36450184,"name":"PHP-CS-Fixer","full_name":"Soullivaneuh/PHP-CS-Fixer","owner":{"login":"Soullivaneuh","id":1698357,"avatar_url":"https://avatars.githubusercontent.com/u/1698357?v=3","gravatar_id":"","url":"https://api.github.com/users/Soullivaneuh","html_url":"https://github.com/Soullivaneuh","followers_url":"https://api.github.com/users/Soullivaneuh/followers","following_url":"https://api.github.com/users/Soullivaneuh/following{/other_user}","gists_url":"https://api.github.com/users/Soullivaneuh/gists{/gist_id}","starred_url":"https://api.github.com/users/Soullivaneuh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Soullivaneuh/subscriptions","organizations_url":"https://api.github.com/users/Soullivaneuh/orgs","repos_url":"https://api.github.com/users/Soullivaneuh/repos","events_url":"https://api.github.com/users/Soullivaneuh/events{/privacy}","received_events_url":"https://api.github.com/users/Soullivaneuh/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Soullivaneuh/PHP-CS-Fixer","description":"Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)","fork":true,"url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/Soullivaneuh/PHP-CS-Fixer/releases{/id}","created_at":"2015-05-28T16:05:56Z","updated_at":"2015-05-28T16:05:57Z","pushed_at":"2015-11-25T15:37:40Z","git_url":"git://github.com/Soullivaneuh/PHP-CS-Fixer.git","ssh_url":"git@github.com:Soullivaneuh/PHP-CS-Fixer.git","clone_url":"https://github.com/Soullivaneuh/PHP-CS-Fixer.git","svn_url":"https://github.com/Soullivaneuh/PHP-CS-Fixer","homepage":"cs.sensiolabs.org","size":3580,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"1.9"}},"base":{"label":"FriendsOfPHP:1.11","ref":"1.11","sha":"539af978afa12df69b839ff707dc926029837d80","user":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"repo":{"id":4344257,"name":"PHP-CS-Fixer","full_name":"FriendsOfPHP/PHP-CS-Fixer","owner":{"login":"FriendsOfPHP","id":5947812,"avatar_url":"https://avatars.githubusercontent.com/u/5947812?v=3","gravatar_id":"","url":"https://api.github.com/users/FriendsOfPHP","html_url":"https://github.com/FriendsOfPHP","followers_url":"https://api.github.com/users/FriendsOfPHP/followers","following_url":"https://api.github.com/users/FriendsOfPHP/following{/other_user}","gists_url":"https://api.github.com/users/FriendsOfPHP/gists{/gist_id}","starred_url":"https://api.github.com/users/FriendsOfPHP/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/FriendsOfPHP/subscriptions","organizations_url":"https://api.github.com/users/FriendsOfPHP/orgs","repos_url":"https://api.github.com/users/FriendsOfPHP/repos","events_url":"https://api.github.com/users/FriendsOfPHP/events{/privacy}","received_events_url":"https://api.github.com/users/FriendsOfPHP/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer","description":"Analyzes some PHP source code and tries to fix coding standards issues (PSR-1 and PSR-2 compatible)","fork":false,"url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer","forks_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/forks","keys_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/teams","hooks_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/hooks","issue_events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/events{/number}","events_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/events","assignees_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/assignees{/user}","branches_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/branches{/branch}","tags_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/tags","blobs_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/refs{/sha}","trees_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/{sha}","languages_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/languages","stargazers_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/stargazers","contributors_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/contributors","subscribers_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/subscribers","subscription_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/subscription","commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/commits{/sha}","git_commits_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/git/commits{/sha}","comments_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/comments{/number}","issue_comment_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/comments{/number}","contents_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/contents/{+path}","compare_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/merges","archive_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/downloads","issues_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues{/number}","pulls_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls{/number}","milestones_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/milestones{/number}","notifications_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/labels{/name}","releases_url":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/releases{/id}","created_at":"2012-05-16T06:42:23Z","updated_at":"2015-11-25T02:57:33Z","pushed_at":"2015-11-25T15:37:41Z","git_url":"git://github.com/FriendsOfPHP/PHP-CS-Fixer.git","ssh_url":"git@github.com:FriendsOfPHP/PHP-CS-Fixer.git","clone_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer.git","svn_url":"https://github.com/FriendsOfPHP/PHP-CS-Fixer","homepage":"cs.sensiolabs.org","size":6426,"stargazers_count":2703,"watchers_count":2703,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":433,"mirror_url":null,"open_issues_count":89,"forks":433,"open_issues":89,"watchers":2703,"default_branch":"1.11"}},"_links":{"self":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523"},"html":{"href":"https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1523"},"issue":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1523"},"comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/issues/1523/comments"},"review_comments":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523/comments"},"review_comment":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/pulls/1523/commits"},"statuses":{"href":"https://api.github.com/repos/FriendsOfPHP/PHP-CS-Fixer/statuses/9be5842672c5c6c542c59e14508692f61c5a2952"}}}}