{"action":"created","comment":{"url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/comments/47011150","id":47011150,"diff_hunk":"@@ -25,19 +25,19 @@ install:\n     - if [ \"$CHECKS\" = \"yes\" ]; then travis_retry composer require --no-interaction fabpot/php-cs-fixer:^1.11; fi;\n \n script:\n-    - if [ \"$CHECKS\" = \"yes\" ]; then php vendor/bin/php-cs-fixer fix --dry-run -vv; fi;\n-    - if [ \"$CHECKS\" = \"yes\" ]; then php vendor/bin/phpcs --report=checkstyle --report-file=build/logs/checkstyle.xml --standard=build/config/phpcs.xml --ignore=*.html.php,*.config.php,*.twig.php src; fi;\n-    - if [ \"$CHECKS\" = \"yes\" ]; then php vendor/bin/phpmd src xml build/config/phpmd.xml --reportfile build/logs/pmd.xml; fi;\n+    # I prefer having just one if clause like this:\n+    - if [ \"$CHECKS\" = \"yes\" ]; then scripts/check_styles.sh; fi;\n+\n+    # Although I'm fine with the following:\n+    - if [ \"$CHECKS\" = \"yes\" ]; then vendor/bin/php-cs-fixer fix --dry-run -vv; fi;\n+    - if [ \"$CHECKS\" = \"yes\" ]; then vendor/bin/phpcs --report=checkstyle --report-file=build/logs/checkstyle.xml --standard=build/config/phpcs.xml --ignore=*.html.php,*.config.php,*.twig.php src; fi;\n+    - if [ \"$CHECKS\" = \"yes\" ]; then vendor/bin/phpmd src xml build/config/phpmd.xml --reportfile build/logs/pmd.xml; fi;\n     - cp ~/xdebug.ini ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini || return 0\n-    - php vendor/bin/phpunit\n+    - phpunit\n     - rm ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/xdebug.ini || return 0\n \n after_script:\n-    - curl -s https://gist.github.com/satooshi/4750401/raw > travis/ColorCLI.php\n-    - curl -s https://gist.github.com/satooshi/4752226/raw > travis/junit.php\n-    - curl -s https://gist.github.com/satooshi/4958593/raw > travis/pmd.php\n-    - curl -s https://gist.github.com/satooshi/4958909/raw > travis/checkstyle.php\n-    - php travis/checkstyle.php\n-    - php travis/pmd.php\n-    - php travis/junit.php\n-    - php bin/coveralls -v --exclude-no-stmt\n+    - scripts/checkstyle.php\n+    - scripts/pmd.php\n+    - scripts/junit.php","path":".travis.yml","position":30,"original_position":30,"commit_id":"ae722b16980a0f1d4d874d6f28f4adf30948f04e","original_commit_id":"ae722b16980a0f1d4d874d6f28f4adf30948f04e","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":"no php interpreter?","created_at":"2015-12-08T20:46:54Z","updated_at":"2015-12-08T20:46:54Z","html_url":"https://github.com/satooshi/php-coveralls/pull/137#discussion_r47011150","pull_request_url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137","_links":{"self":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/comments/47011150"},"html":{"href":"https://github.com/satooshi/php-coveralls/pull/137#discussion_r47011150"},"pull_request":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137"}}},"pull_request":{"url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137","id":52907968,"html_url":"https://github.com/satooshi/php-coveralls/pull/137","diff_url":"https://github.com/satooshi/php-coveralls/pull/137.diff","patch_url":"https://github.com/satooshi/php-coveralls/pull/137.patch","issue_url":"https://api.github.com/repos/satooshi/php-coveralls/issues/137","number":137,"state":"open","locked":false,"title":"Test scripts refactoring.","user":{"login":"tmatsuo","id":41815,"avatar_url":"https://avatars.githubusercontent.com/u/41815?v=3","gravatar_id":"","url":"https://api.github.com/users/tmatsuo","html_url":"https://github.com/tmatsuo","followers_url":"https://api.github.com/users/tmatsuo/followers","following_url":"https://api.github.com/users/tmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/tmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/tmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmatsuo/subscriptions","organizations_url":"https://api.github.com/users/tmatsuo/orgs","repos_url":"https://api.github.com/users/tmatsuo/repos","events_url":"https://api.github.com/users/tmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/tmatsuo/received_events","type":"User","site_admin":false},"body":"Fixes #131.","created_at":"2015-12-07T22:05:43Z","updated_at":"2015-12-08T20:46:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8eb644d0c52e5d754971b80b55107773b4ae5ce0","assignee":null,"milestone":{"url":"https://api.github.com/repos/satooshi/php-coveralls/milestones/2","html_url":"https://github.com/satooshi/php-coveralls/milestones/v0.7","labels_url":"https://api.github.com/repos/satooshi/php-coveralls/milestones/2/labels","id":324807,"number":2,"title":"v0.7","description":"","creator":{"login":"satooshi","id":565839,"avatar_url":"https://avatars.githubusercontent.com/u/565839?v=3","gravatar_id":"","url":"https://api.github.com/users/satooshi","html_url":"https://github.com/satooshi","followers_url":"https://api.github.com/users/satooshi/followers","following_url":"https://api.github.com/users/satooshi/following{/other_user}","gists_url":"https://api.github.com/users/satooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/satooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satooshi/subscriptions","organizations_url":"https://api.github.com/users/satooshi/orgs","repos_url":"https://api.github.com/users/satooshi/repos","events_url":"https://api.github.com/users/satooshi/events{/privacy}","received_events_url":"https://api.github.com/users/satooshi/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":12,"state":"open","created_at":"2013-05-01T14:36:58Z","updated_at":"2015-12-08T04:24:57Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137/commits","review_comments_url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137/comments","review_comment_url":"https://api.github.com/repos/satooshi/php-coveralls/pulls/comments{/number}","comments_url":"https://api.github.com/repos/satooshi/php-coveralls/issues/137/comments","statuses_url":"https://api.github.com/repos/satooshi/php-coveralls/statuses/ae722b16980a0f1d4d874d6f28f4adf30948f04e","head":{"label":"tmatsuo:test-refactoring","ref":"test-refactoring","sha":"ae722b16980a0f1d4d874d6f28f4adf30948f04e","user":{"login":"tmatsuo","id":41815,"avatar_url":"https://avatars.githubusercontent.com/u/41815?v=3","gravatar_id":"","url":"https://api.github.com/users/tmatsuo","html_url":"https://github.com/tmatsuo","followers_url":"https://api.github.com/users/tmatsuo/followers","following_url":"https://api.github.com/users/tmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/tmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/tmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmatsuo/subscriptions","organizations_url":"https://api.github.com/users/tmatsuo/orgs","repos_url":"https://api.github.com/users/tmatsuo/repos","events_url":"https://api.github.com/users/tmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/tmatsuo/received_events","type":"User","site_admin":false},"repo":{"id":47347460,"name":"php-coveralls","full_name":"tmatsuo/php-coveralls","owner":{"login":"tmatsuo","id":41815,"avatar_url":"https://avatars.githubusercontent.com/u/41815?v=3","gravatar_id":"","url":"https://api.github.com/users/tmatsuo","html_url":"https://github.com/tmatsuo","followers_url":"https://api.github.com/users/tmatsuo/followers","following_url":"https://api.github.com/users/tmatsuo/following{/other_user}","gists_url":"https://api.github.com/users/tmatsuo/gists{/gist_id}","starred_url":"https://api.github.com/users/tmatsuo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmatsuo/subscriptions","organizations_url":"https://api.github.com/users/tmatsuo/orgs","repos_url":"https://api.github.com/users/tmatsuo/repos","events_url":"https://api.github.com/users/tmatsuo/events{/privacy}","received_events_url":"https://api.github.com/users/tmatsuo/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmatsuo/php-coveralls","description":"PHP client library for Coveralls API.","fork":true,"url":"https://api.github.com/repos/tmatsuo/php-coveralls","forks_url":"https://api.github.com/repos/tmatsuo/php-coveralls/forks","keys_url":"https://api.github.com/repos/tmatsuo/php-coveralls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmatsuo/php-coveralls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmatsuo/php-coveralls/teams","hooks_url":"https://api.github.com/repos/tmatsuo/php-coveralls/hooks","issue_events_url":"https://api.github.com/repos/tmatsuo/php-coveralls/issues/events{/number}","events_url":"https://api.github.com/repos/tmatsuo/php-coveralls/events","assignees_url":"https://api.github.com/repos/tmatsuo/php-coveralls/assignees{/user}","branches_url":"https://api.github.com/repos/tmatsuo/php-coveralls/branches{/branch}","tags_url":"https://api.github.com/repos/tmatsuo/php-coveralls/tags","blobs_url":"https://api.github.com/repos/tmatsuo/php-coveralls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmatsuo/php-coveralls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmatsuo/php-coveralls/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmatsuo/php-coveralls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmatsuo/php-coveralls/statuses/{sha}","languages_url":"https://api.github.com/repos/tmatsuo/php-coveralls/languages","stargazers_url":"https://api.github.com/repos/tmatsuo/php-coveralls/stargazers","contributors_url":"https://api.github.com/repos/tmatsuo/php-coveralls/contributors","subscribers_url":"https://api.github.com/repos/tmatsuo/php-coveralls/subscribers","subscription_url":"https://api.github.com/repos/tmatsuo/php-coveralls/subscription","commits_url":"https://api.github.com/repos/tmatsuo/php-coveralls/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmatsuo/php-coveralls/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmatsuo/php-coveralls/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmatsuo/php-coveralls/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmatsuo/php-coveralls/contents/{+path}","compare_url":"https://api.github.com/repos/tmatsuo/php-coveralls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmatsuo/php-coveralls/merges","archive_url":"https://api.github.com/repos/tmatsuo/php-coveralls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmatsuo/php-coveralls/downloads","issues_url":"https://api.github.com/repos/tmatsuo/php-coveralls/issues{/number}","pulls_url":"https://api.github.com/repos/tmatsuo/php-coveralls/pulls{/number}","milestones_url":"https://api.github.com/repos/tmatsuo/php-coveralls/milestones{/number}","notifications_url":"https://api.github.com/repos/tmatsuo/php-coveralls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmatsuo/php-coveralls/labels{/name}","releases_url":"https://api.github.com/repos/tmatsuo/php-coveralls/releases{/id}","created_at":"2015-12-03T17:13:51Z","updated_at":"2015-12-03T17:13:52Z","pushed_at":"2015-12-08T20:19:47Z","git_url":"git://github.com/tmatsuo/php-coveralls.git","ssh_url":"git@github.com:tmatsuo/php-coveralls.git","clone_url":"https://github.com/tmatsuo/php-coveralls.git","svn_url":"https://github.com/tmatsuo/php-coveralls","homepage":"","size":4768,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"satooshi:master","ref":"master","sha":"93990f06d8580db8912abbd4cd62ffccb94fe4ec","user":{"login":"satooshi","id":565839,"avatar_url":"https://avatars.githubusercontent.com/u/565839?v=3","gravatar_id":"","url":"https://api.github.com/users/satooshi","html_url":"https://github.com/satooshi","followers_url":"https://api.github.com/users/satooshi/followers","following_url":"https://api.github.com/users/satooshi/following{/other_user}","gists_url":"https://api.github.com/users/satooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/satooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satooshi/subscriptions","organizations_url":"https://api.github.com/users/satooshi/orgs","repos_url":"https://api.github.com/users/satooshi/repos","events_url":"https://api.github.com/users/satooshi/events{/privacy}","received_events_url":"https://api.github.com/users/satooshi/received_events","type":"User","site_admin":false},"repo":{"id":9407192,"name":"php-coveralls","full_name":"satooshi/php-coveralls","owner":{"login":"satooshi","id":565839,"avatar_url":"https://avatars.githubusercontent.com/u/565839?v=3","gravatar_id":"","url":"https://api.github.com/users/satooshi","html_url":"https://github.com/satooshi","followers_url":"https://api.github.com/users/satooshi/followers","following_url":"https://api.github.com/users/satooshi/following{/other_user}","gists_url":"https://api.github.com/users/satooshi/gists{/gist_id}","starred_url":"https://api.github.com/users/satooshi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/satooshi/subscriptions","organizations_url":"https://api.github.com/users/satooshi/orgs","repos_url":"https://api.github.com/users/satooshi/repos","events_url":"https://api.github.com/users/satooshi/events{/privacy}","received_events_url":"https://api.github.com/users/satooshi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/satooshi/php-coveralls","description":"PHP client library for Coveralls API.","fork":false,"url":"https://api.github.com/repos/satooshi/php-coveralls","forks_url":"https://api.github.com/repos/satooshi/php-coveralls/forks","keys_url":"https://api.github.com/repos/satooshi/php-coveralls/keys{/key_id}","collaborators_url":"https://api.github.com/repos/satooshi/php-coveralls/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/satooshi/php-coveralls/teams","hooks_url":"https://api.github.com/repos/satooshi/php-coveralls/hooks","issue_events_url":"https://api.github.com/repos/satooshi/php-coveralls/issues/events{/number}","events_url":"https://api.github.com/repos/satooshi/php-coveralls/events","assignees_url":"https://api.github.com/repos/satooshi/php-coveralls/assignees{/user}","branches_url":"https://api.github.com/repos/satooshi/php-coveralls/branches{/branch}","tags_url":"https://api.github.com/repos/satooshi/php-coveralls/tags","blobs_url":"https://api.github.com/repos/satooshi/php-coveralls/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/satooshi/php-coveralls/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/satooshi/php-coveralls/git/refs{/sha}","trees_url":"https://api.github.com/repos/satooshi/php-coveralls/git/trees{/sha}","statuses_url":"https://api.github.com/repos/satooshi/php-coveralls/statuses/{sha}","languages_url":"https://api.github.com/repos/satooshi/php-coveralls/languages","stargazers_url":"https://api.github.com/repos/satooshi/php-coveralls/stargazers","contributors_url":"https://api.github.com/repos/satooshi/php-coveralls/contributors","subscribers_url":"https://api.github.com/repos/satooshi/php-coveralls/subscribers","subscription_url":"https://api.github.com/repos/satooshi/php-coveralls/subscription","commits_url":"https://api.github.com/repos/satooshi/php-coveralls/commits{/sha}","git_commits_url":"https://api.github.com/repos/satooshi/php-coveralls/git/commits{/sha}","comments_url":"https://api.github.com/repos/satooshi/php-coveralls/comments{/number}","issue_comment_url":"https://api.github.com/repos/satooshi/php-coveralls/issues/comments{/number}","contents_url":"https://api.github.com/repos/satooshi/php-coveralls/contents/{+path}","compare_url":"https://api.github.com/repos/satooshi/php-coveralls/compare/{base}...{head}","merges_url":"https://api.github.com/repos/satooshi/php-coveralls/merges","archive_url":"https://api.github.com/repos/satooshi/php-coveralls/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/satooshi/php-coveralls/downloads","issues_url":"https://api.github.com/repos/satooshi/php-coveralls/issues{/number}","pulls_url":"https://api.github.com/repos/satooshi/php-coveralls/pulls{/number}","milestones_url":"https://api.github.com/repos/satooshi/php-coveralls/milestones{/number}","notifications_url":"https://api.github.com/repos/satooshi/php-coveralls/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/satooshi/php-coveralls/labels{/name}","releases_url":"https://api.github.com/repos/satooshi/php-coveralls/releases{/id}","created_at":"2013-04-13T01:50:26Z","updated_at":"2015-12-08T08:37:34Z","pushed_at":"2015-12-08T20:32:44Z","git_url":"git://github.com/satooshi/php-coveralls.git","ssh_url":"git@github.com:satooshi/php-coveralls.git","clone_url":"https://github.com/satooshi/php-coveralls.git","svn_url":"https://github.com/satooshi/php-coveralls","homepage":"","size":4896,"stargazers_count":234,"watchers_count":234,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":63,"mirror_url":null,"open_issues_count":16,"forks":63,"open_issues":16,"watchers":234,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137"},"html":{"href":"https://github.com/satooshi/php-coveralls/pull/137"},"issue":{"href":"https://api.github.com/repos/satooshi/php-coveralls/issues/137"},"comments":{"href":"https://api.github.com/repos/satooshi/php-coveralls/issues/137/comments"},"review_comments":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137/comments"},"review_comment":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/satooshi/php-coveralls/pulls/137/commits"},"statuses":{"href":"https://api.github.com/repos/satooshi/php-coveralls/statuses/ae722b16980a0f1d4d874d6f28f4adf30948f04e"}}}}