{"action":"opened","number":1781,"pull_request":{"url":"https://api.github.com/repos/twigphp/Twig/pulls/1781","id":43033161,"html_url":"https://github.com/twigphp/Twig/pull/1781","diff_url":"https://github.com/twigphp/Twig/pull/1781.diff","patch_url":"https://github.com/twigphp/Twig/pull/1781.patch","issue_url":"https://api.github.com/repos/twigphp/Twig/issues/1781","number":1781,"state":"open","locked":false,"title":"move property initialization to the declaration when possible","user":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"body":"This normalization is what I did in symfony in symfony/symfony#9487\r\n\r\nI switched to short array syntax only in properties.","created_at":"2015-08-21T12:37:54Z","updated_at":"2015-08-21T12:37:54Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/twigphp/Twig/pulls/1781/commits","review_comments_url":"https://api.github.com/repos/twigphp/Twig/pulls/1781/comments","review_comment_url":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}","comments_url":"https://api.github.com/repos/twigphp/Twig/issues/1781/comments","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/c7653f5a78e42400bb12520e81cff85014284e1a","head":{"label":"Tobion:initialization","ref":"initialization","sha":"c7653f5a78e42400bb12520e81cff85014284e1a","user":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"repo":{"id":2826152,"name":"Twig","full_name":"Tobion/Twig","owner":{"login":"Tobion","id":610090,"avatar_url":"https://avatars.githubusercontent.com/u/610090?v=3","gravatar_id":"","url":"https://api.github.com/users/Tobion","html_url":"https://github.com/Tobion","followers_url":"https://api.github.com/users/Tobion/followers","following_url":"https://api.github.com/users/Tobion/following{/other_user}","gists_url":"https://api.github.com/users/Tobion/gists{/gist_id}","starred_url":"https://api.github.com/users/Tobion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tobion/subscriptions","organizations_url":"https://api.github.com/users/Tobion/orgs","repos_url":"https://api.github.com/users/Tobion/repos","events_url":"https://api.github.com/users/Tobion/events{/privacy}","received_events_url":"https://api.github.com/users/Tobion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Tobion/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":true,"url":"https://api.github.com/repos/Tobion/Twig","forks_url":"https://api.github.com/repos/Tobion/Twig/forks","keys_url":"https://api.github.com/repos/Tobion/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Tobion/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Tobion/Twig/teams","hooks_url":"https://api.github.com/repos/Tobion/Twig/hooks","issue_events_url":"https://api.github.com/repos/Tobion/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/Tobion/Twig/events","assignees_url":"https://api.github.com/repos/Tobion/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/Tobion/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/Tobion/Twig/tags","blobs_url":"https://api.github.com/repos/Tobion/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Tobion/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Tobion/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/Tobion/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Tobion/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/Tobion/Twig/languages","stargazers_url":"https://api.github.com/repos/Tobion/Twig/stargazers","contributors_url":"https://api.github.com/repos/Tobion/Twig/contributors","subscribers_url":"https://api.github.com/repos/Tobion/Twig/subscribers","subscription_url":"https://api.github.com/repos/Tobion/Twig/subscription","commits_url":"https://api.github.com/repos/Tobion/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/Tobion/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/Tobion/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/Tobion/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/Tobion/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/Tobion/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Tobion/Twig/merges","archive_url":"https://api.github.com/repos/Tobion/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Tobion/Twig/downloads","issues_url":"https://api.github.com/repos/Tobion/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/Tobion/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/Tobion/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/Tobion/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Tobion/Twig/labels{/name}","releases_url":"https://api.github.com/repos/Tobion/Twig/releases{/id}","created_at":"2011-11-22T07:42:59Z","updated_at":"2014-10-19T11:10:16Z","pushed_at":"2015-08-21T12:36:02Z","git_url":"git://github.com/Tobion/Twig.git","ssh_url":"git@github.com:Tobion/Twig.git","clone_url":"https://github.com/Tobion/Twig.git","svn_url":"https://github.com/Tobion/Twig","homepage":"http://twig.sensiolabs.org/","size":5995,"stargazers_count":3,"watchers_count":3,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":3,"default_branch":"master"}},"base":{"label":"twigphp:master","ref":"master","sha":"7de9a57b9232a2992eff9aebcd718c361cd121d3","user":{"login":"twigphp","id":5296178,"avatar_url":"https://avatars.githubusercontent.com/u/5296178?v=3","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"repo":{"id":330275,"name":"Twig","full_name":"twigphp/Twig","owner":{"login":"twigphp","id":5296178,"avatar_url":"https://avatars.githubusercontent.com/u/5296178?v=3","gravatar_id":"","url":"https://api.github.com/users/twigphp","html_url":"https://github.com/twigphp","followers_url":"https://api.github.com/users/twigphp/followers","following_url":"https://api.github.com/users/twigphp/following{/other_user}","gists_url":"https://api.github.com/users/twigphp/gists{/gist_id}","starred_url":"https://api.github.com/users/twigphp/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twigphp/subscriptions","organizations_url":"https://api.github.com/users/twigphp/orgs","repos_url":"https://api.github.com/users/twigphp/repos","events_url":"https://api.github.com/users/twigphp/events{/privacy}","received_events_url":"https://api.github.com/users/twigphp/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/twigphp/Twig","description":"Twig, the flexible, fast, and secure template language for PHP","fork":false,"url":"https://api.github.com/repos/twigphp/Twig","forks_url":"https://api.github.com/repos/twigphp/Twig/forks","keys_url":"https://api.github.com/repos/twigphp/Twig/keys{/key_id}","collaborators_url":"https://api.github.com/repos/twigphp/Twig/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/twigphp/Twig/teams","hooks_url":"https://api.github.com/repos/twigphp/Twig/hooks","issue_events_url":"https://api.github.com/repos/twigphp/Twig/issues/events{/number}","events_url":"https://api.github.com/repos/twigphp/Twig/events","assignees_url":"https://api.github.com/repos/twigphp/Twig/assignees{/user}","branches_url":"https://api.github.com/repos/twigphp/Twig/branches{/branch}","tags_url":"https://api.github.com/repos/twigphp/Twig/tags","blobs_url":"https://api.github.com/repos/twigphp/Twig/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/twigphp/Twig/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/twigphp/Twig/git/refs{/sha}","trees_url":"https://api.github.com/repos/twigphp/Twig/git/trees{/sha}","statuses_url":"https://api.github.com/repos/twigphp/Twig/statuses/{sha}","languages_url":"https://api.github.com/repos/twigphp/Twig/languages","stargazers_url":"https://api.github.com/repos/twigphp/Twig/stargazers","contributors_url":"https://api.github.com/repos/twigphp/Twig/contributors","subscribers_url":"https://api.github.com/repos/twigphp/Twig/subscribers","subscription_url":"https://api.github.com/repos/twigphp/Twig/subscription","commits_url":"https://api.github.com/repos/twigphp/Twig/commits{/sha}","git_commits_url":"https://api.github.com/repos/twigphp/Twig/git/commits{/sha}","comments_url":"https://api.github.com/repos/twigphp/Twig/comments{/number}","issue_comment_url":"https://api.github.com/repos/twigphp/Twig/issues/comments{/number}","contents_url":"https://api.github.com/repos/twigphp/Twig/contents/{+path}","compare_url":"https://api.github.com/repos/twigphp/Twig/compare/{base}...{head}","merges_url":"https://api.github.com/repos/twigphp/Twig/merges","archive_url":"https://api.github.com/repos/twigphp/Twig/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/twigphp/Twig/downloads","issues_url":"https://api.github.com/repos/twigphp/Twig/issues{/number}","pulls_url":"https://api.github.com/repos/twigphp/Twig/pulls{/number}","milestones_url":"https://api.github.com/repos/twigphp/Twig/milestones{/number}","notifications_url":"https://api.github.com/repos/twigphp/Twig/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/twigphp/Twig/labels{/name}","releases_url":"https://api.github.com/repos/twigphp/Twig/releases{/id}","created_at":"2009-10-07T21:23:38Z","updated_at":"2015-08-21T09:43:25Z","pushed_at":"2015-08-21T11:43:03Z","git_url":"git://github.com/twigphp/Twig.git","ssh_url":"git@github.com:twigphp/Twig.git","clone_url":"https://github.com/twigphp/Twig.git","svn_url":"https://github.com/twigphp/Twig","homepage":"http://twig.sensiolabs.org/","size":13483,"stargazers_count":2824,"watchers_count":2824,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":724,"mirror_url":null,"open_issues_count":73,"forks":724,"open_issues":73,"watchers":2824,"default_branch":"1.x"}},"_links":{"self":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1781"},"html":{"href":"https://github.com/twigphp/Twig/pull/1781"},"issue":{"href":"https://api.github.com/repos/twigphp/Twig/issues/1781"},"comments":{"href":"https://api.github.com/repos/twigphp/Twig/issues/1781/comments"},"review_comments":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1781/comments"},"review_comment":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/twigphp/Twig/pulls/1781/commits"},"statuses":{"href":"https://api.github.com/repos/twigphp/Twig/statuses/c7653f5a78e42400bb12520e81cff85014284e1a"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":45,"deletions":55,"changed_files":19}}