{"action":"created","issue":{"url":"https://api.github.com/repos/symfony/symfony/issues/12425","repository_url":"https://api.github.com/repos/symfony/symfony","labels_url":"https://api.github.com/repos/symfony/symfony/issues/12425/labels{/name}","comments_url":"https://api.github.com/repos/symfony/symfony/issues/12425/comments","events_url":"https://api.github.com/repos/symfony/symfony/issues/12425/events","html_url":"https://github.com/symfony/symfony/pull/12425","id":47994493,"number":12425,"title":"[Form] Added option type checks in some FormTypes","user":{"login":"kix","id":345754,"avatar_url":"https://avatars.githubusercontent.com/u/345754?v=3","gravatar_id":"","url":"https://api.github.com/users/kix","html_url":"https://github.com/kix","followers_url":"https://api.github.com/users/kix/followers","following_url":"https://api.github.com/users/kix/following{/other_user}","gists_url":"https://api.github.com/users/kix/gists{/gist_id}","starred_url":"https://api.github.com/users/kix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kix/subscriptions","organizations_url":"https://api.github.com/users/kix/orgs","repos_url":"https://api.github.com/users/kix/repos","events_url":"https://api.github.com/users/kix/events{/privacy}","received_events_url":"https://api.github.com/users/kix/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/symfony/symfony/labels/Bug","name":"Bug","color":"e10c02"},{"url":"https://api.github.com/repos/symfony/symfony/labels/Form","name":"Form","color":"DDDDDD"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":20,"created_at":"2014-11-06T18:08:35Z","updated_at":"2016-03-29T13:37:40Z","closed_at":"2016-03-29T13:32:44Z","pull_request":{"url":"https://api.github.com/repos/symfony/symfony/pulls/12425","html_url":"https://github.com/symfony/symfony/pull/12425","diff_url":"https://github.com/symfony/symfony/pull/12425.diff","patch_url":"https://github.com/symfony/symfony/pull/12425.patch"},"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 | none\r\n| License       | MIT\r\n| Doc PR        | none\r\n\r\nFollow-up to #11696. Some of the built-in form types allowed passing invalid options, which lead to errors that were not so easy to understand. This PR adds needed checks where applicable.\r\n\r\nAllowed types in `TimeType`'s `empty_value` option were taken from the documentation."},"comment":{"url":"https://api.github.com/repos/symfony/symfony/issues/comments/202897380","html_url":"https://github.com/symfony/symfony/pull/12425#issuecomment-202897380","issue_url":"https://api.github.com/repos/symfony/symfony/issues/12425","id":202897380,"user":{"login":"kix","id":345754,"avatar_url":"https://avatars.githubusercontent.com/u/345754?v=3","gravatar_id":"","url":"https://api.github.com/users/kix","html_url":"https://github.com/kix","followers_url":"https://api.github.com/users/kix/followers","following_url":"https://api.github.com/users/kix/following{/other_user}","gists_url":"https://api.github.com/users/kix/gists{/gist_id}","starred_url":"https://api.github.com/users/kix/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kix/subscriptions","organizations_url":"https://api.github.com/users/kix/orgs","repos_url":"https://api.github.com/users/kix/repos","events_url":"https://api.github.com/users/kix/events{/privacy}","received_events_url":"https://api.github.com/users/kix/received_events","type":"User","site_admin":false},"created_at":"2016-03-29T13:37:40Z","updated_at":"2016-03-29T13:37:40Z","body":"@HeahDude, agreed, thanks :)"}}