This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
symfony/src/Symfony/Component
Fabien Potencier 2e90a813a4 merged branch mrtorrent/integer_transformer_cast_fix (PR #2520)
Commits
-------

c9d05d7 Let NumberFormatter handle integer type casting

Discussion
----------

Let NumberFormatter handle integer type casting

The integer to localised string transformer is currently casting everything it gets to an integer, even if it is not a number. This responsibility should be passed off to NumberFormatter.

Partially addresses #2389 by not mistakenly typecasting a boolean false into an integer 0

---------------------------------------------------------------------------

by mrtorrent at 2011/10/30 15:04:28 -0700

Apologies, forgot the template:

Bug fix: yes
Feature addition: no
Backwards compatibility break: no
Symfony2 tests pass: yes
Fixes the following tickets: #2389 (partial)
2011-11-02 14:36:23 +01:00
..
BrowserKit bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
ClassLoader bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Config bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Console bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
CssSelector bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
DependencyInjection bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
DomCrawler bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
EventDispatcher bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Finder bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Form merged branch mrtorrent/integer_transformer_cast_fix (PR #2520) 2011-11-02 14:36:23 +01:00
HttpFoundation bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
HttpKernel bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Locale bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Process bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Routing bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Security bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Serializer bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Templating bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Translation bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Validator bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00
Yaml bumped Symfony version to 2.0.6-DEV 2011-11-02 14:18:45 +01:00