symfony/symfony — pull request #11334 by romainneutron (2014-07-06 13:44:26+00:00)
Title: [2.3][Form] Check if IntlDateFormatter constructor returned a valid object before using it

| Q | A
| ------------- | ---
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets | n/a
| License | MIT

`IntlDateFormatter` constructor [may return false](http://www.php.net/manual/en/intldateformatter.create.php#refsect1-intldateformatter.create-returnvalues). This patches avoids fatal errors in these cases