diff --git a/.travis.yml b/.travis.yml
index c23169a9b4..d4c5156a6d 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -149,7 +149,7 @@ before_install:
tfold ext.apcu tpecl apcu-5.1.6 apcu.so $INI
tfold ext.libsodium tpecl libsodium sodium.so $INI
- tfold ext.mongodb tpecl mongodb-1.4.0RC1 mongodb.so $INI
+ tfold ext.mongodb tpecl mongodb-1.5.0 mongodb.so $INI
tfold ext.amqp tpecl amqp-1.9.3 amqp.so $INI
fi
diff --git a/CHANGELOG-4.0.md b/CHANGELOG-4.0.md
index 7131036ba4..72d24bf39e 100644
--- a/CHANGELOG-4.0.md
+++ b/CHANGELOG-4.0.md
@@ -7,6 +7,46 @@ in 4.0 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v4.0.0...v4.0.1
+* 4.0.12 (2018-06-25)
+
+ * bug #27626 [TwigBundle][DX] Only add the Twig WebLinkExtension if the WebLink component is enabled (thewilkybarkid)
+ * bug #27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas)
+ * bug #27690 [DI] Resolve env placeholder in logs (ro0NL)
+ * bug #26534 allow_extra_attributes does not throw an exception as documented (deviantintegral)
+ * bug #27668 [Lock] use 'r+' for fopen (fixes issue on Solaris) (fritzmg)
+ * bug #27669 [Filesystem] fix file lock on SunOS (fritzmg)
+ * bug #27662 [HttpKernel] fix handling of nested Error instances (xabbuh)
+ * bug #26845 [Config] Fixing GlobResource when inside phar archive (vworldat)
+ * bug #27382 [Form] Fix error when rendering a DateIntervalType form with exactly 0 weeks (krixon)
+ * bug #27309 Fix surrogate not using original request (Toflar)
+ * bug #27467 [HttpKernel] fix session tracking in surrogate master requests (nicolas-grekas)
+ * bug #27630 [Validator][Form] Remove BOM in some xlf files (gautierderuette)
+ * bug #27596 [Framework][Workflow] Added support for interfaces (vudaltsov)
+ * bug #27593 [ProxyManagerBridge] Fixed support of private services (nicolas-grekas)
+ * bug #27591 [VarDumper] Fix dumping ArrayObject and ArrayIterator instances (nicolas-grekas)
+ * bug #27581 Fix bad method call with guard authentication + session migration (weaverryan)
+ * bug #27576 [Cache] Fix expiry comparisons in array-based pools (nicolas-grekas)
+ * bug #27556 Avoiding session migration for stateless firewall UsernamePasswordJsonAuthenticationListener (weaverryan)
+ * bug #27452 Avoid migration on stateless firewalls (weaverryan)
+ * bug #27568 [DI] Deduplicate generated proxy classes (nicolas-grekas)
+ * bug #27326 [Serializer] deserialize from xml: Fix a collection that contains the only one element (webnet-fr)
+ * bug #27567 [PhpUnitBridge] Fix error on some Windows OS (Nsbx)
+ * bug #27357 [Lock] Remove released semaphore (jderusse)
+ * bug #27416 TagAwareAdapter over non-binary memcached connections corrupts memcache (Aleksey Prilipko)
+ * bug #27514 [Debug] Pass previous exception to FatalErrorException (pmontoya)
+ * bug #27516 Revert "bug #26138 [HttpKernel] Catch HttpExceptions when templating is not installed (cilefen)" (nicolas-grekas)
+ * bug #27318 [Cache] memcache connect should not add duplicate entries on sequential calls (Aleksey Prilipko)
+ * bug #27389 [Serializer] Fix serializer tries to denormalize null values on nullable properties (ogizanagi)
+ * bug #27272 [FrameworkBundle] Change priority of AddConsoleCommandPass to TYPE_BEFORE_REMOVING (upyx)
+ * bug #27396 [HttpKernel] fix registering IDE links (nicolas-grekas)
+ * bug #26973 [HttpKernel] Set first trusted proxy as REMOTE_ADDR in InlineFragmentRenderer. (kmadejski)
+ * bug #27303 [Process] Consider "executable" suffixes first on Windows (sanmai)
+ * bug #27297 Triggering RememberMe's loginFail() when token cannot be created (weaverryan)
+ * bug #27344 [HttpKernel] reset kernel start time on reboot (kiler129)
+ * bug #27365 [Serializer] Check the value of enable_max_depth if defined (dunglas)
+ * bug #27358 [PhpUnitBridge] silence some stderr outputs (ostrolucky)
+ * bug #27366 [DI] never inline lazy services (nicolas-grekas)
+
* 4.0.11 (2018-05-25)
* bug #27364 [DI] Fix bad exception on uninitialized references to non-shared services (nicolas-grekas)
diff --git a/CHANGELOG-4.1.md b/CHANGELOG-4.1.md
index 3f712a6dfd..b09b994c5c 100644
--- a/CHANGELOG-4.1.md
+++ b/CHANGELOG-4.1.md
@@ -7,6 +7,62 @@ in 4.1 minor versions.
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v4.1.0...v4.1.1
+* 4.1.1 (2018-06-25)
+
+ * bug #27626 [TwigBundle][DX] Only add the Twig WebLinkExtension if the WebLink component is enabled (thewilkybarkid)
+ * bug #27702 [TwigBundle] bump lowest deps to fix issue with "double-colon" controller service refs (nicolas-grekas)
+ * bug #27701 [SecurityBundle] Dont throw if "security.http_utils" is not found (nicolas-grekas)
+ * bug #27690 [DI] Resolve env placeholder in logs (ro0NL)
+ * bug #27687 [HttpKernel] fix argument's error messages in ServiceValueResolver (nicolas-grekas)
+ * bug #27614 [VarDumper] Fix dumping by splitting Server/Connection out of Dumper/ServerDumper (nicolas-grekas)
+ * bug #27681 [DI] Avoid leaking unused env placeholders (ro0NL)
+ * bug #26534 allow_extra_attributes does not throw an exception as documented (deviantintegral)
+ * bug #27664 [FrameworkBundle] Ignore keepQueryParams attribute when generating route redirect (vudaltsov)
+ * bug #27668 [Lock] use 'r+' for fopen (fixes issue on Solaris) (fritzmg)
+ * bug #27669 [Filesystem] fix file lock on SunOS (fritzmg)
+ * bug #27662 [HttpKernel] fix handling of nested Error instances (xabbuh)
+ * bug #27651 [Messenger] Fixed MessengerPass::guessHandledClasses return type (massimilianobraglia)
+ * bug #26845 [Config] Fixing GlobResource when inside phar archive (vworldat)
+ * bug #27382 [Form] Fix error when rendering a DateIntervalType form with exactly 0 weeks (krixon)
+ * bug #27309 Fix surrogate not using original request (Toflar)
+ * bug #27467 [HttpKernel] fix session tracking in surrogate master requests (nicolas-grekas)
+ * bug #27632 [HttpFoundation] Ensure RedisSessionHandler::updateTimestamp returns a boolean (MatTheCat)
+ * bug #27630 [Validator][Form] Remove BOM in some xlf files (gautierderuette)
+ * bug #27596 [Framework][Workflow] Added support for interfaces (vudaltsov)
+ * bug #27593 [ProxyManagerBridge] Fixed support of private services (nicolas-grekas)
+ * bug #27591 [VarDumper] Fix dumping ArrayObject and ArrayIterator instances (nicolas-grekas)
+ * bug #27528 [FrameworkBundle] give access to non-shared services when using test.service_container (nicolas-grekas)
+ * bug #27584 Avoid calling eval when there is no script embedded in the toolbar (stof)
+ * bug #27581 Fix bad method call with guard authentication + session migration (weaverryan)
+ * bug #27576 [Cache] Fix expiry comparisons in array-based pools (nicolas-grekas)
+ * bug #27566 [FrameworkBundle] fix for allowing single colon controller notation (dmaicher)
+ * bug #27556 Avoiding session migration for stateless firewall UsernamePasswordJsonAuthenticationListener (weaverryan)
+ * bug #27452 Avoid migration on stateless firewalls (weaverryan)
+ * bug #27568 [DI] Deduplicate generated proxy classes (nicolas-grekas)
+ * bug #27511 [Routing] fix matching host patterns, utf8 prefixes and non-capturing groups (nicolas-grekas)
+ * bug #27326 [Serializer] deserialize from xml: Fix a collection that contains the only one element (webnet-fr)
+ * bug #27562 [HttpKernel] Log/Collect exceptions at prio 0 (ro0NL)
+ * bug #27567 [PhpUnitBridge] Fix error on some Windows OS (Nsbx)
+ * bug #27357 [Lock] Remove released semaphore (jderusse)
+ * bug #27416 TagAwareAdapter over non-binary memcached connections corrupts memcache (Aleksey Prilipko)
+ * bug #27514 [Debug] Pass previous exception to FatalErrorException (pmontoya)
+ * bug #27516 Revert "bug #26138 [HttpKernel] Catch HttpExceptions when templating is not installed (cilefen)" (nicolas-grekas)
+ * bug #27501 [FrameworkBundle] Fix test-container on kernel reboot, revert to returning the real container from Client::getContainer() (nicolas-grekas)
+ * bug #27472 [DI] Ignore missing tree root nodes on validate (ro0NL)
+ * bug #27458 [WebProfilerBundle] fixed getSession when no session has been set deprecation warnings (GregOriol)
+ * bug #27318 [Cache] memcache connect should not add duplicate entries on sequential calls (Aleksey Prilipko)
+ * bug #27498 [Routing] Don't reorder past variable-length placeholders (nanocom, nicolas-grekas)
+ * bug #27496 [DebugBundle] DebugBundle::registerCommands should be noop (ogizanagi)
+ * bug #27485 [BrowserKit] Fix a BC break in Client affecting Panthère (dunglas)
+ * bug #27470 [DI] Remove default env type check on validate (ro0NL)
+ * bug #27454 [FrameworkBundle][TwigBridge] Fix BC break from strong dependency on CSRF token storage (tgalopin)
+ * bug #27389 [Serializer] Fix serializer tries to denormalize null values on nullable properties (ogizanagi)
+ * bug #27272 [FrameworkBundle] Change priority of AddConsoleCommandPass to TYPE_BEFORE_REMOVING (upyx)
+ * bug #27396 [HttpKernel] fix registering IDE links (nicolas-grekas)
+ * bug #26973 [HttpKernel] Set first trusted proxy as REMOTE_ADDR in InlineFragmentRenderer. (kmadejski)
+ * bug #27303 [Process] Consider "executable" suffixes first on Windows (sanmai)
+ * bug #27297 Triggering RememberMe's loginFail() when token cannot be created (weaverryan)
+
* 4.1.0 (2018-05-30)
* bug #27420 Revert "feature #26702 Mark ExceptionInterfaces throwable (ostrolucky)" (nicolas-grekas)
diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md
index 672246e7f9..21142e2bde 100644
--- a/CONTRIBUTORS.md
+++ b/CONTRIBUTORS.md
@@ -55,12 +55,12 @@ Symfony is the result of the work of many people who made the code better
- Peter Rehm (rpet)
- Matthias Pigulla (mpdude)
- Saša Stamenković (umpirsky)
+ - Kevin Bond (kbond)
+ - Tobias Nyholm (tobias)
- Pierre du Plessis (pierredup)
- Henrik Bjørnskov (henrikbjorn)
- Dany Maillard (maidmaid)
- Miha Vrhovnik
- - Kevin Bond (kbond)
- - Tobias Nyholm (tobias)
- Diego Saint Esteben (dii3g0)
- Konstantin Kudryashov (everzet)
- Alexander M. Turek (derrabus)
@@ -70,11 +70,11 @@ Symfony is the result of the work of many people who made the code better
- Mathieu Piot (mpiot)
- Gábor Egyed (1ed)
- Michel Weimerskirch (mweimerskirch)
+ - Titouan Galopin (tgalopin)
- Andrej Hudec (pulzarraider)
- Eric Clemmons (ericclemmons)
- Jáchym Toušek (enumag)
- Charles Sarrazin (csarrazi)
- - Titouan Galopin (tgalopin)
- Konstantin Myakshin (koc)
- Christian Raue
- Arnout Boks (aboks)
@@ -84,6 +84,7 @@ Symfony is the result of the work of many people who made the code better
- Issei Murasawa (issei_m)
- Douglas Greenshields (shieldo)
- David Maicher (dmaicher)
+ - Vladimir Reznichenko (kalessil)
- Lee McDermott
- Brandon Turner
- Luis Cordova (cordoval)
@@ -96,7 +97,6 @@ Symfony is the result of the work of many people who made the code better
- Jérôme Tamarelle (gromnan)
- John Wards (johnwards)
- Fran Moreno (franmomu)
- - Vladimir Reznichenko (kalessil)
- Antoine Hérault (herzult)
- Paráda József (paradajozsef)
- Arnaud Le Blanc (arnaud-lb)
@@ -109,19 +109,21 @@ Symfony is the result of the work of many people who made the code better
- marc.weistroff
- lenar
- Alexander Schwenn (xelaris)
+ - gadelat (gadelat)
- Włodzimierz Gajda (gajdaw)
+ - Peter Kokot (maastermedia)
- Jacob Dreesen (jdreesen)
- Florian Voutzinos (florianv)
- Colin Frei
- Adrien Brault (adrienbrault)
- Tomáš Votruba (tomas_votruba)
- Joshua Thijssen
- - Peter Kokot (maastermedia)
- David Buchmann (dbu)
- excelwebzone
- Fabien Pennequin (fabienpennequin)
- Gordon Franke (gimler)
- Eric GELOEN (gelo)
+ - Valentin Udaltsov (vudaltsov)
- Lars Strojny (lstrojny)
- Daniel Wehner (dawehner)
- Tugdual Saunier (tucksaun)
@@ -131,6 +133,7 @@ Symfony is the result of the work of many people who made the code better
- Florian Lonqueu-Brochard (florianlb)
- Sebastiaan Stok (sstok)
- Stefano Sala (stefano.sala)
+ - Jérôme Vasseur (jvasseur)
- Evgeniy (ewgraf)
- Alex Pott
- Vincent AUBERT (vincent)
@@ -139,9 +142,7 @@ Symfony is the result of the work of many people who made the code better
- Sebastian Hörl (blogsh)
- Daniel Gomes (danielcsgomes)
- Hidenori Goto (hidenorigoto)
- - Jérôme Vasseur (jvasseur)
- - Valentin Udaltsov (vudaltsov)
- - gadelat (gadelat)
+ - Arnaud Kleinpeter (nanocom)
- Guilherme Blanco (guilhermeblanco)
- Pablo Godel (pgodel)
- Jérémie Augustin (jaugustin)
@@ -149,7 +150,6 @@ Symfony is the result of the work of many people who made the code better
- Philipp Wahala (hifi)
- Julien Falque (julienfalque)
- Rafael Dohms (rdohms)
- - Arnaud Kleinpeter (nanocom)
- jwdeitch
- Teoh Han Hui (teohhanhui)
- Mikael Pajunen
@@ -178,6 +178,7 @@ Symfony is the result of the work of many people who made the code better
- Warnar Boekkooi (boekkooi)
- Dmitrii Chekaliuk (lazyhammer)
- Clément JOBEILI (dator)
+ - Niels Keurentjes (curry684)
- Daniel Espendiller
- Possum
- Dorian Villet (gnutix)
@@ -219,10 +220,12 @@ Symfony is the result of the work of many people who made the code better
- Michele Orselli (orso)
- Tom Van Looy (tvlooy)
- Sven Paulus (subsven)
+ - Yanick Witschi (toflar)
- Thomas Calvet (fancyweb)
- Rui Marinho (ruimarinho)
- - Niels Keurentjes (curry684)
+ - Alessandro Chitolina
- Eugene Wissner
+ - Pascal Montoya
- Julien Brochet (mewt)
- Leo Feyer
- Tristan Darricau (nicofuma)
@@ -235,6 +238,7 @@ Symfony is the result of the work of many people who made the code better
- Rob Frawley 2nd (robfrawley)
- julien pauli (jpauli)
- Lorenz Schori
+ - Oskar Stark (oskarstark)
- Sébastien Lavoie (lavoiesl)
- Gregor Harlan (gharlan)
- Dariusz
@@ -255,9 +259,7 @@ Symfony is the result of the work of many people who made the code better
- Arjen Brouwer (arjenjb)
- Katsuhiro OGAWA
- Patrick McDougle (patrick-mcdougle)
- - Yanick Witschi (toflar)
- Alif Rachmawadi
- - Alessandro Chitolina
- Kristen Gilden (kgilden)
- Pierre-Yves LEBECQ (pylebecq)
- Jordan Samouh (jordansamouh)
@@ -284,7 +286,6 @@ Symfony is the result of the work of many people who made the code better
- Bob den Otter (bopp)
- Nikita Konstantinov
- Wodor Wodorski
- - Oskar Stark (oskarstark)
- Thomas Lallement (raziel057)
- Giorgio Premi
- Christian Schmidt
@@ -303,6 +304,7 @@ Symfony is the result of the work of many people who made the code better
- Marc Weistroff (futurecat)
- Christian Schmidt
- Maxime Veber (nek-)
+ - MatTheCat
- Edi Modrić (emodric)
- Chad Sikorra (chadsikorra)
- Chris Smith (cs278)
@@ -358,11 +360,11 @@ Symfony is the result of the work of many people who made the code better
- Artur Eshenbrener
- François-Xavier de Guillebon (de-gui_f)
- Damien Alexandre (damienalexandre)
+ - Thomas Perez (scullwm)
- Felix Labrecque
- Yaroslav Kiliba
- Terje Bråten
- Mathieu Lechat
- - MatTheCat
- Robbert Klarenbeek (robbertkl)
- JhonnyL
- David Badura (davidbadura)
@@ -453,7 +455,6 @@ Symfony is the result of the work of many people who made the code better
- Dirk Pahl (dirkaholic)
- cedric lombardot (cedriclombardot)
- Jonas Flodén (flojon)
- - Thomas Perez (scullwm)
- Marcin Sikoń (marphi)
- Dominik Zogg (dominik.zogg)
- Marek Pietrzak
@@ -483,6 +484,7 @@ Symfony is the result of the work of many people who made the code better
- Miroslav Sustek
- Sullivan SENECHAL (soullivaneuh)
- Pablo Díez (pablodip)
+ - Grzegorz (Greg) Zdanowski (kiler129)
- Martin Hujer (martinhujer)
- Kevin McBride
- Sergio Santoro
@@ -511,6 +513,7 @@ Symfony is the result of the work of many people who made the code better
- Andrew Udvare (audvare)
- alexpods
- Arjen van der Meijden
+ - Adam Szaraniec (mimol)
- Dariusz Ruminski
- Erik Trapman (eriktrapman)
- De Cock Xavier (xdecock)
@@ -573,6 +576,7 @@ Symfony is the result of the work of many people who made the code better
- Sebastian Blum
- aubx
- Marvin Butkereit
+ - Colin O'Dell (colinodell)
- Ricky Su (ricky)
- Gildas Quéméner (gquemener)
- Charles-Henri Bruyand
@@ -588,6 +592,7 @@ Symfony is the result of the work of many people who made the code better
- Nahuel Cuesta (ncuesta)
- Chris Boden (cboden)
- Christophe Villeger (seragan)
+ - Bob van de Vijver (bobvandevijver)
- Stefan Gehrig (sgehrig)
- Hany el-Kerdany
- Wang Jingyu
@@ -637,6 +642,7 @@ Symfony is the result of the work of many people who made the code better
- Richard Bradley
- Ulumuddin Yunus (joenoez)
- Johann Saunier (prophet777)
+ - Sergey (upyx)
- Michael Devery (mickadoo)
- Antoine Corcy
- Sascha Grossenbacher
@@ -666,21 +672,26 @@ Symfony is the result of the work of many people who made the code better
- Thomas Ploch
- Benjamin Grandfond (benjamin)
- Tiago Brito (blackmx)
+ -
- Richard van den Brand (ricbra)
- develop
+ - flip111
- Greg Anderson
- VJ
- Delf Tonder (leberknecht)
- Mark Sonnabaum
+ - Massimiliano Braglia (massimilianobraglia)
- Richard Quadling
- jochenvdv
- Arturas Smorgun (asarturas)
- Alexander Volochnev (exelenz)
- Michael Piecko
- yclian
+ - Aleksey Prilipko
- twifty
- Indra Gunawan (guind)
- Peter Ward
+ - Davide Borsatto (davide.borsatto)
- Julien DIDIER (juliendidier)
- Dominik Ritter (dritter)
- Sebastian Grodzicki (sgrodzicki)
@@ -691,6 +702,7 @@ Symfony is the result of the work of many people who made the code better
- Alex Xandra Albert Sim
- Craig Duncan (duncan3dc)
- Carson Full
+ - Sergey Yastrebov
- Trent Steel (trsteel88)
- Yuen-Chi Lian
- Besnik Br
@@ -717,11 +729,12 @@ Symfony is the result of the work of many people who made the code better
- Joschi Kuphal
- John Bohn (jbohn)
- Marc Morera (mmoreram)
+ - Smaine Milianni (ismail1432)
+ - Michael Moravec
- Andrew Hilobok (hilobok)
- Noah Heck (myesain)
- Christian Soronellas (theunic)
- Johann Pardanaud
- - Adam Szaraniec (mimol)
- Yosmany Garcia (yosmanyga)
- Wouter de Wild
- Antoine M (amakdessi)
@@ -770,6 +783,7 @@ Symfony is the result of the work of many people who made the code better
- Abhoryo
- Fabian Vogler (fabian)
- Korvin Szanto
+ - Stéphan Kochen
- Arjan Keeman
- Alaattin Kahramanlar (alaattin)
- Sergey Zolotov (enleur)
@@ -853,6 +867,7 @@ Symfony is the result of the work of many people who made the code better
- LOUARDI Abdeltif (ouardisoft)
- Robert Gruendler (pulse00)
- Simon Terrien (sterrien)
+ - Tarmo Leppänen (tarlepp)
- Benoît Merlet (trompette)
- Koen Kuipers
- datibbaw
@@ -863,6 +878,7 @@ Symfony is the result of the work of many people who made the code better
- Sebastien Morel (plopix)
- Patrick Kaufmann
- Piotr Stankowski
+ - Anton Dyshkant
- Reece Fowell (reecefowell)
- Mátyás Somfai (smatyas)
- stefan.r
@@ -880,7 +896,6 @@ Symfony is the result of the work of many people who made the code better
- Sam Malone
- Phan Thanh Ha (haphan)
- Chris Jones (leek)
- - Colin O'Dell (colinodell)
- xaav
- Mahmoud Mostafa (mahmoud)
- Pieter
@@ -898,6 +913,7 @@ Symfony is the result of the work of many people who made the code better
- Fred Cox
- Luciano Mammino (loige)
- fabios
+ - Webnet team (webnet)
- Sander Coolen (scoolen)
- Nicolas Le Goff (nlegoff)
- Ben Oman
@@ -934,7 +950,6 @@ Symfony is the result of the work of many people who made the code better
- Máximo Cuadros (mcuadros)
- tamirvs
- julien.galenski
- - Bob van de Vijver
- Christian Neff
- Oliver Hoff
- Ole Rößner (basster)
@@ -952,6 +967,7 @@ Symfony is the result of the work of many people who made the code better
- ilyes kooli
- gr1ev0us
- mlazovla
+ - Behnoush norouzali (behnoush)
- Max Beutel
- Antanas Arvasevicius
- Thomas
@@ -1017,13 +1033,13 @@ Symfony is the result of the work of many people who made the code better
- Alex Bowers
- Jeremy Bush
- wizhippo
+ - Thomason, James
- Viacheslav Sychov
- Helmut Hummel (helhum)
- Matt Brunt
- Carlos Ortega Huetos
- rpg600
- Péter Buri (burci)
- - Davide Borsatto (davide.borsatto)
- kaiwa
- RJ Garcia
- Charles Sanquer (csanquer)
@@ -1033,7 +1049,6 @@ Symfony is the result of the work of many people who made the code better
- Will Donohoe
- peter
- Jaroslav Kuba
- - flip111
- Jérémy Jourdin (jjk801)
- BRAMILLE Sébastien (oktapodia)
- Artem Kolesnikov (tyomo4ka)
@@ -1121,10 +1136,10 @@ Symfony is the result of the work of many people who made the code better
- Lars Ambrosius Wallenborn (larsborn)
- Oriol Mangas Abellan (oriolman)
- Sebastian Göttschkes (sgoettschkes)
- - Sergey (upyx)
- Tatsuya Tsuruoka
- Ross Tuck
- Kévin Gomez (kevin)
+ - Andrei Igna
- azine
- Dawid Sajdak
- Ludek Stepan
@@ -1142,7 +1157,6 @@ Symfony is the result of the work of many people who made the code better
- Adrien Gallou (agallou)
- Maks Rafalko (bornfree)
- Karol Sójko (karolsojko)
- - Grzegorz Zdanowski (kiler129)
- sl_toto (sl_toto)
- Walter Dal Mut (wdalmut)
- abluchet
@@ -1155,10 +1169,10 @@ Symfony is the result of the work of many people who made the code better
- Keri Henare (kerihenare)
- Cédric Lahouste (rapotor)
- Samuel Vogel (samuelvogel)
+ - Alexey Kopytko (sanmai)
- Berat Doğan
- Guillaume LECERF
- Juanmi Rodriguez Cerón
- - Sergey Yastrebov
- Andy Raines
- Anthony Ferrara
- Klaas Cuvelier (kcuvelier)
@@ -1187,6 +1201,7 @@ Symfony is the result of the work of many people who made the code better
- Lance McNearney
- Gonzalo Vilaseca (gonzalovilaseca)
- Giorgio Premi
+ - Andrew Berry
- ncou
- Ian Carroll
- caponica
@@ -1209,6 +1224,7 @@ Symfony is the result of the work of many people who made the code better
- Romain Geissler
- Adrien Moiruad
- Tomaz Ahlin
+ - Philip Ardery
- Marcus Stöhr (dafish)
- Emmanuel Vella (emmanuel.vella)
- Jonathan Johnson (jrjohnson)
@@ -1217,7 +1233,6 @@ Symfony is the result of the work of many people who made the code better
- Jay Severson
- René Kerner
- Nathaniel Catchpole
- -
- Adrien Samson (adriensamson)
- Samuel Gordalina (gordalina)
- Max Romanovsky (maxromanovsky)
@@ -1254,7 +1269,6 @@ Symfony is the result of the work of many people who made the code better
- Ergie Gonzaga
- Matthew J Mucklo
- AnrDaemon
- - Smaine Milianni (ismail1432)
- fdgdfg (psampaz)
- Stéphane Seng
- Maxwell Vandervelde
@@ -1275,12 +1289,14 @@ Symfony is the result of the work of many people who made the code better
- Jonathan Gough
- Benjamin Bender
- Jared Farrish
+ - karl.rixon
- Konrad Mohrfeldt
- Lance Chen
- Andrew (drew)
- kor3k kor3k (kor3k)
- Stelian Mocanita (stelian)
- Flavian (2much)
+ - Gautier Deuette
- mike
- Kirk Madera
- Keith Maika
@@ -1372,10 +1388,12 @@ Symfony is the result of the work of many people who made the code better
- Manatsawin Hanmongkolchai
- Gunther Konig
- Maciej Schmidt
+ - Greg ORIOL
- Dennis Væversted
- nuncanada
- flack
- František Bereň
+ - Kamil Madejski
- Jeremiah VALERIE
- Mike Francis
- Christoph Nissle (derstoffel)
@@ -1468,7 +1486,6 @@ Symfony is the result of the work of many people who made the code better
- Sam Ward
- Walther Lalk
- Adam
- - Stéphan Kochen
- devel
- taiiiraaa
- Trevor Suarez
@@ -1482,8 +1499,10 @@ Symfony is the result of the work of many people who made the code better
- Chansig
- Tischoi
- J Bruni
+ - Fritz Michael Gschwantner
- Alexey Prilipko
- Dmitriy Fedorenko
+ - fritzmg
- vlakoff
- bertillon
- Bertalan Attila
@@ -1686,7 +1705,6 @@ Symfony is the result of the work of many people who made the code better
- Christian Eikermann
- Kai Eichinger
- Antonio Angelino
- - Pascal Montoya
- Matt Fields
- Niklas Keller
- Vladimir Sazhin
@@ -1753,6 +1771,7 @@ Symfony is the result of the work of many people who made the code better
- Adam Klvač
- Yevgen Kovalienia
- Lebnik
+ - nsbx
- Shude
- Ondřej Führer
- Sema
@@ -1765,11 +1784,13 @@ Symfony is the result of the work of many people who made the code better
- Norman Soetbeer
- zorn
- Yuriy Potemkin
+ - Emilie Lorenzo
- Benjamin Long
- Matt Janssen
- Ben Miller
- Peter Gribanov
- kwiateusz
+ - jspee
- David Soria Parra
- Sergiy Sokolenko
- dinitrol
@@ -1827,6 +1848,7 @@ Symfony is the result of the work of many people who made the code better
- Damon Jones (damon__jones)
- Łukasz Giza (destroyer)
- Daniel Londero (dlondero)
+ - Samuele Lilli (doncallisto)
- Sebastian Landwehr (dword123)
- Adel ELHAIBA (eadel)
- Damián Nohales (eagleoneraptor)
@@ -1889,6 +1911,7 @@ Symfony is the result of the work of many people who made the code better
- scourgen hung (scourgen)
- Sébastien Alfaiate (seb33300)
- Sebastian Busch (sebu)
+ - Sepehr Lajevardi (sepehr)
- André Filipe Gonçalves Neves (seven)
- Bruno Ziegler (sfcoder)
- Andrea Giuliano (shark)
@@ -1898,12 +1921,13 @@ Symfony is the result of the work of many people who made the code better
- Julien Sanchez (sumbobyboys)
- Guillermo Gisinger (t3chn0r)
- Markus Tacker (tacker)
- - Tarmo Leppänen (tarlepp)
+ - Andrew Clark (tqt_andrew_clark)
- Tyler Stroud (tystr)
- Moritz Kraft (userfriendly)
- Víctor Mateo (victormateo)
- Vincent (vincent1870)
- Vincent CHALAMON (vincentchalamon)
+ - David Herrmann (vworldat)
- Eugene Babushkin (warl)
- Wouter Sioen (wouter_sioen)
- Xavier Amado (xamado)
@@ -1929,6 +1953,7 @@ Symfony is the result of the work of many people who made the code better
- fh-github@fholzhauer.de
- AbdElKader Bouadjadja
- DSeemiller
+ - Kyle
- Jan Emrich
- Mark Topper
- Xavier REN
diff --git a/src/Symfony/Component/Debug/ExceptionHandler.php b/src/Symfony/Component/Debug/ExceptionHandler.php
index a67637ea6e..0e3ec00717 100644
--- a/src/Symfony/Component/Debug/ExceptionHandler.php
+++ b/src/Symfony/Component/Debug/ExceptionHandler.php
@@ -208,48 +208,54 @@ class ExceptionHandler
$title = 'Whoops, looks like something went wrong.';
}
- $content = '';
- if ($this->debug) {
- try {
- $count = count($exception->getAllPrevious());
- $total = $count + 1;
- foreach ($exception->toArray() as $position => $e) {
- $ind = $count - $position + 1;
- $class = $this->formatClass($e['class']);
- $message = nl2br($this->escapeHtml($e['message']));
- $content .= sprintf(<<<'EOF'
-
-
-
-
- (%d/%d)
- %s
-
- %s
- |
-
-EOF
- , $ind, $total, $class, $message);
- foreach ($e['trace'] as $trace) {
- $content .= '';
- if ($trace['function']) {
- $content .= sprintf('at %s%s%s(%s)', $this->formatClass($trace['class']), $trace['type'], $trace['function'], $this->formatArgs($trace['args']));
- }
- if (isset($trace['file']) && isset($trace['line'])) {
- $content .= $this->formatPath($trace['file'], $trace['line']);
- }
- $content .= " |
\n";
- }
+ if (!$this->debug) {
+ return <<
+ $title
+
+EOF;
+ }
- $content .= "\n
\n
\n";
- }
- } catch (\Exception $e) {
- // something nasty happened and we cannot throw an exception anymore
- if ($this->debug) {
- $title = sprintf('Exception thrown when handling an exception (%s: %s)', get_class($e), $this->escapeHtml($e->getMessage()));
- } else {
- $title = 'Whoops, looks like something went wrong.';
+ $content = '';
+ try {
+ $count = count($exception->getAllPrevious());
+ $total = $count + 1;
+ foreach ($exception->toArray() as $position => $e) {
+ $ind = $count - $position + 1;
+ $class = $this->formatClass($e['class']);
+ $message = nl2br($this->escapeHtml($e['message']));
+ $content .= sprintf(<<<'EOF'
+
+
+
+
+ (%d/%d)
+ %s
+
+ %s
+ |
+
+EOF
+ , $ind, $total, $class, $message);
+ foreach ($e['trace'] as $trace) {
+ $content .= '';
+ if ($trace['function']) {
+ $content .= sprintf('at %s%s%s(%s)', $this->formatClass($trace['class']), $trace['type'], $trace['function'], $this->formatArgs($trace['args']));
+ }
+ if (isset($trace['file']) && isset($trace['line'])) {
+ $content .= $this->formatPath($trace['file'], $trace['line']);
+ }
+ $content .= " |
\n";
}
+
+ $content .= "\n
\n
\n";
+ }
+ } catch (\Exception $e) {
+ // something nasty happened and we cannot throw an exception anymore
+ if ($this->debug) {
+ $title = sprintf('Exception thrown when handling an exception (%s: %s)', get_class($e), $this->escapeHtml($e->getMessage()));
+ } else {
+ $title = 'Whoops, looks like something went wrong.';
}
}
@@ -278,6 +284,14 @@ EOF;
*/
public function getStylesheet(FlattenException $exception)
{
+ if (!$this->debug) {
+ return <<<'EOF'
+ body { background-color: #fff; color: #222; font: 16px/1.5 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; margin: 0; }
+ .container { margin: 30px; max-width: 600px; }
+ h1 { color: #dc3545; font-size: 24px; }
+EOF;
+ }
+
return <<<'EOF'
body { background-color: #F9F9F9; color: #222; font: 14px/1.4 Helvetica, Arial, sans-serif; margin: 0; padding-bottom: 45px; }
diff --git a/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php b/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
index 8fa341bcad..73f29a6145 100644
--- a/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
+++ b/src/Symfony/Component/DependencyInjection/Dumper/YamlDumper.php
@@ -94,7 +94,7 @@ class YamlDumper extends Dumper
}
if ($definition->isDeprecated()) {
- $code .= sprintf(" deprecated: %s\n", $definition->getDeprecationMessage('%service_id%'));
+ $code .= sprintf(" deprecated: %s\n", $this->dumper->dump($definition->getDeprecationMessage('%service_id%')));
}
if ($definition->isAutowired()) {
diff --git a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/prototype.expected.yml b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/prototype.expected.yml
index 5394535caf..ebfe087d77 100644
--- a/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/prototype.expected.yml
+++ b/src/Symfony/Component/DependencyInjection/Tests/Fixtures/config/prototype.expected.yml
@@ -10,7 +10,7 @@ services:
tags:
- { name: foo }
- { name: baz }
- deprecated: %service_id%
+ deprecated: '%service_id%'
arguments: [1]
factory: f
Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\Sub\Bar:
@@ -19,7 +19,7 @@ services:
tags:
- { name: foo }
- { name: baz }
- deprecated: %service_id%
+ deprecated: '%service_id%'
lazy: true
arguments: [1]
factory: f
diff --git a/src/Symfony/Component/Serializer/Encoder/CsvEncoder.php b/src/Symfony/Component/Serializer/Encoder/CsvEncoder.php
index e03fcc0d7f..6d31fb3600 100644
--- a/src/Symfony/Component/Serializer/Encoder/CsvEncoder.php
+++ b/src/Symfony/Component/Serializer/Encoder/CsvEncoder.php
@@ -28,6 +28,7 @@ class CsvEncoder implements EncoderInterface, DecoderInterface
const KEY_SEPARATOR_KEY = 'csv_key_separator';
const HEADERS_KEY = 'csv_headers';
const ESCAPE_FORMULAS_KEY = 'csv_escape_formulas';
+ const AS_COLLECTION_KEY = 'as_collection';
private $delimiter;
private $enclosure;
@@ -157,7 +158,7 @@ class CsvEncoder implements EncoderInterface, DecoderInterface
}
fclose($handle);
- if ($context['as_collection'] ?? false) {
+ if ($context[self::AS_COLLECTION_KEY] ?? false) {
return $result;
}
diff --git a/src/Symfony/Component/Serializer/Tests/Encoder/CsvEncoderTest.php b/src/Symfony/Component/Serializer/Tests/Encoder/CsvEncoderTest.php
index d990d51ec7..4a0bc8169b 100644
--- a/src/Symfony/Component/Serializer/Tests/Encoder/CsvEncoderTest.php
+++ b/src/Symfony/Component/Serializer/Tests/Encoder/CsvEncoderTest.php
@@ -324,7 +324,7 @@ foo
a
CSV
- , 'csv', array('as_collection' => true)));
+ , 'csv', array(CsvEncoder::AS_COLLECTION_KEY => true)));
}
public function testDecodeToManyRelation()