{"action":"closed","number":1109,"pull_request":{"url":"https://api.github.com/repos/rectorphp/rector/pulls/1109","id":255602696,"node_id":"MDExOlB1bGxSZXF1ZXN0MjU1NjAyNjk2","html_url":"https://github.com/rectorphp/rector/pull/1109","diff_url":"https://github.com/rectorphp/rector/pull/1109.diff","patch_url":"https://github.com/rectorphp/rector/pull/1109.patch","issue_url":"https://api.github.com/repos/rectorphp/rector/issues/1109","number":1109,"state":"closed","locked":false,"title":"ArrayKeyFirstLastRector fixes, CreateFunctionToAnonymousFunctionRector fixes","user":{"login":"TomasVotruba","id":924196,"node_id":"MDQ6VXNlcjkyNDE5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/924196?v=4","gravatar_id":"","url":"https://api.github.com/users/TomasVotruba","html_url":"https://github.com/TomasVotruba","followers_url":"https://api.github.com/users/TomasVotruba/followers","following_url":"https://api.github.com/users/TomasVotruba/following{/other_user}","gists_url":"https://api.github.com/users/TomasVotruba/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasVotruba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasVotruba/subscriptions","organizations_url":"https://api.github.com/users/TomasVotruba/orgs","repos_url":"https://api.github.com/users/TomasVotruba/repos","events_url":"https://api.github.com/users/TomasVotruba/events{/privacy}","received_events_url":"https://api.github.com/users/TomasVotruba/received_events","type":"User","site_admin":false},"body":"- Closes #1080\r\n- Closes #1102","created_at":"2019-02-23T09:24:01Z","updated_at":"2019-02-23T09:46:24Z","closed_at":"2019-02-23T09:46:24Z","merged_at":"2019-02-23T09:46:24Z","merge_commit_sha":"5e91bcda1864ce6421cf4fb82bc60fe20ae5c68c","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/rectorphp/rector/pulls/1109/commits","review_comments_url":"https://api.github.com/repos/rectorphp/rector/pulls/1109/comments","review_comment_url":"https://api.github.com/repos/rectorphp/rector/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rectorphp/rector/issues/1109/comments","statuses_url":"https://api.github.com/repos/rectorphp/rector/statuses/f666bbe1de3f733f5ddf86dd9490073c8a0b6f60","head":{"label":"rectorphp:bug-fixes","ref":"bug-fixes","sha":"f666bbe1de3f733f5ddf86dd9490073c8a0b6f60","user":{"login":"rectorphp","id":32097581,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDk3NTgx","avatar_url":"https://avatars1.githubusercontent.com/u/32097581?v=4","gravatar_id":"","url":"https://api.github.com/users/rectorphp","html_url":"https://github.com/rectorphp","followers_url":"https://api.github.com/users/rectorphp/followers","following_url":"https://api.github.com/users/rectorphp/following{/other_user}","gists_url":"https://api.github.com/users/rectorphp/gists{/gist_id}","starred_url":"https://api.github.com/users/rectorphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rectorphp/subscriptions","organizations_url":"https://api.github.com/users/rectorphp/orgs","repos_url":"https://api.github.com/users/rectorphp/repos","events_url":"https://api.github.com/users/rectorphp/events{/privacy}","received_events_url":"https://api.github.com/users/rectorphp/received_events","type":"Organization","site_admin":false},"repo":{"id":97311017,"node_id":"MDEwOlJlcG9zaXRvcnk5NzMxMTAxNw==","name":"rector","full_name":"rectorphp/rector","private":false,"owner":{"login":"rectorphp","id":32097581,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDk3NTgx","avatar_url":"https://avatars1.githubusercontent.com/u/32097581?v=4","gravatar_id":"","url":"https://api.github.com/users/rectorphp","html_url":"https://github.com/rectorphp","followers_url":"https://api.github.com/users/rectorphp/followers","following_url":"https://api.github.com/users/rectorphp/following{/other_user}","gists_url":"https://api.github.com/users/rectorphp/gists{/gist_id}","starred_url":"https://api.github.com/users/rectorphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rectorphp/subscriptions","organizations_url":"https://api.github.com/users/rectorphp/orgs","repos_url":"https://api.github.com/users/rectorphp/repos","events_url":"https://api.github.com/users/rectorphp/events{/privacy}","received_events_url":"https://api.github.com/users/rectorphp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rectorphp/rector","description":"Instant Upgrades for PHP Applications ","fork":false,"url":"https://api.github.com/repos/rectorphp/rector","forks_url":"https://api.github.com/repos/rectorphp/rector/forks","keys_url":"https://api.github.com/repos/rectorphp/rector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rectorphp/rector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rectorphp/rector/teams","hooks_url":"https://api.github.com/repos/rectorphp/rector/hooks","issue_events_url":"https://api.github.com/repos/rectorphp/rector/issues/events{/number}","events_url":"https://api.github.com/repos/rectorphp/rector/events","assignees_url":"https://api.github.com/repos/rectorphp/rector/assignees{/user}","branches_url":"https://api.github.com/repos/rectorphp/rector/branches{/branch}","tags_url":"https://api.github.com/repos/rectorphp/rector/tags","blobs_url":"https://api.github.com/repos/rectorphp/rector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rectorphp/rector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rectorphp/rector/git/refs{/sha}","trees_url":"https://api.github.com/repos/rectorphp/rector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rectorphp/rector/statuses/{sha}","languages_url":"https://api.github.com/repos/rectorphp/rector/languages","stargazers_url":"https://api.github.com/repos/rectorphp/rector/stargazers","contributors_url":"https://api.github.com/repos/rectorphp/rector/contributors","subscribers_url":"https://api.github.com/repos/rectorphp/rector/subscribers","subscription_url":"https://api.github.com/repos/rectorphp/rector/subscription","commits_url":"https://api.github.com/repos/rectorphp/rector/commits{/sha}","git_commits_url":"https://api.github.com/repos/rectorphp/rector/git/commits{/sha}","comments_url":"https://api.github.com/repos/rectorphp/rector/comments{/number}","issue_comment_url":"https://api.github.com/repos/rectorphp/rector/issues/comments{/number}","contents_url":"https://api.github.com/repos/rectorphp/rector/contents/{+path}","compare_url":"https://api.github.com/repos/rectorphp/rector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rectorphp/rector/merges","archive_url":"https://api.github.com/repos/rectorphp/rector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rectorphp/rector/downloads","issues_url":"https://api.github.com/repos/rectorphp/rector/issues{/number}","pulls_url":"https://api.github.com/repos/rectorphp/rector/pulls{/number}","milestones_url":"https://api.github.com/repos/rectorphp/rector/milestones{/number}","notifications_url":"https://api.github.com/repos/rectorphp/rector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rectorphp/rector/labels{/name}","releases_url":"https://api.github.com/repos/rectorphp/rector/releases{/id}","deployments_url":"https://api.github.com/repos/rectorphp/rector/deployments","created_at":"2017-07-15T11:16:02Z","updated_at":"2019-02-23T09:32:43Z","pushed_at":"2019-02-23T09:46:24Z","git_url":"git://github.com/rectorphp/rector.git","ssh_url":"git@github.com:rectorphp/rector.git","clone_url":"https://github.com/rectorphp/rector.git","svn_url":"https://github.com/rectorphp/rector","homepage":"https://getrector.org","size":10399,"stargazers_count":799,"watchers_count":799,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":38,"open_issues":42,"watchers":799,"default_branch":"master"}},"base":{"label":"rectorphp:master","ref":"master","sha":"21743b5260086a92a44ff6ad8e66ff11803420eb","user":{"login":"rectorphp","id":32097581,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDk3NTgx","avatar_url":"https://avatars1.githubusercontent.com/u/32097581?v=4","gravatar_id":"","url":"https://api.github.com/users/rectorphp","html_url":"https://github.com/rectorphp","followers_url":"https://api.github.com/users/rectorphp/followers","following_url":"https://api.github.com/users/rectorphp/following{/other_user}","gists_url":"https://api.github.com/users/rectorphp/gists{/gist_id}","starred_url":"https://api.github.com/users/rectorphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rectorphp/subscriptions","organizations_url":"https://api.github.com/users/rectorphp/orgs","repos_url":"https://api.github.com/users/rectorphp/repos","events_url":"https://api.github.com/users/rectorphp/events{/privacy}","received_events_url":"https://api.github.com/users/rectorphp/received_events","type":"Organization","site_admin":false},"repo":{"id":97311017,"node_id":"MDEwOlJlcG9zaXRvcnk5NzMxMTAxNw==","name":"rector","full_name":"rectorphp/rector","private":false,"owner":{"login":"rectorphp","id":32097581,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMDk3NTgx","avatar_url":"https://avatars1.githubusercontent.com/u/32097581?v=4","gravatar_id":"","url":"https://api.github.com/users/rectorphp","html_url":"https://github.com/rectorphp","followers_url":"https://api.github.com/users/rectorphp/followers","following_url":"https://api.github.com/users/rectorphp/following{/other_user}","gists_url":"https://api.github.com/users/rectorphp/gists{/gist_id}","starred_url":"https://api.github.com/users/rectorphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rectorphp/subscriptions","organizations_url":"https://api.github.com/users/rectorphp/orgs","repos_url":"https://api.github.com/users/rectorphp/repos","events_url":"https://api.github.com/users/rectorphp/events{/privacy}","received_events_url":"https://api.github.com/users/rectorphp/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/rectorphp/rector","description":"Instant Upgrades for PHP Applications ","fork":false,"url":"https://api.github.com/repos/rectorphp/rector","forks_url":"https://api.github.com/repos/rectorphp/rector/forks","keys_url":"https://api.github.com/repos/rectorphp/rector/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rectorphp/rector/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rectorphp/rector/teams","hooks_url":"https://api.github.com/repos/rectorphp/rector/hooks","issue_events_url":"https://api.github.com/repos/rectorphp/rector/issues/events{/number}","events_url":"https://api.github.com/repos/rectorphp/rector/events","assignees_url":"https://api.github.com/repos/rectorphp/rector/assignees{/user}","branches_url":"https://api.github.com/repos/rectorphp/rector/branches{/branch}","tags_url":"https://api.github.com/repos/rectorphp/rector/tags","blobs_url":"https://api.github.com/repos/rectorphp/rector/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rectorphp/rector/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rectorphp/rector/git/refs{/sha}","trees_url":"https://api.github.com/repos/rectorphp/rector/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rectorphp/rector/statuses/{sha}","languages_url":"https://api.github.com/repos/rectorphp/rector/languages","stargazers_url":"https://api.github.com/repos/rectorphp/rector/stargazers","contributors_url":"https://api.github.com/repos/rectorphp/rector/contributors","subscribers_url":"https://api.github.com/repos/rectorphp/rector/subscribers","subscription_url":"https://api.github.com/repos/rectorphp/rector/subscription","commits_url":"https://api.github.com/repos/rectorphp/rector/commits{/sha}","git_commits_url":"https://api.github.com/repos/rectorphp/rector/git/commits{/sha}","comments_url":"https://api.github.com/repos/rectorphp/rector/comments{/number}","issue_comment_url":"https://api.github.com/repos/rectorphp/rector/issues/comments{/number}","contents_url":"https://api.github.com/repos/rectorphp/rector/contents/{+path}","compare_url":"https://api.github.com/repos/rectorphp/rector/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rectorphp/rector/merges","archive_url":"https://api.github.com/repos/rectorphp/rector/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rectorphp/rector/downloads","issues_url":"https://api.github.com/repos/rectorphp/rector/issues{/number}","pulls_url":"https://api.github.com/repos/rectorphp/rector/pulls{/number}","milestones_url":"https://api.github.com/repos/rectorphp/rector/milestones{/number}","notifications_url":"https://api.github.com/repos/rectorphp/rector/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rectorphp/rector/labels{/name}","releases_url":"https://api.github.com/repos/rectorphp/rector/releases{/id}","deployments_url":"https://api.github.com/repos/rectorphp/rector/deployments","created_at":"2017-07-15T11:16:02Z","updated_at":"2019-02-23T09:32:43Z","pushed_at":"2019-02-23T09:46:24Z","git_url":"git://github.com/rectorphp/rector.git","ssh_url":"git@github.com:rectorphp/rector.git","clone_url":"https://github.com/rectorphp/rector.git","svn_url":"https://github.com/rectorphp/rector","homepage":"https://getrector.org","size":10399,"stargazers_count":799,"watchers_count":799,"language":"PHP","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":38,"mirror_url":null,"archived":false,"open_issues_count":42,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":38,"open_issues":42,"watchers":799,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rectorphp/rector/pulls/1109"},"html":{"href":"https://github.com/rectorphp/rector/pull/1109"},"issue":{"href":"https://api.github.com/repos/rectorphp/rector/issues/1109"},"comments":{"href":"https://api.github.com/repos/rectorphp/rector/issues/1109/comments"},"review_comments":{"href":"https://api.github.com/repos/rectorphp/rector/pulls/1109/comments"},"review_comment":{"href":"https://api.github.com/repos/rectorphp/rector/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rectorphp/rector/pulls/1109/commits"},"statuses":{"href":"https://api.github.com/repos/rectorphp/rector/statuses/f666bbe1de3f733f5ddf86dd9490073c8a0b6f60"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"TomasVotruba","id":924196,"node_id":"MDQ6VXNlcjkyNDE5Ng==","avatar_url":"https://avatars1.githubusercontent.com/u/924196?v=4","gravatar_id":"","url":"https://api.github.com/users/TomasVotruba","html_url":"https://github.com/TomasVotruba","followers_url":"https://api.github.com/users/TomasVotruba/followers","following_url":"https://api.github.com/users/TomasVotruba/following{/other_user}","gists_url":"https://api.github.com/users/TomasVotruba/gists{/gist_id}","starred_url":"https://api.github.com/users/TomasVotruba/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TomasVotruba/subscriptions","organizations_url":"https://api.github.com/users/TomasVotruba/orgs","repos_url":"https://api.github.com/users/TomasVotruba/repos","events_url":"https://api.github.com/users/TomasVotruba/events{/privacy}","received_events_url":"https://api.github.com/users/TomasVotruba/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":4,"additions":270,"deletions":92,"changed_files":13}}
{"actor":{"display_login":"TomasVotruba"}}