Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 30b409a

Browse filesBrowse files
Merge branch '2.8' into 3.2
* 2.8: [DI] Resolve aliases earlier bumped Symfony version to 2.8.26 updated VERSION for 2.8.25 updated CHANGELOG for 2.8.25 bumped Symfony version to 2.7.33 updated VERSION for 2.7.32 update CONTRIBUTORS for 2.7.32 updated CHANGELOG for 2.7.32
2 parents 0ccd2ed + f8f5c02 commit 30b409a
Copy full SHA for 30b409a

File tree

Expand file treeCollapse file tree

3 files changed

+30
-27
lines changed
Filter options
Expand file treeCollapse file tree

3 files changed

+30
-27
lines changed

‎CONTRIBUTORS.md

Copy file name to clipboardExpand all lines: CONTRIBUTORS.md
+19-16Lines changed: 19 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,13 @@ Symfony is the result of the work of many people who made the code better
1919
- Ryan Weaver (weaverryan)
2020
- Javier Eguiluz (javier.eguiluz)
2121
- Hugo Hamon (hhamon)
22-
- Abdellatif Ait boudad (aitboudad)
2322
- Maxime Steinhausser (ogizanagi)
23+
- Abdellatif Ait boudad (aitboudad)
2424
- Robin Chalas (chalas_r)
2525
- Romain Neutron (romain)
2626
- Pascal Borreli (pborreli)
27-
- Wouter De Jong (wouterj)
2827
- Grégoire Pineau (lyrixx)
28+
- Wouter De Jong (wouterj)
2929
- Joseph Bielawski (stloyd)
3030
- Karma Dordrak (drak)
3131
- Lukas Kahwe Smith (lsmith)
@@ -35,8 +35,8 @@ Symfony is the result of the work of many people who made the code better
3535
- Benjamin Eberlei (beberlei)
3636
- Igor Wiedler (igorw)
3737
- Eriksen Costa (eriksencosta)
38-
- Jules Pietri (heah)
3938
- Roland Franssen (ro0)
39+
- Jules Pietri (heah)
4040
- Sarah Khalil (saro0h)
4141
- Guilhem Niot (energetick)
4242
- Jonathan Wage (jwage)
@@ -93,6 +93,7 @@ Symfony is the result of the work of many people who made the code better
9393
- Maxime STEINHAUSSER
9494
- Alexander M. Turek (derrabus)
9595
- Michal Piotrowski (eventhorizon)
96+
- Dany Maillard (maidmaid)
9697
- Issei Murasawa (issei_m)
9798
- Tim Nagel (merk)
9899
- Brice BERNARD (brikou)
@@ -133,14 +134,14 @@ Symfony is the result of the work of many people who made the code better
133134
- Guilherme Blanco (guilhermeblanco)
134135
- Pablo Godel (pgodel)
135136
- Jérémie Augustin (jaugustin)
136-
- Dany Maillard (maidmaid)
137137
- Andréia Bohner (andreia)
138138
- Rafael Dohms (rdohms)
139139
- Arnaud Kleinpeter (nanocom)
140140
- jwdeitch
141141
- David Maicher (dmaicher)
142142
- Mikael Pajunen
143143
- Joel Wurtz (brouznouf)
144+
- Jérôme Vasseur (jvasseur)
144145
- Grégoire Paris (greg0ire)
145146
- Philipp Wahala (hifi)
146147
- Vyacheslav Pavlov
@@ -150,7 +151,6 @@ Symfony is the result of the work of many people who made the code better
150151
- Thomas Rabaix (rande)
151152
- Rouven Weßling (realityking)
152153
- Teoh Han Hui (teohhanhui)
153-
- Jérôme Vasseur (jvasseur)
154154
- Clemens Tolboom
155155
- Helmer Aaviksoo
156156
- Hiromi Hishida (77web)
@@ -162,6 +162,7 @@ Symfony is the result of the work of many people who made the code better
162162
- Artur Kotyrba
163163
- jeremyFreeAgent (Jérémy Romey) (jeremyfreeagent)
164164
- James Halsall (jaitsu)
165+
- Chris Wilkinson (thewilkybarkid)
165166
- Warnar Boekkooi (boekkooi)
166167
- Dmitrii Chekaliuk (lazyhammer)
167168
- Clément JOBEILI (dator)
@@ -175,7 +176,6 @@ Symfony is the result of the work of many people who made the code better
175176
- Benjamin Dulau (dbenjamin)
176177
- James Halsall (jaitsu)
177178
- Mathieu Lemoine (lemoinem)
178-
- Chris Wilkinson (thewilkybarkid)
179179
- Andreas Hucks (meandmymonkey)
180180
- Noel Guilbert (noel)
181181
- Stepan Anchugov (kix)
@@ -240,6 +240,7 @@ Symfony is the result of the work of many people who made the code better
240240
- Alif Rachmawadi
241241
- Kristen Gilden (kgilden)
242242
- Pierre-Yves LEBECQ (pylebecq)
243+
- Jordan Samouh (jordansamouh)
243244
- Alex Pott
244245
- Jakub Kucharovic (jkucharovic)
245246
- Uwe Jäger (uwej711)
@@ -250,6 +251,7 @@ Symfony is the result of the work of many people who made the code better
250251
- GordonsLondon
251252
- Jan Sorgalla (jsor)
252253
- Ray
254+
- Nikolay Labinskiy (e-moe)
253255
- Leo Feyer
254256
- Chekote
255257
- Thomas Adam
@@ -276,8 +278,8 @@ Symfony is the result of the work of many people who made the code better
276278
- Marc Weistroff (futurecat)
277279
- Christian Schmidt
278280
- Hidde Wieringa (hiddewie)
281+
- Alessandro Chitolina
279282
- Chad Sikorra (chadsikorra)
280-
- Jordan Samouh (jordansamouh)
281283
- Chris Smith (cs278)
282284
- Florian Klein (docteurklein)
283285
- Manuel Kiessling (manuelkiessling)
@@ -296,7 +298,6 @@ Symfony is the result of the work of many people who made the code better
296298
- Victor Bocharsky (bocharsky_bw)
297299
- Jan Decavele (jandc)
298300
- Gustavo Piltcher
299-
- Nikolay Labinskiy (e-moe)
300301
- Stepan Tanasiychuk (stfalcon)
301302
- Tiago Ribeiro (fixe)
302303
- Hidde Boomsma (hboomsma)
@@ -311,6 +312,7 @@ Symfony is the result of the work of many people who made the code better
311312
- Thomas Schulz (king2500)
312313
- Dariusz Rumiński
313314
- Berny Cantos (xphere81)
315+
- Thierry Thuon (lepiaf)
314316
- Ricard Clau (ricardclau)
315317
- Mark Challoner (markchalloner)
316318
- Gregor Harlan (gharlan)
@@ -329,6 +331,7 @@ Symfony is the result of the work of many people who made the code better
329331
- Inal DJAFAR (inalgnu)
330332
- Christian Gärtner (dagardner)
331333
- Tomasz Kowalczyk (thunderer)
334+
- Michael Babker (mbabker)
332335
- François-Xavier de Guillebon (de-gui_f)
333336
- Damien Alexandre (damienalexandre)
334337
- Felix Labrecque
@@ -337,7 +340,6 @@ Symfony is the result of the work of many people who made the code better
337340
- Robbert Klarenbeek (robbertkl)
338341
- Thomas Calvet (fancyweb)
339342
- Niels Keurentjes (curry684)
340-
- Alessandro Chitolina
341343
- JhonnyL
342344
- hossein zolfi (ocean)
343345
- Clément Gautier (clementgautier)
@@ -403,6 +405,7 @@ Symfony is the result of the work of many people who made the code better
403405
- Olivier Dolbeau (odolbeau)
404406
- Jan Rosier (rosier)
405407
- Thomas Royer (cydonia7)
408+
- Arturs Vonda
406409
- Josip Kruslin
407410
- Asmir Mustafic (goetas)
408411
- vagrant
@@ -430,6 +433,7 @@ Symfony is the result of the work of many people who made the code better
430433
- David Badura (davidbadura)
431434
- Zander Baldwin
432435
- Adam Harvey
436+
- Maxime Veber (nek-)
433437
- Alex Bakhturin
434438
- Alexander Obuhovich (aik099)
435439
- boombatower
@@ -443,6 +447,7 @@ Symfony is the result of the work of many people who made the code better
443447
- Gladhon
444448
- Benoît Burnichon (bburnichon)
445449
- Sebastian Bergmann
450+
- Miroslav Sustek
446451
- Pablo Díez (pablodip)
447452
- Kevin McBride
448453
- Sergio Santoro
@@ -552,7 +557,6 @@ Symfony is the result of the work of many people who made the code better
552557
- Maxime Douailin
553558
- Jean Pasdeloup (pasdeloup)
554559
- Benjamin Cremer (bcremer)
555-
- Thierry Thuon (lepiaf)
556560
- Javier López (loalf)
557561
- Reinier Kip
558562
- Geoffrey Brier (geoffrey-brier)
@@ -574,6 +578,7 @@ Symfony is the result of the work of many people who made the code better
574578
- Alex Bogomazov (alebo)
575579
- maxime.steinhausser
576580
- Stefan Warman
581+
- Thomas Perez (scullwm)
577582
- Tristan Maindron (tmaindron)
578583
- Wesley Lancel
579584
- Ke WANG (yktd26)
@@ -582,7 +587,6 @@ Symfony is the result of the work of many people who made the code better
582587
- Sergey Kolodyazhnyy (skolodyazhnyy)
583588
- umpirski
584589
- Denis Brumann (dbrumann)
585-
- Michael Babker (mbabker)
586590
- Quentin de Longraye (quentinus95)
587591
- Chris Heng (gigablah)
588592
- Richard Bradley
@@ -592,7 +596,6 @@ Symfony is the result of the work of many people who made the code better
592596
- Michael Devery (mickadoo)
593597
- Antoine Corcy
594598
- Artur Eshenbrener
595-
- Arturs Vonda
596599
- Sascha Grossenbacher
597600
- Szijarto Tamas
598601
- Catalin Dan
@@ -622,7 +625,6 @@ Symfony is the result of the work of many people who made the code better
622625
- develop
623626
- ReenExe
624627
- Mark Sonnabaum
625-
- Maxime Veber (nek-)
626628
- Richard Quadling
627629
- jochenvdv
628630
- Arturas Smorgun (asarturas)
@@ -671,7 +673,6 @@ Symfony is the result of the work of many people who made the code better
671673
- Christian Soronellas (theunic)
672674
- Yosmany Garcia (yosmanyga)
673675
- Wouter de Wild
674-
- Miroslav Sustek
675676
- Degory Valentine
676677
- Benoit Lévêque (benoit_leveque)
677678
- Jeroen Fiege (fieg)
@@ -695,6 +696,7 @@ Symfony is the result of the work of many people who made the code better
695696
- Jan Prieser
696697
- Adrien Lucas (adrienlucas)
697698
- Zhuravlev Alexander (scif)
699+
- Yanick Witschi (toflar)
698700
- James Michael DuPont
699701
- Tom Klingenberg
700702
- Christopher Hall (mythmakr)
@@ -836,7 +838,6 @@ Symfony is the result of the work of many people who made the code better
836838
- Danilo Silva
837839
- Zachary Tong (polyfractal)
838840
- Hryhorii Hrebiniuk
839-
- Thomas Perez (scullwm)
840841
- Dennis Fridrich (dfridrich)
841842
- hamza
842843
- dantleech
@@ -865,6 +866,7 @@ Symfony is the result of the work of many people who made the code better
865866
- Goran Juric
866867
- Laurent Ghirardotti (laurentg)
867868
- Nicolas Macherey
869+
- AKeeman (akeeman)
868870
- Lin Clark
869871
- Jeremy David (jeremy.david)
870872
- Robin Lehrmann (robinlehrmann)
@@ -1106,6 +1108,7 @@ Symfony is the result of the work of many people who made the code better
11061108
- Max Romanovsky (maxromanovsky)
11071109
- Mathieu Morlon
11081110
- Daniel Tschinder
1111+
- Alexander Schranz
11091112
- Rafał Muszyński (rafmus90)
11101113
- Timothy Anido (xanido)
11111114
- Rick Prent
@@ -1413,6 +1416,7 @@ Symfony is the result of the work of many people who made the code better
14131416
- Rosio (ben-rosio)
14141417
- Simon Paarlberg (blamh)
14151418
- Jeroen Thora (bolle)
1419+
- Brieuc THOMAS (brieucthomas)
14161420
- Masao Maeda (brtriver)
14171421
- Darius Leskauskas (darles)
14181422
- David Joos (djoos)
@@ -1442,7 +1446,6 @@ Symfony is the result of the work of many people who made the code better
14421446
- Cyrille Jouineau (tuxosaurus)
14431447
- Yorkie Chadwick (yorkie76)
14441448
- GuillaumeVerdon
1445-
- Yanick Witschi
14461449
- Ondrej Mirtes
14471450
- akimsko
14481451
- Youpie

‎src/Symfony/Component/DependencyInjection/Container.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Container.php
+7-7Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -253,9 +253,6 @@ public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE
253253
if (isset($this->privates[$id])) {
254254
@trigger_error(sprintf('Requesting the "%s" private service is deprecated since Symfony 3.2 and won\'t be supported anymore in Symfony 4.0.', $id), E_USER_DEPRECATED);
255255
}
256-
if ('service_container' === $id) {
257-
return $this;
258-
}
259256
if (isset($this->aliases[$id])) {
260257
$id = $this->aliases[$id];
261258
}
@@ -264,6 +261,9 @@ public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE
264261
if (isset($this->services[$id])) {
265262
return $this->services[$id];
266263
}
264+
if ('service_container' === $id) {
265+
return $this;
266+
}
267267

268268
if (isset($this->loading[$id])) {
269269
throw new ServiceCircularReferenceException($id, array_keys($this->loading));
@@ -326,14 +326,14 @@ public function initialized($id)
326326
{
327327
$id = strtolower($id);
328328

329-
if ('service_container' === $id) {
330-
return false;
331-
}
332-
333329
if (isset($this->aliases[$id])) {
334330
$id = $this->aliases[$id];
335331
}
336332

333+
if ('service_container' === $id) {
334+
return false;
335+
}
336+
337337
return isset($this->services[$id]);
338338
}
339339

‎src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/DependencyInjection/Dumper/PhpDumper.php
+4-4Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1482,6 +1482,10 @@ private function dumpParameter($name)
14821482
*/
14831483
private function getServiceCall($id, Reference $reference = null)
14841484
{
1485+
while ($this->container->hasAlias($id)) {
1486+
$id = (string) $this->container->getAlias($id);
1487+
}
1488+
14851489
if ('service_container' === $id) {
14861490
return '$this';
14871491
}
@@ -1495,10 +1499,6 @@ private function getServiceCall($id, Reference $reference = null)
14951499
return sprintf('$this->get(\'%s\', ContainerInterface::NULL_ON_INVALID_REFERENCE)', $id);
14961500
}
14971501

1498-
if ($this->container->hasAlias($id)) {
1499-
$id = (string) $this->container->getAlias($id);
1500-
}
1501-
15021502
return sprintf('$this->get(\'%s\')', $id);
15031503
}
15041504

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.