{"action":"closed","number":1060,"pull_request":{"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060","id":132253480,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1060","diff_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1060.diff","patch_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1060.patch","issue_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1060","number":1060,"state":"closed","locked":false,"title":"Update Travis CI example in README.md","user":{"login":"barryceelen","id":4179791,"avatar_url":"https://avatars3.githubusercontent.com/u/4179791?v=4","gravatar_id":"","url":"https://api.github.com/users/barryceelen","html_url":"https://github.com/barryceelen","followers_url":"https://api.github.com/users/barryceelen/followers","following_url":"https://api.github.com/users/barryceelen/following{/other_user}","gists_url":"https://api.github.com/users/barryceelen/gists{/gist_id}","starred_url":"https://api.github.com/users/barryceelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryceelen/subscriptions","organizations_url":"https://api.github.com/users/barryceelen/orgs","repos_url":"https://api.github.com/users/barryceelen/repos","events_url":"https://api.github.com/users/barryceelen/events{/privacy}","received_events_url":"https://api.github.com/users/barryceelen/received_events","type":"User","site_admin":false},"body":"When using the [Travis CI example](https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards#travis-ci) verbatim, the build seems to choke on:\r\n```\r\n- if [[ \"$SNIFF\" == \"1\" ]]; export PHPCS_DIR=/tmp/phpcs; fi\r\n- if [[ \"$SNIFF\" == \"1\" ]]; export SNIFFS_DIR=/tmp/sniffs; fi\r\n```\r\nAdding `then` resolves that issue.\r\n\r\n(In the current example the master branch of PHP_Codesniffer is used, which does not work with the current WPCS version. I guess this will be fixed via #1047.)","created_at":"2017-07-25T10:58:37Z","updated_at":"2017-07-25T11:23:59Z","closed_at":"2017-07-25T11:23:59Z","merged_at":"2017-07-25T11:23:59Z","merge_commit_sha":"d054dc6d3e8db9b59a963c1db44e936916d4b069","assignee":null,"assignees":[],"requested_reviewers":[],"milestone":null,"commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060/commits","review_comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060/comments","review_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1060/comments","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/cdd8a7e0e043aced139fb0ca8f5e867b43bd1a9e","head":{"label":"barryceelen:travis-example","ref":"travis-example","sha":"cdd8a7e0e043aced139fb0ca8f5e867b43bd1a9e","user":{"login":"barryceelen","id":4179791,"avatar_url":"https://avatars3.githubusercontent.com/u/4179791?v=4","gravatar_id":"","url":"https://api.github.com/users/barryceelen","html_url":"https://github.com/barryceelen","followers_url":"https://api.github.com/users/barryceelen/followers","following_url":"https://api.github.com/users/barryceelen/following{/other_user}","gists_url":"https://api.github.com/users/barryceelen/gists{/gist_id}","starred_url":"https://api.github.com/users/barryceelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryceelen/subscriptions","organizations_url":"https://api.github.com/users/barryceelen/orgs","repos_url":"https://api.github.com/users/barryceelen/repos","events_url":"https://api.github.com/users/barryceelen/events{/privacy}","received_events_url":"https://api.github.com/users/barryceelen/received_events","type":"User","site_admin":false},"repo":{"id":98294884,"name":"WordPress-Coding-Standards","full_name":"barryceelen/WordPress-Coding-Standards","owner":{"login":"barryceelen","id":4179791,"avatar_url":"https://avatars3.githubusercontent.com/u/4179791?v=4","gravatar_id":"","url":"https://api.github.com/users/barryceelen","html_url":"https://github.com/barryceelen","followers_url":"https://api.github.com/users/barryceelen/followers","following_url":"https://api.github.com/users/barryceelen/following{/other_user}","gists_url":"https://api.github.com/users/barryceelen/gists{/gist_id}","starred_url":"https://api.github.com/users/barryceelen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/barryceelen/subscriptions","organizations_url":"https://api.github.com/users/barryceelen/orgs","repos_url":"https://api.github.com/users/barryceelen/repos","events_url":"https://api.github.com/users/barryceelen/events{/privacy}","received_events_url":"https://api.github.com/users/barryceelen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/barryceelen/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":true,"url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/releases{/id}","deployments_url":"https://api.github.com/repos/barryceelen/WordPress-Coding-Standards/deployments","created_at":"2017-07-25T10:32:17Z","updated_at":"2017-07-25T10:32:19Z","pushed_at":"2017-07-25T10:34:12Z","git_url":"git://github.com/barryceelen/WordPress-Coding-Standards.git","ssh_url":"git@github.com:barryceelen/WordPress-Coding-Standards.git","clone_url":"https://github.com/barryceelen/WordPress-Coding-Standards.git","svn_url":"https://github.com/barryceelen/WordPress-Coding-Standards","homepage":"","size":2066,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_projects":true,"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":"develop"}},"base":{"label":"WordPress-Coding-Standards:develop","ref":"develop","sha":"d3e8ba7b6b1f8ba5d02d8476ed2281a46793fabc","user":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"repo":{"id":1691187,"name":"WordPress-Coding-Standards","full_name":"WordPress-Coding-Standards/WordPress-Coding-Standards","owner":{"login":"WordPress-Coding-Standards","id":3841697,"avatar_url":"https://avatars2.githubusercontent.com/u/3841697?v=4","gravatar_id":"","url":"https://api.github.com/users/WordPress-Coding-Standards","html_url":"https://github.com/WordPress-Coding-Standards","followers_url":"https://api.github.com/users/WordPress-Coding-Standards/followers","following_url":"https://api.github.com/users/WordPress-Coding-Standards/following{/other_user}","gists_url":"https://api.github.com/users/WordPress-Coding-Standards/gists{/gist_id}","starred_url":"https://api.github.com/users/WordPress-Coding-Standards/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WordPress-Coding-Standards/subscriptions","organizations_url":"https://api.github.com/users/WordPress-Coding-Standards/orgs","repos_url":"https://api.github.com/users/WordPress-Coding-Standards/repos","events_url":"https://api.github.com/users/WordPress-Coding-Standards/events{/privacy}","received_events_url":"https://api.github.com/users/WordPress-Coding-Standards/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","description":"PHP_CodeSniffer rules (sniffs) to enforce WordPress coding conventions","fork":false,"url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards","forks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/forks","keys_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/teams","hooks_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/hooks","issue_events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/events{/number}","events_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/events","assignees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/assignees{/user}","branches_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/branches{/branch}","tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/tags","blobs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/refs{/sha}","trees_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/{sha}","languages_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/languages","stargazers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/stargazers","contributors_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contributors","subscribers_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscribers","subscription_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/subscription","commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/commits{/sha}","git_commits_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/git/commits{/sha}","comments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/comments{/number}","issue_comment_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/comments{/number}","contents_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/contents/{+path}","compare_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/merges","archive_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/downloads","issues_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues{/number}","pulls_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls{/number}","milestones_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/milestones{/number}","notifications_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/labels{/name}","releases_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/releases{/id}","deployments_url":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/deployments","created_at":"2011-05-02T12:49:18Z","updated_at":"2017-07-24T16:36:55Z","pushed_at":"2017-07-25T11:23:59Z","git_url":"git://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","ssh_url":"git@github.com:WordPress-Coding-Standards/WordPress-Coding-Standards.git","clone_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards.git","svn_url":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards","homepage":"","size":2067,"stargazers_count":1001,"watchers_count":1001,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":214,"mirror_url":null,"open_issues_count":135,"forks":214,"open_issues":135,"watchers":1001,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060"},"html":{"href":"https://github.com/WordPress-Coding-Standards/WordPress-Coding-Standards/pull/1060"},"issue":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1060"},"comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/issues/1060/comments"},"review_comments":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060/comments"},"review_comment":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/pulls/1060/commits"},"statuses":{"href":"https://api.github.com/repos/WordPress-Coding-Standards/WordPress-Coding-Standards/statuses/cdd8a7e0e043aced139fb0ca8f5e867b43bd1a9e"}},"merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"jrfnl","id":663378,"avatar_url":"https://avatars1.githubusercontent.com/u/663378?v=4","gravatar_id":"","url":"https://api.github.com/users/jrfnl","html_url":"https://github.com/jrfnl","followers_url":"https://api.github.com/users/jrfnl/followers","following_url":"https://api.github.com/users/jrfnl/following{/other_user}","gists_url":"https://api.github.com/users/jrfnl/gists{/gist_id}","starred_url":"https://api.github.com/users/jrfnl/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jrfnl/subscriptions","organizations_url":"https://api.github.com/users/jrfnl/orgs","repos_url":"https://api.github.com/users/jrfnl/repos","events_url":"https://api.github.com/users/jrfnl/events{/privacy}","received_events_url":"https://api.github.com/users/jrfnl/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":2,"changed_files":1}}
{"actor":{"display_login":"jrfnl"}}