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/tests/Symfony/Tests/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 [BrowserKit] Added additional unit tests for capital letters in cookies 2011-10-14 20:31:31 +01:00
ClassLoader [ClassLoader] Fixed state when trait_exists doesn't exists 2011-09-25 19:25:50 +02:00
Config removed unused use statements 2011-10-29 11:56:30 +02:00
Console removed unused use statements 2011-10-29 11:56:30 +02:00
CssSelector UnitTest 2011-06-29 18:22:32 +02:00
DependencyInjection removed unused use statements 2011-10-29 11:56:30 +02:00
DomCrawler [DomCrawler] Add test for ChoiceFormField without value 2011-09-20 18:30:35 +02:00
EventDispatcher [EventDispatcher] Fix removeSubscriber() to work with priority syntax 2011-08-23 16:41:08 -04:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form merged branch mrtorrent/integer_transformer_cast_fix (PR #2520) 2011-11-02 14:36:23 +01:00
HttpFoundation fixed CS 2011-10-29 12:03:59 +02:00
HttpKernel removed unused use statements 2011-10-29 11:56:30 +02:00
Locale [Locale] Fix #2179 StubIntlDateFormatter support yy format 2011-09-16 13:12:22 +02:00
Process [Process] removed an incomplete test that cannot be fixed 2011-11-02 06:58:56 +01:00
Routing fixed CS 2011-10-29 12:03:59 +02:00
Security Fixed typo 2011-10-31 09:00:49 +01:00
Serializer removed unused use statements 2011-10-29 11:56:30 +02:00
Templating removed unused use statements 2011-10-29 11:56:30 +02:00
Translation [Translation] Loader should only load local files 2011-10-07 18:30:56 +02:00
Validator removed unused use statements 2011-10-29 11:56:30 +02:00
Yaml merged branch jmikola/yaml-numeric-strings (PR #1688) 2011-07-15 08:39:27 +02:00