8000 Merge branch '2.8' into 3.0 · symfony/symfony@0ed0e64 · GitHub
[go: up one dir, main page]

Skip to content

Commit 0ed0e64

Browse files
Merge branch '2.8' into 3.0
* 2.8: `@throws` annotations should go after `@return` Fix merge updated VERSION for 2.3.42 update CONTRIBUTORS for 2.3.42 updated CHANGELOG for 2.3.42 Revert "bug #18908 [DependencyInjection] force enabling the external XML entity loaders (xabbuh)" Partial revert of previous PR [DependencyInjection] Skip deep reference check for 'service_container' Catch \Throwable [Serializer] Add missing @throws annotations Fix for #18843 force enabling the external XML entity loaders Removed UTC specification with timestamp Conflicts: CHANGELOG-2.3.md src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php src/Symfony/Bundle/TwigBundle/Extension/AssetsExtension.php src/Symfony/Component/Config/Loader/FileLoader.php src/Symfony/Component/DependencyInjection/Container.php src/Symfony/Component/DependencyInjection/ContainerBuilder.php src/Symfony/Component/Finder/Expression/Expression.php src/Symfony/Component/Finder/Finder.php src/Symfony/Component/HttpKernel/DependencyInjection/ContainerAwareHttpKernel.php src/Symfony/Component/HttpKernel/HttpCache/HttpCache.php
2 parents ef078ca + c4716d2 commit 0ed0e64

File tree

30 files changed

+199
-78
lines changed

30 files changed

+199
-78
lines changed

CONTRIBUTORS.md

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@ Symfony is the result of the work of many people who made the code better
2323
- Pascal Borreli (pborreli)
2424
- Joseph Bielawski (stloyd)
2525
- Wouter De Jong (wouterj)
26-
- Karma Dordrak (drak)
2726
- Romain Neutron (romain)
27+
- Karma Dordrak (drak)
2828
- Lukas Kahwe Smith (lsmith)
2929
- Martin Hasoň (hason)
3030
- Jeremy Mikola (jmikola)
@@ -53,11 +53,11 @@ Symfony is the result of the work of many people who made the code better
5353
- Bilal Amarni (bamarni)
5454
- Florin Patan (florinpatan)
5555
- Kevin Bond (kbond)
56+
- Peter Rehm (rpet)
5657
- Gábor Egyed (1ed)
5758
- Michel Weimerskirch (mweimerskirch)
5859
- Eric Clemmons (ericclemmons)
5960
- Andrej Hudec (pulzarraider)
60-
- Peter Rehm (rpet)
6161
- Christian Raue
6262
- Matthias Pigulla (mpdude)
6363
- Deni
@@ -67,14 +67,14 @@ Symfony is the result of the work of many people who made the code better
6767
- Iltar van der Berg (kjarli)
6868
- Ener-Getick (energetick)
6969
- Douglas Greenshields (shieldo)
70+
- Charles Sarrazin (csarrazi)
7071
- Lee McDermott
7172
- Brandon Turner
7273
- Luis Cordova (cordoval)
7374
- Daniel Holmes (dholmes)
7475
- Pierre du Plessis (pierredup)
7576
- Bart van den Burg (burgov)
7677
- Jordan Alliot (jalliot)
77-
- Charles Sarrazin (csarrazi)
7878
- John Wards (johnwards)
7979
- Toni Uebernickel (havvg)
8080
- Fran Moreno (franmomu)
@@ -89,6 +89,7 @@ Symfony is the result of the work of many people who made the code better
8989
- Alexander M. Turek (derrabus)
9090
- Dariusz Ruminski
9191
- marc.weistroff
92+
- Issei Murasawa (issei_m)
9293
- lenar
9394
- Włodzimierz Gajda (gajdaw)
9495
- Alexander Schwenn (xelaris)
@@ -97,13 +98,12 @@ Symfony is the result of the work of many people who made the code better
9798
- Colin Frei
9899
- Adrien Brault (adrienbrault)
99100
- Joshua Thijssen
100-
- Issei Murasawa (issei_m)
101+
- Baptiste Clavié (talus)
101102
- Peter Kokot (maastermedia)
102103
- excelwebzone
103104
- Jacob Dreesen (jdreesen)
104105
- Jérémy DERUSSÉ (jderusse)
105106
- Vladimir Reznichenko (kalessil)
106-
- Baptiste Clavié (talus)
107107
- Fabien Pennequin (fabienpennequin)
108108
- Gordon Franke (gimler)
109109
- David Buchmann (dbu)
@@ -121,6 +121,7 @@ Symfony is the result of the work of many people who made the code better
121121
- Evgeniy (ewgraf)
122122
- Guilherme Blanco (guilhermeblanco)
123123
- Pablo Godel (pgodel)
124+
- Titouan Galopin (tgalopin)
124125
- Jérémie Augustin (jaugustin)
125126
- Sebastiaan Stok (sstok)
126127
- Tugdual Saunier (tucksaun)
@@ -129,10 +130,10 @@ Symfony is the result of the work of many people who made the code better
129130
- Arnaud Kleinpeter (nanocom)
130131
- Joel Wurtz (brouznouf)
131132
- Philipp Wahala (hifi)
132-
- Titouan Galopin (tgalopin)
133133
- Richard Shank (iampersistent)
134134
- Thomas Rabaix (rande)
135135
- Vincent AUBERT (vincent)
136+
- Rouven Weßling (realityking)
136137
- Mikael Pajunen
137138
- Clemens Tolboom
138139
- Helmer Aaviksoo
@@ -143,7 +144,6 @@ Symfony is the result of the work of many people who made the code better
143144
- Amal Raghav (kertz)
144145
- Jonathan Ingram (jonathaningram)
145146
- Artur Kotyrba
146-
- Rouven Weßling (realityking)
147147
- Warnar Boekkooi (boekkooi)
148148
- Dmitrii Chekaliuk (lazyhammer)
149149
- Clément JOBEILI (dator)
@@ -211,6 +211,7 @@ Symfony is the result of the work of many people who made the code better
211211
- Kristen Gilden (kgilden)
212212
- Dawid Nowak
213213
- Pierre-Yves LEBECQ (pylebecq)
214+
- Daniel Espendiller
214215
- Jakub Kucharovic (jkucharovic)
215216
- Eugene Leonovich (rybakit)
216217
- Filippo Tessarotto
@@ -240,7 +241,6 @@ Symfony is the result of the work of many people who made the code better
240241
- Michael Holm (hollo)
241242
- Marc Weistroff (futurecat)
242243
- Hidde Wieringa (hiddewie)
243-
- Daniel Espendiller
244244
- Chris Smith (cs278)
245245
- Florian Klein (docteurklein)
246246
- Manuel Kiessling (manuelkiessling)
@@ -293,6 +293,7 @@ Symfony is the result of the work of many people who made the code better
293293
- Inal DJAFAR (inalgnu)
294294
- Christian Gärtner (dagardner)
295295
- Tomasz Kowalczyk (thunderer)
296+
- Christian Schmidt
296297
- François-Xavier de Guillebon (de-gui_f)
297298
- Damien Alexandre (damienalexandre)
298299
- Felix Labrecque
@@ -309,6 +310,7 @@ Symfony is the result of the work of many people who made the code better
309310
- Philipp Kräutli (pkraeutli)
310311
- Kirill chEbba Chebunin (chebba)
311312
- Greg Thornton (xdissent)
313+
- Robin Chalas (chalas_r)
312314
- Costin Bereveanu (schniper)
313315
- Loïc Chardonnet (gnusat)
314316
- Marek Kalnik (marekkalnik)
@@ -319,12 +321,14 @@ Symfony is the result of the work of many people who made the code better
319321
- Pavel Volokitin (pvolok)
320322
- Endre Fejes
321323
- Tobias Naumann (tna)
324+
- Daniel Beyer
322325
- Shein Alexey
323326
- Baptiste Lafontaine
324327
- Joe Lencioni
325328
- Daniel Tschinder
326329
- Kai
327330
- Lee Rowlands
331+
- Krzysztof Piasecki (krzysztek)
328332
- Maximilian Reichel (phramz)
329333
- Loick Piera (pyrech)
330334
- Karoly Negyesi (chx)
@@ -364,7 +368,6 @@ Symfony is the result of the work of many people who made the code better
364368
- EdgarPE
365369
- Florian Pfitzer (marmelatze)
366370
- Asier Illarramendi (doup)
367-
- Christian Schmidt
368371
- Chris Sedlmayr (catchamonkey)
369372
- Seb Koelen
370373
- Christoph Mewes (xrstf)
@@ -382,6 +385,7 @@ Symfony is the result of the work of many people who made the code better
382385
- Mathieu Lemoine
383386
- franek (franek)
384387
- Christian Wahler
388+
- Mathieu Lemoine
385389
- Gintautas Miselis
386390
- Zander Baldwin
387391
- Adam Harvey
@@ -419,7 +423,6 @@ Symfony is the result of the work of many people who made the code better
419423
- Anthony Ferrara
420424
- Ioan Negulescu
421425
- Jakub Škvára (jskvara)
422-
- Daniel Beyer
423426
- Andrew Udvare (audvare)
424 1241 427
- alexpods
425428
- Tristan Darricau (nicofuma)
@@ -448,6 +451,7 @@ Symfony is the result of the work of many people who made the code better
448451
- Denis Gorbachev (starfall)
449452
- Peter van Dommelen
450453
- Tim van Densen
454+
- Martin Morávek (keeo)
451455
- Steven Surowiec
452456
- Kevin Saliou (kbsali)
453457
- NothingWeAre
@@ -462,7 +466,6 @@ Symfony is the result of the work of many people who made the code better
462466
- Ziumin
463467
- Jeremy Benoist
464468
- Lenar Lõhmus
465-
- Krzysztof Piasecki (krzysztek)
466469
- Benjamin Laugueux (yzalis)
467470
- Zach Badgett (zachbadgett)
468471
- Aurélien Fredouelle
@@ -501,6 +504,7 @@ Symfony is the result of the work of many people who made the code better
501504
- Javier López (loalf)
502505
- Reinier Kip
503506
- Dustin Dobervich (dustin10)
507+
- dantleech
504508
- Anne-Sophie Bachelard (annesophie)
505509
- Sebastian Marek (proofek)
506510
- Erkhembayar Gantulga (erheme318)
@@ -563,6 +567,7 @@ Symfony is the result of the work of many people who made the code better
563567
- Peter Ward
564568
- Dominik Ritter (dritter)
565569
- Sebastian Grodzicki (sgrodzicki)
570+
- SpacePossum
566571
- Martin Hujer (martinhujer)
567572
- Pascal Helfenstein
568573
- Baldur Rensch (brensch)
@@ -613,6 +618,7 @@ Symfony is the result of the work of many people who made the code better
613618
- Adrien Lucas (adrienlucas)
614619
- James Michael DuPont
615620
- Tom Klingenberg
621+
- Filip Procházka (fprochazka)
616622
- Christopher Hall (mythmakr)
617623
- Paul Kamer (pkamer)
618624
- Rafał Wrzeszcz (rafalwrzeszcz)
@@ -629,6 +635,7 @@ Symfony is the result of the work of many people who made the code better
629635
- Alaattin Kahramanlar (alaattin)
630636
- Maksim Kotlyar (makasim)
631637
- Neil Ferreira
638+
- Nathanael Noblet (gnat)
632639
- Dmitry Parnas (parnas)
633640
- Théo FIDRY (theofidry)
634641
- Paul LE CORRE
@@ -745,7 +752,6 @@ Symfony is the result of the work of many people who made the code better
745752
- Guillaume Royer
746753
- Artem (digi)
747754
- boite
748-
- dantleech
749755
- Vadim Tyukov (vatson)
750756
- Sortex
751757
- chispita
@@ -851,6 +857,7 @@ Symfony is the result of the work of many people who made the code better
851857
- Christian Sciberras
852858
- Anton Bakai
853859
- Clement Herreman (clemherreman)
860+
- Dan Ionut Dumitriu (danionut90)
854861
- Nyro (nyro)
855862
- Marco
856863
- Marc Torres
@@ -870,7 +877,6 @@ Symfony is the result of the work of many people who made the code better
870877
- ConneXNL
871878
- Aharon Perkel
872879
- Abdul.Mohsen B. A. A
873-
- SpacePossum
874880
- Benoît Burnichon
875881
- Remi Collet
876882
- pthompson
@@ -1059,6 +1065,7 @@ Symfony is the result of the work of many people who made the code better
10591065
- stloyd
10601066
- Chris Tickner
10611067
- Andrew Coulton
1068+
- Jeremy Benoist
10621069
- Michal Gebauer
10631070
- Gleb Sidora
10641071
- David Stone
@@ -1108,7 +1115,6 @@ Symfony is the result of the work of many people who made the code better
11081115
- Simon Sargeant
11091116
- efeen
11101117
- Michał Dąbrowski (defrag)
1111-
- Nathanael Noblet (gnat)
11121118
- Simone Fumagalli (hpatoio)
11131119
- Brian Graham (incognito)
11141120
- Kevin Vergauwen (innocenzo)
@@ -1214,8 +1220,10 @@ Symfony is the result of the work of many people who made the code better
12141220
- Alan Chen
12151221
- Maerlyn
12161222
- Even André Fiskvik
1223+
- Erik van Wingerden
12171224
- Dane Powell
12181225
- Gerrit Drost
1226+
- Linnaea Von Lavia
12191227
- Lenar Lõhmus
12201228
- Cristian Gonzalez
12211229
- AlberT
@@ -1271,6 +1279,7 @@ Symfony is the result of the work of many people who made the code better
12711279
- Joseph Deray
12721280
- Damian Sromek
12731281
- Ben
1282+
- dasmfm
12741283
- Arnaud Buathier (arnapou)
12751284
- chesteroni (chesteroni)
12761285
- Mauricio Lopez (diaspar)
@@ -1358,7 +1367,6 @@ Symfony is the result of the work of many people who made the code better
13581367
- Norman Soetbeer
13591368
- zorn
13601369
- Benjamin Long
1361-
- Robin Chalas
13621370
- Matt Janssen
13631371
- Peter Gribanov
13641372
- kwiateusz
@@ -1443,6 +1451,7 @@ Symfony is the result of the work of many people who made the code better
14431451
- ollie harridge (ollietb)
14441452
- Paul Andrieux (paulandrieux)
14451453
- Paweł Szczepanek (pauluz)
1454+
- Philippe Degeeter (pdegeeter)
14461455
- Christian López Espínola (penyaskito)
14471456
- Petr Jaroš (petajaros)
14481457
- Philipp Hoffmann (philipphoffmann)

src/Symfony/Bridge/Twig/NodeVisitor/Scope.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ public function leave()
6767
* @param string $key
6868
* @param mixed $value
6969
*
70-
* @throws \LogicException
71-
*
7270
* @return Scope Current scope
71+
*
72+
* @throws \LogicException
7373
*/
7474
public function set($key, $value)
7575
{

src/Symfony/Bundle/FrameworkBundle/Routing/DelegatingLoader.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ public function load($resource, $type = null)
7878
if ($controller = $route->getDefault('_controller')) {
7979
try {
8080
$controller = $this->parser->parse($controller);
81-
} catch (\Exception $e) {
81+
} catch (\InvalidArgumentException $e) {
8282
// unable to optimize unknown notation
8383
}
8484

src/Symfony/Bundle/FrameworkBundle/Translation/PhpExtractor.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -182,9 +182,9 @@ protected function parseTokens($tokens, MessageCatalogue $catalog)
182182
/**
183183
* @param string $file
184184
*
185-
* @throws \InvalidArgumentException
186-
*
187185
* @return bool
186+
*
187+
* @throws \InvalidArgumentException
188188
*/
189189
protected function canBeExtracted($file)
190190
{

src/Symfony/Component/CssSelector/Parser/Parser.php

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,9 +58,9 @@ public function parse($source)
5858
*
5959
* @param Token[] $tokens
6060
*
61-
* @throws SyntaxErrorException
62-
*
6361
* @return array
62+
*
63+
* @throws SyntaxErrorException
6464
*/
6565
public static function parseSeries(array $tokens)
6666
{
@@ -133,9 +133,9 @@ private function parseSelectorList(TokenStream $stream)
133133
*
134134
* @param TokenStream $stream
135135
*
136-
* @throws SyntaxErrorException
137-
*
138136
* @return Node\SelectorNode
137+
*
138+
* @throws SyntaxErrorException
139139
*/
140140
private function parserSelectorNode(TokenStream $stream)
141141
{
@@ -173,9 +173,9 @@ private function parserSelectorNode(TokenStream $stream)
173173
* @param TokenStream $stream
174174
* @param bool $insideNegation
175175
*
176-
* @throws SyntaxErrorException
177-
*
178176
* @return array
177+
*
178+
* @throws SyntaxErrorException
179179
*/
180180
private function parseSimpleSelector(TokenStream $stream, $insideNegation = false)
181181
{
@@ -330,9 +330,9 @@ private function parseElementNode(TokenStream $stream)
330330
* @param Node\NodeInterface $selector
331331
* @param TokenStream $stream
332332
*
333-
* @throws SyntaxErrorException
334-
*
335333
* @return Node\AttributeNode
334+
*
335+
* @throws SyntaxErrorException
336336
*/
337337
private function parseAttributeNode(Node\NodeInterface $selector, TokenStream $stream)
338338
{

0 commit comments

Comments
 (0)
0