{"action":"opened","number":657,"pull_request":{"url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657","id":193861720,"node_id":"MDExOlB1bGxSZXF1ZXN0MTkzODYxNzIw","html_url":"https://github.com/wimg/PHPCompatibility/pull/657","diff_url":"https://github.com/wimg/PHPCompatibility/pull/657.diff","patch_url":"https://github.com/wimg/PHPCompatibility/pull/657.patch","issue_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/657","number":657,"state":"open","locked":false,"title":"PHP 5.5: New sniff to detect unpacking nested arrays with list in foreach","user":{"login":"jrfnl","id":663378,"node_id":"MDQ6VXNlcjY2MzM3OA==","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},"body":":warning: **DO NOT MERGE YET. This PR is targetted at v 9.0.0** :warning: \r\n\r\n----\r\n\r\n> `foreach` now supports `list()`\r\n>\r\n> The `foreach` control structure now supports unpacking nested arrays into separate variables via the `list()` construct.\r\n\r\nRefs:\r\n* http://php.net/manual/en/migration55.new-features.php#migration55.new-features.foreach-list\r\n* http://php.net/manual/en/control-structures.foreach.php#control-structures.foreach.list\r\n* https://wiki.php.net/rfc/foreachlist","created_at":"2018-06-11T02:27:54Z","updated_at":"2018-06-11T02:27:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":701730,"node_id":"MDU6TGFiZWw3MDE3MzA=","url":"https://api.github.com/repos/wimg/PHPCompatibility/labels/enhancement","name":"enhancement","color":"84b6eb","default":true}],"milestone":{"url":"https://api.github.com/repos/wimg/PHPCompatibility/milestones/24","html_url":"https://github.com/wimg/PHPCompatibility/milestone/24","labels_url":"https://api.github.com/repos/wimg/PHPCompatibility/milestones/24/labels","id":3414034,"node_id":"MDk6TWlsZXN0b25lMzQxNDAzNA==","number":24,"title":"9.0.0","description":"","creator":{"login":"jrfnl","id":663378,"node_id":"MDQ6VXNlcjY2MzM3OA==","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},"open_issues":4,"closed_issues":0,"state":"open","created_at":"2018-06-11T02:15:52Z","updated_at":"2018-06-11T02:27:54Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657/commits","review_comments_url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657/comments","review_comment_url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/comments{/number}","comments_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/657/comments","statuses_url":"https://api.github.com/repos/wimg/PHPCompatibility/statuses/8d468ef31b3217a11789de6a69ec9396f78086ff","head":{"label":"wimg:php-5.5/new-lists-in-foreach-sniff","ref":"php-5.5/new-lists-in-foreach-sniff","sha":"8d468ef31b3217a11789de6a69ec9396f78086ff","user":{"login":"wimg","id":313511,"node_id":"MDQ6VXNlcjMxMzUxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/313511?v=4","gravatar_id":"","url":"https://api.github.com/users/wimg","html_url":"https://github.com/wimg","followers_url":"https://api.github.com/users/wimg/followers","following_url":"https://api.github.com/users/wimg/following{/other_user}","gists_url":"https://api.github.com/users/wimg/gists{/gist_id}","starred_url":"https://api.github.com/users/wimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimg/subscriptions","organizations_url":"https://api.github.com/users/wimg/orgs","repos_url":"https://api.github.com/users/wimg/repos","events_url":"https://api.github.com/users/wimg/events{/privacy}","received_events_url":"https://api.github.com/users/wimg/received_events","type":"User","site_admin":false},"repo":{"id":3614664,"node_id":"MDEwOlJlcG9zaXRvcnkzNjE0NjY0","name":"PHPCompatibility","full_name":"wimg/PHPCompatibility","owner":{"login":"wimg","id":313511,"node_id":"MDQ6VXNlcjMxMzUxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/313511?v=4","gravatar_id":"","url":"https://api.github.com/users/wimg","html_url":"https://github.com/wimg","followers_url":"https://api.github.com/users/wimg/followers","following_url":"https://api.github.com/users/wimg/following{/other_user}","gists_url":"https://api.github.com/users/wimg/gists{/gist_id}","starred_url":"https://api.github.com/users/wimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimg/subscriptions","organizations_url":"https://api.github.com/users/wimg/orgs","repos_url":"https://api.github.com/users/wimg/repos","events_url":"https://api.github.com/users/wimg/events{/privacy}","received_events_url":"https://api.github.com/users/wimg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wimg/PHPCompatibility","description":"PHP Compatibility check for PHP_CodeSniffer","fork":false,"url":"https://api.github.com/repos/wimg/PHPCompatibility","forks_url":"https://api.github.com/repos/wimg/PHPCompatibility/forks","keys_url":"https://api.github.com/repos/wimg/PHPCompatibility/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wimg/PHPCompatibility/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wimg/PHPCompatibility/teams","hooks_url":"https://api.github.com/repos/wimg/PHPCompatibility/hooks","issue_events_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/events{/number}","events_url":"https://api.github.com/repos/wimg/PHPCompatibility/events","assignees_url":"https://api.github.com/repos/wimg/PHPCompatibility/assignees{/user}","branches_url":"https://api.github.com/repos/wimg/PHPCompatibility/branches{/branch}","tags_url":"https://api.github.com/repos/wimg/PHPCompatibility/tags","blobs_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/refs{/sha}","trees_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wimg/PHPCompatibility/statuses/{sha}","languages_url":"https://api.github.com/repos/wimg/PHPCompatibility/languages","stargazers_url":"https://api.github.com/repos/wimg/PHPCompatibility/stargazers","contributors_url":"https://api.github.com/repos/wimg/PHPCompatibility/contributors","subscribers_url":"https://api.github.com/repos/wimg/PHPCompatibility/subscribers","subscription_url":"https://api.github.com/repos/wimg/PHPCompatibility/subscription","commits_url":"https://api.github.com/repos/wimg/PHPCompatibility/commits{/sha}","git_commits_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/commits{/sha}","comments_url":"https://api.github.com/repos/wimg/PHPCompatibility/comments{/number}","issue_comment_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/comments{/number}","contents_url":"https://api.github.com/repos/wimg/PHPCompatibility/contents/{+path}","compare_url":"https://api.github.com/repos/wimg/PHPCompatibility/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wimg/PHPCompatibility/merges","archive_url":"https://api.github.com/repos/wimg/PHPCompatibility/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wimg/PHPCompatibility/downloads","issues_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues{/number}","pulls_url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls{/number}","milestones_url":"https://api.github.com/repos/wimg/PHPCompatibility/milestones{/number}","notifications_url":"https://api.github.com/repos/wimg/PHPCompatibility/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wimg/PHPCompatibility/labels{/name}","releases_url":"https://api.github.com/repos/wimg/PHPCompatibility/releases{/id}","deployments_url":"https://api.github.com/repos/wimg/PHPCompatibility/deployments","created_at":"2012-03-03T23:36:15Z","updated_at":"2018-06-10T19:31:04Z","pushed_at":"2018-06-11T02:27:00Z","git_url":"git://github.com/wimg/PHPCompatibility.git","ssh_url":"git@github.com:wimg/PHPCompatibility.git","clone_url":"https://github.com/wimg/PHPCompatibility.git","svn_url":"https://github.com/wimg/PHPCompatibility","homepage":"http://techblog.wimgodden.be/tag/codesniffer/","size":2174,"stargazers_count":841,"watchers_count":841,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":114,"open_issues":64,"watchers":841,"default_branch":"master"}},"base":{"label":"wimg:master","ref":"master","sha":"2362a4e93eae6ab8e1d40a3e8c5417c49fb7b609","user":{"login":"wimg","id":313511,"node_id":"MDQ6VXNlcjMxMzUxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/313511?v=4","gravatar_id":"","url":"https://api.github.com/users/wimg","html_url":"https://github.com/wimg","followers_url":"https://api.github.com/users/wimg/followers","following_url":"https://api.github.com/users/wimg/following{/other_user}","gists_url":"https://api.github.com/users/wimg/gists{/gist_id}","starred_url":"https://api.github.com/users/wimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimg/subscriptions","organizations_url":"https://api.github.com/users/wimg/orgs","repos_url":"https://api.github.com/users/wimg/repos","events_url":"https://api.github.com/users/wimg/events{/privacy}","received_events_url":"https://api.github.com/users/wimg/received_events","type":"User","site_admin":false},"repo":{"id":3614664,"node_id":"MDEwOlJlcG9zaXRvcnkzNjE0NjY0","name":"PHPCompatibility","full_name":"wimg/PHPCompatibility","owner":{"login":"wimg","id":313511,"node_id":"MDQ6VXNlcjMxMzUxMQ==","avatar_url":"https://avatars2.githubusercontent.com/u/313511?v=4","gravatar_id":"","url":"https://api.github.com/users/wimg","html_url":"https://github.com/wimg","followers_url":"https://api.github.com/users/wimg/followers","following_url":"https://api.github.com/users/wimg/following{/other_user}","gists_url":"https://api.github.com/users/wimg/gists{/gist_id}","starred_url":"https://api.github.com/users/wimg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wimg/subscriptions","organizations_url":"https://api.github.com/users/wimg/orgs","repos_url":"https://api.github.com/users/wimg/repos","events_url":"https://api.github.com/users/wimg/events{/privacy}","received_events_url":"https://api.github.com/users/wimg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/wimg/PHPCompatibility","description":"PHP Compatibility check for PHP_CodeSniffer","fork":false,"url":"https://api.github.com/repos/wimg/PHPCompatibility","forks_url":"https://api.github.com/repos/wimg/PHPCompatibility/forks","keys_url":"https://api.github.com/repos/wimg/PHPCompatibility/keys{/key_id}","collaborators_url":"https://api.github.com/repos/wimg/PHPCompatibility/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/wimg/PHPCompatibility/teams","hooks_url":"https://api.github.com/repos/wimg/PHPCompatibility/hooks","issue_events_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/events{/number}","events_url":"https://api.github.com/repos/wimg/PHPCompatibility/events","assignees_url":"https://api.github.com/repos/wimg/PHPCompatibility/assignees{/user}","branches_url":"https://api.github.com/repos/wimg/PHPCompatibility/branches{/branch}","tags_url":"https://api.github.com/repos/wimg/PHPCompatibility/tags","blobs_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/refs{/sha}","trees_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/trees{/sha}","statuses_url":"https://api.github.com/repos/wimg/PHPCompatibility/statuses/{sha}","languages_url":"https://api.github.com/repos/wimg/PHPCompatibility/languages","stargazers_url":"https://api.github.com/repos/wimg/PHPCompatibility/stargazers","contributors_url":"https://api.github.com/repos/wimg/PHPCompatibility/contributors","subscribers_url":"https://api.github.com/repos/wimg/PHPCompatibility/subscribers","subscription_url":"https://api.github.com/repos/wimg/PHPCompatibility/subscription","commits_url":"https://api.github.com/repos/wimg/PHPCompatibility/commits{/sha}","git_commits_url":"https://api.github.com/repos/wimg/PHPCompatibility/git/commits{/sha}","comments_url":"https://api.github.com/repos/wimg/PHPCompatibility/comments{/number}","issue_comment_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues/comments{/number}","contents_url":"https://api.github.com/repos/wimg/PHPCompatibility/contents/{+path}","compare_url":"https://api.github.com/repos/wimg/PHPCompatibility/compare/{base}...{head}","merges_url":"https://api.github.com/repos/wimg/PHPCompatibility/merges","archive_url":"https://api.github.com/repos/wimg/PHPCompatibility/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/wimg/PHPCompatibility/downloads","issues_url":"https://api.github.com/repos/wimg/PHPCompatibility/issues{/number}","pulls_url":"https://api.github.com/repos/wimg/PHPCompatibility/pulls{/number}","milestones_url":"https://api.github.com/repos/wimg/PHPCompatibility/milestones{/number}","notifications_url":"https://api.github.com/repos/wimg/PHPCompatibility/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/wimg/PHPCompatibility/labels{/name}","releases_url":"https://api.github.com/repos/wimg/PHPCompatibility/releases{/id}","deployments_url":"https://api.github.com/repos/wimg/PHPCompatibility/deployments","created_at":"2012-03-03T23:36:15Z","updated_at":"2018-06-10T19:31:04Z","pushed_at":"2018-06-11T02:27:00Z","git_url":"git://github.com/wimg/PHPCompatibility.git","ssh_url":"git@github.com:wimg/PHPCompatibility.git","clone_url":"https://github.com/wimg/PHPCompatibility.git","svn_url":"https://github.com/wimg/PHPCompatibility","homepage":"http://techblog.wimgodden.be/tag/codesniffer/","size":2174,"stargazers_count":841,"watchers_count":841,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":114,"mirror_url":null,"archived":false,"open_issues_count":64,"license":{"key":"lgpl-3.0","name":"GNU Lesser General Public License v3.0","spdx_id":"LGPL-3.0","url":"https://api.github.com/licenses/lgpl-3.0","node_id":"MDc6TGljZW5zZTEy"},"forks":114,"open_issues":64,"watchers":841,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657"},"html":{"href":"https://github.com/wimg/PHPCompatibility/pull/657"},"issue":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/issues/657"},"comments":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/issues/657/comments"},"review_comments":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657/comments"},"review_comment":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/pulls/657/commits"},"statuses":{"href":"https://api.github.com/repos/wimg/PHPCompatibility/statuses/8d468ef31b3217a11789de6a69ec9396f78086ff"}},"author_association":"COLLABORATOR","merged":false,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":202,"deletions":0,"changed_files":3}}
{"actor":{"display_login":"jrfnl"}}