{"action":"closed","number":17163,"pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/17163","id":54709997,"html_url":"https://github.com/symfony/symfony/pull/17163","diff_url":"https://github.com/symfony/symfony/pull/17163.diff","patch_url":"https://github.com/symfony/symfony/pull/17163.patch","issue_url":"https://api.github.com/repos/symfony/symfony/issues/17163","number":17163,"state":"closed","locked":false,"title":"[Form] fix Catchable Fatal Error if choices is not an array","user":{"login":"Gladhon","id":946885,"avatar_url":"https://avatars.githubusercontent.com/u/946885?v=3","gravatar_id":"","url":"https://api.github.com/users/Gladhon","html_url":"https://github.com/Gladhon","followers_url":"https://api.github.com/users/Gladhon/followers","following_url":"https://api.github.com/users/Gladhon/following{/other_user}","gists_url":"https://api.github.com/users/Gladhon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gladhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gladhon/subscriptions","organizations_url":"https://api.github.com/users/Gladhon/orgs","repos_url":"https://api.github.com/users/Gladhon/repos","events_url":"https://api.github.com/users/Gladhon/events{/privacy}","received_events_url":"https://api.github.com/users/Gladhon/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | yes\r\n| New feature?  | no\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Tests pass?   | yes\r\n| Fixed tickets | -\r\n| License       | MIT\r\n| Doc PR        | \r\n\r\nSince 2.7.8 I got a BC-Break Error\r\n\r\nCatchable Fatal Error: Argument 1 passed to Symfony\\Component\\Form\\Extension\\Core\\Type\\ChoiceType::normalizeLegacyChoices() must be of the type array, null given\r\n\r\nnormalizeLegacyChoices work only with array, so if choices not an array, just don't try to normlize. ","created_at":"2015-12-29T08:32:14Z","updated_at":"2015-12-30T09:12:15Z","closed_at":"2015-12-30T09:12:15Z","merged_at":null,"merge_commit_sha":"fe7b22dcfbc31d245a2dd7b883f5016fcb6206cd","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony/symfony/pulls/17163/commits","review_comments_url":"https://api.github.com/repos/symfony/symfony/pulls/17163/comments","review_comment_url":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/17163/comments","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/8b2ee6a9c126386de00e0487e164c8f41e002050","head":{"label":"Gladhon:2.7","ref":"2.7","sha":"8b2ee6a9c126386de00e0487e164c8f41e002050","user":{"login":"Gladhon","id":946885,"avatar_url":"https://avatars.githubusercontent.com/u/946885?v=3","gravatar_id":"","url":"https://api.github.com/users/Gladhon","html_url":"https://github.com/Gladhon","followers_url":"https://api.github.com/users/Gladhon/followers","following_url":"https://api.github.com/users/Gladhon/following{/other_user}","gists_url":"https://api.github.com/users/Gladhon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gladhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gladhon/subscriptions","organizations_url":"https://api.github.com/users/Gladhon/orgs","repos_url":"https://api.github.com/users/Gladhon/repos","events_url":"https://api.github.com/users/Gladhon/events{/privacy}","received_events_url":"https://api.github.com/users/Gladhon/received_events","type":"User","site_admin":false},"repo":{"id":48736771,"name":"symfony","full_name":"Gladhon/symfony","owner":{"login":"Gladhon","id":946885,"avatar_url":"https://avatars.githubusercontent.com/u/946885?v=3","gravatar_id":"","url":"https://api.github.com/users/Gladhon","html_url":"https://github.com/Gladhon","followers_url":"https://api.github.com/users/Gladhon/followers","following_url":"https://api.github.com/users/Gladhon/following{/other_user}","gists_url":"https://api.github.com/users/Gladhon/gists{/gist_id}","starred_url":"https://api.github.com/users/Gladhon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gladhon/subscriptions","organizations_url":"https://api.github.com/users/Gladhon/orgs","repos_url":"https://api.github.com/users/Gladhon/repos","events_url":"https://api.github.com/users/Gladhon/events{/privacy}","received_events_url":"https://api.github.com/users/Gladhon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gladhon/symfony","description":"The Symfony PHP framework","fork":true,"url":"https://api.github.com/repos/Gladhon/symfony","forks_url":"https://api.github.com/repos/Gladhon/symfony/forks","keys_url":"https://api.github.com/repos/Gladhon/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gladhon/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gladhon/symfony/teams","hooks_url":"https://api.github.com/repos/Gladhon/symfony/hooks","issue_events_url":"https://api.github.com/repos/Gladhon/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/Gladhon/symfony/events","assignees_url":"https://api.github.com/repos/Gladhon/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/Gladhon/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/Gladhon/symfony/tags","blobs_url":"https://api.github.com/repos/Gladhon/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gladhon/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gladhon/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gladhon/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gladhon/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/Gladhon/symfony/languages","stargazers_url":"https://api.github.com/repos/Gladhon/symfony/stargazers","contributors_url":"https://api.github.com/repos/Gladhon/symfony/contributors","subscribers_url":"https://api.github.com/repos/Gladhon/symfony/subscribers","subscription_url":"https://api.github.com/repos/Gladhon/symfony/subscription","commits_url":"https://api.github.com/repos/Gladhon/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gladhon/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gladhon/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gladhon/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gladhon/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/Gladhon/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gladhon/symfony/merges","archive_url":"https://api.github.com/repos/Gladhon/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gladhon/symfony/downloads","issues_url":"https://api.github.com/repos/Gladhon/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/Gladhon/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/Gladhon/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/Gladhon/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gladhon/symfony/labels{/name}","releases_url":"https://api.github.com/repos/Gladhon/symfony/releases{/id}","created_at":"2015-12-29T08:23:17Z","updated_at":"2015-12-29T08:23:31Z","pushed_at":"2015-12-30T09:09:49Z","git_url":"git://github.com/Gladhon/symfony.git","ssh_url":"git@github.com:Gladhon/symfony.git","clone_url":"https://github.com/Gladhon/symfony.git","svn_url":"https://github.com/Gladhon/symfony","homepage":"symfony.com","size":64771,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony:2.7","ref":"2.7","sha":"b78eab561ee24af077e170bd177be12aa5c1de99","user":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"repo":{"id":458058,"name":"symfony","full_name":"symfony/symfony","owner":{"login":"symfony","id":143937,"avatar_url":"https://avatars.githubusercontent.com/u/143937?v=3","gravatar_id":"","url":"https://api.github.com/users/symfony","html_url":"https://github.com/symfony","followers_url":"https://api.github.com/users/symfony/followers","following_url":"https://api.github.com/users/symfony/following{/other_user}","gists_url":"https://api.github.com/users/symfony/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony/subscriptions","organizations_url":"https://api.github.com/users/symfony/orgs","repos_url":"https://api.github.com/users/symfony/repos","events_url":"https://api.github.com/users/symfony/events{/privacy}","received_events_url":"https://api.github.com/users/symfony/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony/symfony","description":"The Symfony PHP framework","fork":false,"url":"https://api.github.com/repos/symfony/symfony","forks_url":"https://api.github.com/repos/symfony/symfony/forks","keys_url":"https://api.github.com/repos/symfony/symfony/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony/symfony/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony/symfony/teams","hooks_url":"https://api.github.com/repos/symfony/symfony/hooks","issue_events_url":"https://api.github.com/repos/symfony/symfony/issues/events{/number}","events_url":"https://api.github.com/repos/symfony/symfony/events","assignees_url":"https://api.github.com/repos/symfony/symfony/assignees{/user}","branches_url":"https://api.github.com/repos/symfony/symfony/branches{/branch}","tags_url":"https://api.github.com/repos/symfony/symfony/tags","blobs_url":"https://api.github.com/repos/symfony/symfony/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony/symfony/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony/symfony/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony/symfony/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony/symfony/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony/symfony/languages","stargazers_url":"https://api.github.com/repos/symfony/symfony/stargazers","contributors_url":"https://api.github.com/repos/symfony/symfony/contributors","subscribers_url":"https://api.github.com/repos/symfony/symfony/subscribers","subscription_url":"https://api.github.com/repos/symfony/symfony/subscription","commits_url":"https://api.github.com/repos/symfony/symfony/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony/symfony/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony/symfony/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony/symfony/issues/comments{/number}","contents_url":"https://api.github.com/repos/symfony/symfony/contents/{+path}","compare_url":"https://api.github.com/repos/symfony/symfony/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony/symfony/merges","archive_url":"https://api.github.com/repos/symfony/symfony/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony/symfony/downloads","issues_url":"https://api.github.com/repos/symfony/symfony/issues{/number}","pulls_url":"https://api.github.com/repos/symfony/symfony/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony/symfony/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony/symfony/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony/symfony/labels{/name}","releases_url":"https://api.github.com/repos/symfony/symfony/releases{/id}","created_at":"2010-01-04T14:21:21Z","updated_at":"2015-12-30T01:43:26Z","pushed_at":"2015-12-30T09:09:51Z","git_url":"git://github.com/symfony/symfony.git","ssh_url":"git@github.com:symfony/symfony.git","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://github.com/symfony/symfony","homepage":"symfony.com","size":97829,"stargazers_count":11399,"watchers_count":11399,"language":"PHP","has_issues":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":4499,"mirror_url":null,"open_issues_count":899,"forks":4499,"open_issues":899,"watchers":11399,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17163"},"html":{"href":"https://github.com/symfony/symfony/pull/17163"},"issue":{"href":"https://api.github.com/repos/symfony/symfony/issues/17163"},"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/17163/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17163/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony/symfony/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/symfony/symfony/pulls/17163/commits"},"statuses":{"href":"https://api.github.com/repos/symfony/symfony/statuses/8b2ee6a9c126386de00e0487e164c8f41e002050"}},"merged":false,"mergeable":true,"mergeable_state":"unstable","merged_by":null,"comments":10,"review_comments":2,"commits":1,"additions":33,"deletions":12,"changed_files":2}}