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 2a0178c2b5 merged branch jmikola/yaml-numeric-strings (PR #1688)
Commits
-------

05cc24c [Yaml] Wrap numeric strings in quotes when dumping

Discussion
----------

[Yaml] Wrap numeric strings in quotes when dumping

This addresses an obscure case where a hash string (actually a commit-ish, "686e444") was dumped to YAML as an unquoted string value. It was later parsed from YAML as an exponential numeric and changed to ".Inf".

This commit should not change the existing behavior when dumping non-string numerics. It also doesn't appear to disturb any of the other test cases. I realize it's a huge edge case, so I'm open to discussion.

The alternative to this fix was an ugly `preg_replace()` to apply quoting around the commit-ish after dumping. I would look forward to removing that :)
2011-07-15 08:39:27 +02:00
..
BrowserKit [BrowserKit] convert a click to a submit when the link is actually a form 2011-06-17 15:23:12 +02:00
ClassLoader [ClassLoader] made another performance improvement 2011-06-17 14:15:14 +02:00
Config [Config] removed extra whitespace. 2011-07-01 09:35:17 +02:00
Console removed usage of \Exception as PHPUnit won't allow to catch them anymore in the next major version 2011-07-11 11:54:00 +02:00
CssSelector [CssSelector] fixed exception namespace 2011-06-29 19:11:00 +02:00
DependencyInjection [DependencyInjection] fixed un-detected circular references involving aliases 2011-07-11 18:25:40 +02:00
DomCrawler [DomCrawler] fixed Link::getUri() method for anchors 2011-06-23 08:20:13 +02:00
EventDispatcher [EventDispatcher] tweaked public @api 2011-06-14 14:40:48 +02:00
Finder [Finder] added a convenience method Finder::create() 2011-06-14 14:18:24 +02:00
Form merged branch gbirke/form_error_docs (PR #1599) 2011-07-11 11:28:00 +02:00
HttpFoundation merged branch francisbesset/httpfoundation_responseheaderbag (PR #1640) 2011-07-13 16:37:40 +02:00
HttpKernel merged branch stof/exception_listener (PR #1633) 2011-07-11 17:02:32 +02:00
Locale [Locale] fixed CS 2011-06-24 01:49:48 +02:00
Process [Process] fixed CS 2011-07-12 08:16:22 +02:00
Routing [Routing] Allow multiple @Route annotations with a default name on a single method (fixes #1647) 2011-07-12 15:30:32 +02:00
Security merged branch schmittjoh/abstractAuthenticationListener (PR #1683) 2011-07-13 19:12:19 +02:00
Serializer fixed CS 2011-06-23 14:07:53 +02:00
Templating [Templating] fixed cache loader as the logical name can contain characters not valid on some OSes 2011-06-07 13:35:55 +02:00
Translation removed usage of \Exception as PHPUnit won't allow to catch them anymore in the next major version 2011-07-11 11:54:00 +02:00
Validator removed unused use statements 2011-07-12 17:58:39 +02:00
Yaml [Yaml] Wrap numeric strings in quotes when dumping 2011-07-13 16:58:57 -04:00