Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0a3cd97

Browse files
committed
Merge branch '3.2'
* 3.2: consistently parse omitted keys as the colon bumped Symfony version to 3.2.5 updated VERSION for 3.2.4 update CONTRIBUTORS for 3.2.4 updated CHANGELOG for 3.2.4
2 parents 444b37d + 6ea510f commit 0a3cd97

File tree

4 files changed

+41
-11
lines changed

4 files changed

+41
-11
lines changed

CHANGELOG-3.2.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,26 @@ in 3.2 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/v3.2.0...v3.2.1
99

10+
* 3.2.4 (2017-02-16)
11+
12+
* bug #21634 [VarDumper] Added missing persistent stream cast (lyrixx)
13+
* bug #21436 [DependencyInjection] check for circular refs caused by method calls (xabbuh)
14+
* bug #21400 [Serializer] fix upper camel case conversion (see #21399) (markusu49)
15+
* bug #21599 [Console][Table] fixed render when using multiple rowspans. (aitboudad)
16+
* bug #21613 [Process] Permit empty suffix on Windows (Bilge)
17+
* bug #21057 [DI] Auto register extension configuration classes as a resource (ro0NL)
18+
* bug #21607 Improve tracking of environment variables in the case of private services (tgalopin)
19+
* bug #21592 [Validator] property constraints can be added in child classes (angelk, xabbuh)
20+
* bug #21458 [Config] Early return for DirectoryResource (robfrawley)
21+
* bug #21562 [DoctrineBridge] make sure that null can be the invalid value (xabbuh)
22+
* bug #21556 [FrameworkBundle] Wire ArrayCache for annotation reader at bootstrap (nicolas-grekas)
23+
* bug #21584 [WebProfilerBundle] Readd Symfony version status in the toolbar (wouterj)
24+
* bug #21557 [VarDumper] Improve dump of AMQP* Object (lyrixx)
25+
* bug #21579 [Security] LdapUserProvider should not throw an exception if the UID key does not exist in an LDAP entry (csarrazi)
26+
* bug #21552 [FrameworkBundle] Fix annotations cache folder path (akeeman)
27+
* bug #21542 [VarDumper] Fixed dumping of terminated generator (lyrixx)
28+
* bug #21292 Ignore missing 'debug.file_link_formatter' service in Debug bundle (core23)
29+
1030
* 3.2.3 (2017-02-06)
1131

1232
* bug #21528 [Cache] Fix class exists checks in PhpArrayAdapter (nicolas-grekas)

CONTRIBUTORS.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,8 @@ Symfony is the result of the work of many people who made the code better
5050
- Saša Stamenković (umpirsky)
5151
- Henrik Bjørnskov (henrikbjorn)
5252
- Miha Vrhovnik
53-
- Diego Saint Esteben (dii3g0)
5453
- Roland Franssen (ro0)
54+
- Diego Saint Esteben (dii3g0)
5555
- Konstantin Kudryashov (everzet)
5656
- Iltar van der Berg (kjarli)
5757
- Bilal Amarni (bamarni)
@@ -69,15 +69,15 @@ Symfony is the result of the work of many people who made the code better
6969
- Deni
7070
- Henrik Westphal (snc)
7171
- Dariusz Górecki (canni)
72-
- Douglas Greenshields (shieldo)
7372
- Titouan Galopin (tgalopin)
73+
- Douglas Greenshields (shieldo)
74+
- Pierre du Plessis (pierredup)
7475
- Konstantin Myakshin (koc)
7576
- Lee McDermott
7677
- Brandon Turner
7778
- Luis Cordova (cordoval)
7879
- Graham Campbell (graham)
7980
- Daniel Holmes (dholmes)
80-
- Pierre du Plessis (pierredup)
8181
- Toni Uebernickel (havvg)
8282
- Bart van den Burg (burgov)
8383
- Jordan Alliot (jalliot)
@@ -165,6 +165,7 @@ Symfony is the result of the work of many people who made the code better
165165
- Mario A. Alvarez Garcia (nomack84)
166166
- Dennis Benkert (denderello)
167167
- Benjamin Dulau (dbenjamin)
168+
- James Halsall (jaitsu)
168169
- Mathieu Lemoine (lemoinem)
169170
- Andreas Hucks (meandmymonkey)
170171
- Noel Guilbert (noel)
@@ -186,7 +187,6 @@ Symfony is the result of the work of many people who made the code better
186187
- Dustin Whittle (dustinwhittle)
187188
- jeff
188189
- John Kary (johnkary)
189-
- James Halsall (jaitsu)
190190
- Justin Hileman (bobthecow)
191191
- Blanchon Vincent (blanchonvincent)
192192
- Chris Wilkinson (thewilkybarkid)
@@ -200,6 +200,7 @@ Symfony is the result of the work of many people who made the code better
200200
- Eugene Wissner
201201
- Julien Brochet (mewt)
202202
- Tristan Darricau (nicofuma)
203+
- Grégoire Paris (greg0ire)
203204
- Sergey Linnik (linniksa)
204205
- Michaël Perrin (michael.perrin)
205206
- Marcel Beerta (mazen)
@@ -217,6 +218,7 @@ Symfony is the result of the work of many people who made the code better
217218
- Manuel Reinhard (sprain)
218219
- Danny Berger (dpb587)
219220
- Jérôme Vasseur
221+
- Adam Prager (padam87)
220222
- Roman Marintšenko (inori)
221223
- Christian Schmidt
222224
- Xavier Montaña Carreras (xmontana)
@@ -238,7 +240,6 @@ Symfony is the result of the work of many people who made the code better
238240
- GordonsLondon
239241
- Jan Sorgalla (jsor)
240242
- Ray
241-
- Grégoire Paris (greg0ire)
242243
- Leo Feyer
243244
- Chekote
244245
- Thomas Adam
@@ -257,7 +258,6 @@ Symfony is the result of the work of many people who made the code better
257258
- Robert Kiss (kepten)
258259
- Ruben Gonzalez (rubenrua)
259260
- Roumen Damianoff (roumen)
260-
- Adam Prager (padam87)
261261
- Antonio J. García Lagar (ajgarlag)
262262
- Kim Hemsø Rasmussen (kimhemsoe)
263263
- Wouter Van Hecke
@@ -310,6 +310,7 @@ Symfony is the result of the work of many people who made the code better
310310
- Magnus Nordlander (magnusnordlander)
311311
- alquerci
312312
- Francesco Levorato
313+
- Rob Frawley 2nd (robfrawley)
313314
- Vitaliy Zakharov (zakharovvi)
314315
- Tobias Sjösten (tobiassjosten)
315316
- Gyula Sallai (salla)
@@ -526,7 +527,6 @@ Symfony is the result of the work of many people who made the code better
526527
- Konstantin S. M. Möllers (ksmmoellers)
527528
- Sinan Eldem
528529
- Alexandre Dupuy (satchette)
529-
- Rob Frawley 2nd
530530
- Andre Rømcke (andrerom)
531531
- Nahuel Cuesta (ncuesta)
532532
- Chris Boden (cboden)
@@ -566,6 +566,7 @@ Symfony is the result of the work of many people who made the code better
566566
- Miquel Rodríguez Telep (mrtorrent)
567567
- Sergey Kolodyazhnyy (skolodyazhnyy)
568568
- umpirski
569+
- Denis Brumann (dbrumann)
569570
- Quentin de Longraye (quentinus95)
570571
- Chris Heng (gigablah)
571572
- Ulumuddin Yunus (joenoez)
@@ -684,6 +685,7 @@ Symfony is the result of the work of many people who made the code better
684685
- Abhoryo
685686
- Fabian Vogler (fabian)
686687
- Korvin Szanto
688+
- Arjan Keeman
687689
- Alaattin Kahramanlar (alaattin)
688690
- Sergey Zolotov (enleur)
689691
- Maksim Kotlyar (makasim)
@@ -832,7 +834,7 @@ Symfony is the result of the work of many people who made the code better
832834
- Nicolas Macherey
833835
- Lin Clark
834836
- Jeremy David (jeremy.david)
835-
- Denis Brumann (dbrumann)
837+
- Robin Lehrmann (robinlehrmann)
836838
- Troy McCabe
837839
- Ville Mattila
838840
- ilyes kooli
@@ -845,6 +847,7 @@ Symfony is the result of the work of many people who made the code better
845847
- Sergey Novikov (s12v)
846848
- Marcos Quesada (marcos_quesada)
847849
- Matthew Vickery (mattvick)
850+
- Angel Koilov (po_taka)
848851
- Dan Finnie
849852
- Ken Marfilla (marfillaster)
850853
- benatespina (benatespina)
@@ -942,6 +945,7 @@ Symfony is the result of the work of many people who made the code better
942945
- Alberto Aldegheri
943946
- heccjj
944947
- Alexandre Melard
948+
- Jay Klehr
945949
- Sergey Yuferev
946950
- Tobias Stöckler
947951
- Mario Young
@@ -1131,7 +1135,6 @@ Symfony is the result of the work of many people who made the code better
11311135
- Leonid Terentyev (li0n)
11321136
- ryunosuke
11331137
- victoria
1134-
- Arjan Keeman
11351138
- Francisco Facioni (fran6co)
11361139
- Iwan van Staveren (istaveren)
11371140
- Dany Maillard (maidmaid)
@@ -1243,6 +1246,7 @@ Symfony is the result of the work of many people who made the code better
12431246
- Yannick Warnier (ywarnier)
12441247
- Kevin Decherf
12451248
- Jason Woods
1249+
- klemens
12461250
- dened
12471251
- Dmitry Korotovsky
12481252
- Michael van Tricht
@@ -1527,6 +1531,7 @@ Symfony is the result of the work of many people who made the code better
15271531
- Choong Wei Tjeng (choonge)
15281532
- Kousuke Ebihara (co3k)
15291533
- Loïc Vernet (coil)
1534+
- Christian Gripp (core23)
15301535
- Christoph Schaefer (cvschaefer)
15311536
- Damon Jones (damon__jones)
15321537
- Łukasz Giza (destroyer)

src/Symfony/Component/Yaml/Inline.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -477,11 +477,11 @@ private static function parseMapping($mapping, $flags, &$i = 0, $references = ar
477477
// key
478478
$key = self::parseScalar($mapping, $flags, array(':', ' '), $i, false);
479479

480-
if (false === $i = strpos($mapping, ':', $i)) {
480+
if (':' !== $key && false === $i = strpos($mapping, ':', $i)) {
481481
break;
482482
}
483483

484-
if (!isset($mapping[$i + 1]) || !in_array($mapping[$i + 1], array(' ', ',', '[', ']', '{', '}'), true)) {
484+
if (':' !== $key && (!isset($mapping[$i + 1]) || !in_array($mapping[$i + 1], array(' ', ',', '[', ']', '{', '}'), true))) {
485485
@trigger_error('Using a colon that is not followed by an indication character (i.e. " ", ",", "[", "]", "{", "}" is deprecated since version 3.2 and will throw a ParseException in 4.0.', E_USER_DEPRECATED);
486486
}
487487

src/Symfony/Component/Yaml/Tests/InlineTest.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -686,4 +686,9 @@ public function testVeryLongQuotedStrings()
686686

687687
$this->assertEquals($longStringWithQuotes, $arrayFromYaml['longStringWithQuotes']);
688688
}
689+
690+
public function testOmittedMappingKeyIsParsedAsColon()
691+
{
692+
$this->assertSame(array(':' => 'foo'), Inline::parse('{: foo}'));
693+
}
689694
}

0 commit comments

Comments
 (0)