{"action":"created","comment":{"url":"https://api.github.com/repos/atoum/ruler-extension/pulls/comments/38401287","id":38401287,"diff_hunk":"@@ -38,19 +38,19 @@ public function __construct(atoum\\configurator $configurator = null)\n \t\t\t\t$extension->setRule($value);\n \t\t\t};\n \n-            $testHandler = function($script, $argument, $values) {\n-                $script->getRunner()->addTestsFromDirectory(dirname(__DIR__) . '/tests/units/classes');\n-            };\n+\t\t\t$testHandler = function($script, $argument, $values) {\n+                \t$script->getRunner()->addTestsFromDirectory(dirname(__DIR__) . '/tests/units/classes');\n+        \t};\n \n-            $script\n-                ->addArgumentHandler($testHandler, array('--test-ext'))\n-                ->addArgumentHandler($testHandler, array('--test-it'))\n-\t\t\t\t->addArgumentHandler(\n-\t\t\t\t\t$handler,\n-\t\t\t\t\tarray('--filter'),\n-\t\t\t\t\tnull,\n-\t\t\t\t\t$script->getLocale()->_('Filters tests to execute. For example \\'not(\"featureA\" in tags) and namespace = \"foo\\bar\"\\'')\n-\t\t\t\t)\n+        \t$script\n+\t\t\t->addArgumentHandler($testHandler, array('--test-ext'))\n+\t\t\t->addArgumentHandler($testHandler, array('--test-it'))\n+\t\t\t->addArgumentHandler(\n+\t\t\t\t$handler,\n+\t\t\t\tarray('--filter'),\n+\t\t\t\tnull,\n+\t\t\t\t$script->getLocale()->_('Filters tests to execute. For example \\'not(\"featureA\" in tags) and namespace = \"foo\\bar\"\\'')\n+\t\t\t)\n \t\t\t;","path":"classes/extension.php","position":null,"original_position":29,"commit_id":"1a54ac47d650d50707d0484ef0ac3d39b150a009","original_commit_id":"6f62d92789aa25c33f74322a7fa5de18b86f5492","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"body":"Done.","created_at":"2015-09-01T09:38:10Z","updated_at":"2015-09-01T09:38:10Z","html_url":"https://github.com/atoum/ruler-extension/pull/18#discussion_r38401287","pull_request_url":"https://api.github.com/repos/atoum/ruler-extension/pulls/18","_links":{"self":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/comments/38401287"},"html":{"href":"https://github.com/atoum/ruler-extension/pull/18#discussion_r38401287"},"pull_request":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/18"}}},"pull_request":{"url":"https://api.github.com/repos/atoum/ruler-extension/pulls/18","id":43852910,"html_url":"https://github.com/atoum/ruler-extension/pull/18","diff_url":"https://github.com/atoum/ruler-extension/pull/18.diff","patch_url":"https://github.com/atoum/ruler-extension/pull/18.patch","issue_url":"https://api.github.com/repos/atoum/ruler-extension/issues/18","number":18,"state":"open","locked":false,"title":"Fix indentation","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-09-01T09:08:36Z","updated_at":"2015-09-01T09:38:10Z","closed_at":null,"merged_at":null,"merge_commit_sha":"caf159f80d9792f2c868e1c737fcfbb1b07b4c3f","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/atoum/ruler-extension/pulls/18/commits","review_comments_url":"https://api.github.com/repos/atoum/ruler-extension/pulls/18/comments","review_comment_url":"https://api.github.com/repos/atoum/ruler-extension/pulls/comments{/number}","comments_url":"https://api.github.com/repos/atoum/ruler-extension/issues/18/comments","statuses_url":"https://api.github.com/repos/atoum/ruler-extension/statuses/1a54ac47d650d50707d0484ef0ac3d39b150a009","head":{"label":"Hywan:patch-2","ref":"patch-2","sha":"1a54ac47d650d50707d0484ef0ac3d39b150a009","user":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"repo":{"id":30181637,"name":"ruler-extension","full_name":"Hywan/ruler-extension","owner":{"login":"Hywan","id":946104,"avatar_url":"https://avatars.githubusercontent.com/u/946104?v=3","gravatar_id":"","url":"https://api.github.com/users/Hywan","html_url":"https://github.com/Hywan","followers_url":"https://api.github.com/users/Hywan/followers","following_url":"https://api.github.com/users/Hywan/following{/other_user}","gists_url":"https://api.github.com/users/Hywan/gists{/gist_id}","starred_url":"https://api.github.com/users/Hywan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hywan/subscriptions","organizations_url":"https://api.github.com/users/Hywan/orgs","repos_url":"https://api.github.com/users/Hywan/repos","events_url":"https://api.github.com/users/Hywan/events{/privacy}","received_events_url":"https://api.github.com/users/Hywan/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hywan/ruler-extension","description":" The atoum ruler-extension allows you to filter your tests using Hoa\\Ruler.","fork":true,"url":"https://api.github.com/repos/Hywan/ruler-extension","forks_url":"https://api.github.com/repos/Hywan/ruler-extension/forks","keys_url":"https://api.github.com/repos/Hywan/ruler-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hywan/ruler-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hywan/ruler-extension/teams","hooks_url":"https://api.github.com/repos/Hywan/ruler-extension/hooks","issue_events_url":"https://api.github.com/repos/Hywan/ruler-extension/issues/events{/number}","events_url":"https://api.github.com/repos/Hywan/ruler-extension/events","assignees_url":"https://api.github.com/repos/Hywan/ruler-extension/assignees{/user}","branches_url":"https://api.github.com/repos/Hywan/ruler-extension/branches{/branch}","tags_url":"https://api.github.com/repos/Hywan/ruler-extension/tags","blobs_url":"https://api.github.com/repos/Hywan/ruler-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hywan/ruler-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hywan/ruler-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hywan/ruler-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hywan/ruler-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/Hywan/ruler-extension/languages","stargazers_url":"https://api.github.com/repos/Hywan/ruler-extension/stargazers","contributors_url":"https://api.github.com/repos/Hywan/ruler-extension/contributors","subscribers_url":"https://api.github.com/repos/Hywan/ruler-extension/subscribers","subscription_url":"https://api.github.com/repos/Hywan/ruler-extension/subscription","commits_url":"https://api.github.com/repos/Hywan/ruler-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hywan/ruler-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hywan/ruler-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hywan/ruler-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hywan/ruler-extension/contents/{+path}","compare_url":"https://api.github.com/repos/Hywan/ruler-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hywan/ruler-extension/merges","archive_url":"https://api.github.com/repos/Hywan/ruler-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hywan/ruler-extension/downloads","issues_url":"https://api.github.com/repos/Hywan/ruler-extension/issues{/number}","pulls_url":"https://api.github.com/repos/Hywan/ruler-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/Hywan/ruler-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/Hywan/ruler-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hywan/ruler-extension/labels{/name}","releases_url":"https://api.github.com/repos/Hywan/ruler-extension/releases{/id}","created_at":"2015-02-02T10:16:00Z","updated_at":"2015-02-02T10:16:01Z","pushed_at":"2015-09-01T09:37:56Z","git_url":"git://github.com/Hywan/ruler-extension.git","ssh_url":"git@github.com:Hywan/ruler-extension.git","clone_url":"https://github.com/Hywan/ruler-extension.git","svn_url":"https://github.com/Hywan/ruler-extension","homepage":null,"size":153,"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":"atoum:master","ref":"master","sha":"2215907402697dff465f8d9f3c69c6a710790149","user":{"login":"atoum","id":2794496,"avatar_url":"https://avatars.githubusercontent.com/u/2794496?v=3","gravatar_id":"","url":"https://api.github.com/users/atoum","html_url":"https://github.com/atoum","followers_url":"https://api.github.com/users/atoum/followers","following_url":"https://api.github.com/users/atoum/following{/other_user}","gists_url":"https://api.github.com/users/atoum/gists{/gist_id}","starred_url":"https://api.github.com/users/atoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atoum/subscriptions","organizations_url":"https://api.github.com/users/atoum/orgs","repos_url":"https://api.github.com/users/atoum/repos","events_url":"https://api.github.com/users/atoum/events{/privacy}","received_events_url":"https://api.github.com/users/atoum/received_events","type":"Organization","site_admin":false},"repo":{"id":30148324,"name":"ruler-extension","full_name":"atoum/ruler-extension","owner":{"login":"atoum","id":2794496,"avatar_url":"https://avatars.githubusercontent.com/u/2794496?v=3","gravatar_id":"","url":"https://api.github.com/users/atoum","html_url":"https://github.com/atoum","followers_url":"https://api.github.com/users/atoum/followers","following_url":"https://api.github.com/users/atoum/following{/other_user}","gists_url":"https://api.github.com/users/atoum/gists{/gist_id}","starred_url":"https://api.github.com/users/atoum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/atoum/subscriptions","organizations_url":"https://api.github.com/users/atoum/orgs","repos_url":"https://api.github.com/users/atoum/repos","events_url":"https://api.github.com/users/atoum/events{/privacy}","received_events_url":"https://api.github.com/users/atoum/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/atoum/ruler-extension","description":" The atoum ruler-extension allows you to filter your tests using Hoa\\Ruler.","fork":false,"url":"https://api.github.com/repos/atoum/ruler-extension","forks_url":"https://api.github.com/repos/atoum/ruler-extension/forks","keys_url":"https://api.github.com/repos/atoum/ruler-extension/keys{/key_id}","collaborators_url":"https://api.github.com/repos/atoum/ruler-extension/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/atoum/ruler-extension/teams","hooks_url":"https://api.github.com/repos/atoum/ruler-extension/hooks","issue_events_url":"https://api.github.com/repos/atoum/ruler-extension/issues/events{/number}","events_url":"https://api.github.com/repos/atoum/ruler-extension/events","assignees_url":"https://api.github.com/repos/atoum/ruler-extension/assignees{/user}","branches_url":"https://api.github.com/repos/atoum/ruler-extension/branches{/branch}","tags_url":"https://api.github.com/repos/atoum/ruler-extension/tags","blobs_url":"https://api.github.com/repos/atoum/ruler-extension/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/atoum/ruler-extension/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/atoum/ruler-extension/git/refs{/sha}","trees_url":"https://api.github.com/repos/atoum/ruler-extension/git/trees{/sha}","statuses_url":"https://api.github.com/repos/atoum/ruler-extension/statuses/{sha}","languages_url":"https://api.github.com/repos/atoum/ruler-extension/languages","stargazers_url":"https://api.github.com/repos/atoum/ruler-extension/stargazers","contributors_url":"https://api.github.com/repos/atoum/ruler-extension/contributors","subscribers_url":"https://api.github.com/repos/atoum/ruler-extension/subscribers","subscription_url":"https://api.github.com/repos/atoum/ruler-extension/subscription","commits_url":"https://api.github.com/repos/atoum/ruler-extension/commits{/sha}","git_commits_url":"https://api.github.com/repos/atoum/ruler-extension/git/commits{/sha}","comments_url":"https://api.github.com/repos/atoum/ruler-extension/comments{/number}","issue_comment_url":"https://api.github.com/repos/atoum/ruler-extension/issues/comments{/number}","contents_url":"https://api.github.com/repos/atoum/ruler-extension/contents/{+path}","compare_url":"https://api.github.com/repos/atoum/ruler-extension/compare/{base}...{head}","merges_url":"https://api.github.com/repos/atoum/ruler-extension/merges","archive_url":"https://api.github.com/repos/atoum/ruler-extension/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/atoum/ruler-extension/downloads","issues_url":"https://api.github.com/repos/atoum/ruler-extension/issues{/number}","pulls_url":"https://api.github.com/repos/atoum/ruler-extension/pulls{/number}","milestones_url":"https://api.github.com/repos/atoum/ruler-extension/milestones{/number}","notifications_url":"https://api.github.com/repos/atoum/ruler-extension/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/atoum/ruler-extension/labels{/name}","releases_url":"https://api.github.com/repos/atoum/ruler-extension/releases{/id}","created_at":"2015-02-01T14:27:09Z","updated_at":"2015-08-23T22:19:10Z","pushed_at":"2015-09-01T09:37:56Z","git_url":"git://github.com/atoum/ruler-extension.git","ssh_url":"git@github.com:atoum/ruler-extension.git","clone_url":"https://github.com/atoum/ruler-extension.git","svn_url":"https://github.com/atoum/ruler-extension","homepage":null,"size":218,"stargazers_count":8,"watchers_count":8,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"open_issues_count":3,"forks":3,"open_issues":3,"watchers":8,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/18"},"html":{"href":"https://github.com/atoum/ruler-extension/pull/18"},"issue":{"href":"https://api.github.com/repos/atoum/ruler-extension/issues/18"},"comments":{"href":"https://api.github.com/repos/atoum/ruler-extension/issues/18/comments"},"review_comments":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/18/comments"},"review_comment":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/atoum/ruler-extension/pulls/18/commits"},"statuses":{"href":"https://api.github.com/repos/atoum/ruler-extension/statuses/1a54ac47d650d50707d0484ef0ac3d39b150a009"}}}}