Skip to content

Commit cb4a9cc

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: bumped Symfony version to 2.3.12 updated VERSION for 2.3.11 update CONTRIBUTORS for 2.3.11 updated CHANGELOG for 2.3.11 Follow-up to #10312: Fixed minor performance related issues in Yaml\Inline. Conflicts: src/Symfony/Component/HttpKernel/Kernel.php
2 parents 186f085 + 1c0fcd0 commit cb4a9cc

File tree

3 files changed

+32
-15
lines changed

3 files changed

+32
-15
lines changed

CHANGELOG-2.3.md

+8
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,14 @@ in 2.3 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.3.0...v2.3.1
99

10+
* 2.3.11 (2014-02-27)
11+
12+
* bug #10146 [WebProfilerBundle] fixed parsing Mongo DSN and added Test for it (malarzm)
13+
* bug #10299 [Finder] () is also a valid delimiter (WouterJ)
14+
* bug #10255 [FrameworkBundle] Fixed wrong redirect url if path contains some query parameters (pulzarraider)
15+
* bug #10285 Bypass sigchild detection if phpinfo is not available (Seldaek)
16+
* bug #10269 [Form] Revert "Fix "Array was modified outside object" in ResizeFormListener." (norzechowicz)
17+
1018
* 2.3.10 (2014-02-12)
1119

1220
* bug #10231 [Console] removed problematic regex (fabpot)

CONTRIBUTORS.md

+15-8
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,21 @@ Symfony2 is the result of the work of many people who made the code better
3333
- stealth35 ‏ (stealth35)
3434
- Alexander Mols (asm89)
3535
- Bulat Shakirzyanov (avalanche123)
36+
- Grégoire Pineau (lyrixx)
3637
- Francis Besset (francisbesset)
3738
- Miha Vrhovnik
3839
- Henrik Bjørnskov (henrikbjorn)
39-
- Grégoire Pineau (lyrixx)
4040
- Konstantin Kudryashov (everzet)
4141
- Bilal Amarni (bamarni)
4242
- Florin Patan (florinpatan)
4343
- Saša Stamenković (umpirsky)
4444
- Eric Clemmons (ericclemmons)
45+
- Wouter De Jong (wouterj)
4546
- Deni
4647
- Henrik Westphal (snc)
4748
- Dariusz Górecki (canni)
48-
- Wouter De Jong (wouterj)
49-
- Arnout Boks (aboks)
5049
- Andrej Hudec (pulzarraider)
50+
- Arnout Boks (aboks)
5151
- Lee McDermott
5252
- Brandon Turner
5353
- Daniel Holmes (dholmes)
@@ -162,6 +162,7 @@ Symfony2 is the result of the work of many people who made the code better
162162
- Wouter Van Hecke
163163
- Michael Holm (hollo)
164164
- Marc Weistroff (futurecat)
165+
- Pierre-Yves LEBECQ (pylebecq)
165166
- Roman Marintšenko (inori)
166167
- Florian Klein (docteurklein)
167168
- Manuel Kiessling (manuelkiessling)
@@ -175,7 +176,9 @@ Symfony2 is the result of the work of many people who made the code better
175176
- Uwe Jäger (uwej711)
176177
- Aurelijus Valeiša (aurelijus)
177178
- Gustavo Piltcher
179+
- Chekote
178180
- Stepan Tanasiychuk (stfalcon)
181+
- Tiago Ribeiro (fixe)
179182
- Bob den Otter (bopp)
180183
- Adrian Rudnik (kreischweide)
181184
- Francesc Rosàs (frosas)
@@ -184,6 +187,7 @@ Symfony2 is the result of the work of many people who made the code better
184187
- janschoenherr
185188
- Marco Pivetta (ocramius)
186189
- Ricard Clau (ricardclau)
190+
- Nicolas Grekas (nicolas-grekas)
187191
- Erin Millard
188192
- Matthew Lewinski (lewinski)
189193
- Manuel Reinhard (sprain)
@@ -197,7 +201,6 @@ Symfony2 is the result of the work of many people who made the code better
197201
- Felix Labrecque
198202
- Yaroslav Kiliba
199203
- Sébastien Lavoie (lavoiesl)
200-
- Pierre-Yves LEBECQ (pylebecq)
201204
- Terje Bråten
202205
- Kristen Gilden (kgilden)
203206
- hossein zolfi (ocean)
@@ -216,13 +219,11 @@ Symfony2 is the result of the work of many people who made the code better
216219
- Ismael Ambrosi (iambrosi)
217220
- Shein Alexey
218221
- Joe Lencioni
219-
- Chekote
220222
- Kai
221223
- Stefano Sala (stefano.sala)
222224
- Xavier HAUSHERR
223225
- Albert Jessurum (ajessu)
224226
- Laszlo Korte
225-
- Tiago Ribeiro (fixe)
226227
- Alessandro Desantis
227228
- hubert lecorche (hlecorche)
228229
- Eugene Leonovich (rybakit)
@@ -279,6 +280,8 @@ Symfony2 is the result of the work of many people who made the code better
279280
- alexpods
280281
- Erik Trapman (eriktrapman)
281282
- De Cock Xavier (xdecock)
283+
- Alex Pott
284+
- Norbert Orzechowicz (norzechowicz)
282285
- Matthijs van den Bos (matthijs)
283286
- Nils Adermann (naderman)
284287
- Gábor Fási
@@ -383,7 +386,6 @@ Symfony2 is the result of the work of many people who made the code better
383386
- Xavier Lacot (xavier)
384387
- Olivier Maisonneuve (olineuve)
385388
- Francis Turmel (fturmel)
386-
- Nicolas Grekas (nicolas-grekas)
387389
- cgonzalez
388390
- Jayson Xu (superjavason)
389391
- Jaik Dean (jaikdean)
@@ -458,6 +460,7 @@ Symfony2 is the result of the work of many people who made the code better
458460
- Chris Jones (leek)
459461
- xaav
460462
- Mahmoud Mostafa (mahmoud)
463+
- Gildas Quéméner (gquemener)
461464
- Ricky Su (ricky)
462465
- Radosław Benkel
463466
- ttomor
@@ -520,6 +523,7 @@ Symfony2 is the result of the work of many people who made the code better
520523
- Benoit Garret
521524
- DerManoMann
522525
- Roland Franssen (ro0)
526+
- Maciej Malarz
523527
- Rodrigo Díez Villamuera (rodrigodiez)
524528
- e-ivanov
525529
- Jochen Bayer (jocl)
@@ -654,6 +658,7 @@ Symfony2 is the result of the work of many people who made the code better
654658
- Ramon Kleiss (akathos)
655659
- Jakub Škvára (jskvara)
656660
- Nicolas Badey (nico-b)
661+
- Shane Preece (shane)
657662
- povilas
658663
- Alexander Obuhovich
659664
- Alessandro Tagliapietra (alex88)
@@ -672,6 +677,7 @@ Symfony2 is the result of the work of many people who made the code better
672677
- pborreli
673678
- Eric Caron
674679
- 2manypeople
680+
- Wing
675681
- Thomas Bibb
676682
- Josef Cech
677683
- Matthew Foster (mfoster)
@@ -687,6 +693,7 @@ Symfony2 is the result of the work of many people who made the code better
687693
- Andreas
688694
- Strate
689695
- Thomas Chmielowiec
696+
- Andrey Ryaguzov
690697
- Gunther Konig
691698
- František Bereň
692699
- Benjamin Grandfond (benjamin)
@@ -928,7 +935,6 @@ Symfony2 is the result of the work of many people who made the code better
928935
- Moritz Borgmann (mborgmann)
929936
- Matt Drollette (mdrollette)
930937
- Adam Monsen (meonkeys)
931-
- Norbert Orzechowicz (norzechowicz)
932938
- ollie harridge (ollietb)
933939
- Paweł Szczepanek (pauluz)
934940
- Petr Jaroš (petajaros)
@@ -949,6 +955,7 @@ Symfony2 is the result of the work of many people who made the code better
949955
- Eugene Babushkin (warl)
950956
- Xavier Amado (xamado)
951957
- Florent Cailhol
958+
- szymek
952959
- craigmarvelley
953960
- Stano Turza
954961
- simpson

src/Symfony/Component/Yaml/Inline.php

+9-7
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,9 @@ public static function parseScalar($scalar, $delimiters = null, $stringDelimiter
220220
throw new ParseException(sprintf('Malformed inline YAML string (%s).', $scalar));
221221
}
222222

223-
$output = $evaluate ? self::evaluateScalar($output) : $output;
223+
if ($evaluate) {
224+
$output = self::evaluateScalar($output);
225+
}
224226
}
225227

226228
return $output;
@@ -388,9 +390,9 @@ private static function evaluateScalar($scalar)
388390
$scalar = trim($scalar);
389391
$scalarLower = strtolower($scalar);
390392
switch (true) {
391-
case 'null' == $scalarLower:
392-
case '' == $scalar:
393-
case '~' == $scalar:
393+
case 'null' === $scalarLower:
394+
case '' === $scalar:
395+
case '~' === $scalar:
394396
return null;
395397
case 'true' === $scalarLower:
396398
return true;
@@ -425,10 +427,10 @@ private static function evaluateScalar($scalar)
425427
return '0' == $scalar[1] ? octdec($scalar) : (((string) $raw == (string) $cast) ? $cast : $raw);
426428
case is_numeric($scalar):
427429
return '0x' == $scalar[0].$scalar[1] ? hexdec($scalar) : floatval($scalar);
428-
case 0 == strcasecmp($scalar, '.inf'):
429-
case 0 == strcasecmp($scalar, '.NaN'):
430+
case '.inf' === $scalarLower:
431+
case '.nan' === $scalarLower:
430432
return -log(0);
431-
case 0 == strcasecmp($scalar, '-.inf'):
433+
case '-.inf' === $scalarLower:
432434
return log(0);
433435
case preg_match('/^(-|\+)?[0-9,]+(\.[0-9]+)?$/', $scalar):
434436
return floatval(str_replace(',', '', $scalar));

0 commit comments

Comments
 (0)