Merge branch '4.4' into 5.1

* 4.4:
  [Filesystem] fix for PHP 8
  [Cache] fix DBAL v3 compat
  Bump Symfony version to 4.4.15
  Update VERSION for 4.4.14
  Update CHANGELOG for 4.4.14
  Bump Symfony version to 3.4.46
  Update VERSION for 3.4.45
  Update CONTRIBUTORS for 3.4.45
  Update CHANGELOG for 3.4.45
This commit is contained in:
Nicolas Grekas 2020-09-27 16:02:37 +02:00
commit b93dea7244
9 changed files with 138 additions and 54 deletions

View File

@ -7,6 +7,55 @@ in 4.4 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.4.0...v4.4.1
* 4.4.14 (2020-09-27)
* bug #38248 [HttpClient] Allow bearer token with colon (stephanvierkant)
* bug #37837 [Form] Fix custom formats deprecation with HTML5 widgets (fancyweb)
* bug #38285 [Contracts][Translation] Optional Intl dependency (ro0NL)
* bug #38283 [Translator] Optional Intl dependency (ro0NL)
* bug #38271 [ErrorHandler] Escape JSON encoded log context (ro0NL)
* bug #38284 [Cache][Lock][Messenger] fix compatibility with Doctrine DBAL 3 (xabbuh)
* bug #38228 [Yaml Parser] Fix edge cases when parsing multiple documents (digilist)
* bug #38229 [Yaml] fix parsing comments not prefixed by a space (xabbuh)
* bug #38127 [Translator] Make sure a null locale is handled properly (jschaedl)
* bug #38221 [Cache] Allow cache tags to be objects implementing __toString() (lstrojny)
* bug #38212 [HttpKernel] Do not override max_redirects option in HttpClientKernel (dmolineus)
* bug #38215 [HttpClient] Support for CURLOPT_LOCALPORT (derrabus)
* bug #38202 [FrameworkBundle] Fix xsd definition which prevent to add more than one workflow metadata (l-vo)
* bug #38166 [Console] work around disabled putenv() (SenTisso)
* bug #38173 [HttpClient][HttpClientTrait] don't calculate alternatives if option is auth_ntlm (ybenhssaien)
* bug #38169 [PhpUnitBridge] Internal classes are not legacy (derrabus)
* bug #38156 [Cache] fix ProxyAdapter not persisting items with infinite expiration (dmaicher)
* bug #38148 [HttpClient] fail properly when the server replies with HTTP/0.9 (nicolas-grekas)
* bug #38131 [Validator] allow consumers to mock all methods (xabbuh)
* bug #38139 [DI] dump OS-indepent paths in the compiled container (nicolas-grekas)
* bug #38126 [Cache] Limit cache version character range (lstrojny)
* bug #38142 [FrameworkBundle] adopt src/.preload.php (nicolas-grekas)
* bug #38108 [Cache] Fix key encoding issue in Memcached adapter (lstrojny)
* bug #38122 [HttpClient] Fix Array to string conversion notice when parsing JSON error body with non-scalar detail property (emarref)
* bug #37097 DateTime validator support for trailing data (stefankleff)
* bug #38116 [Console] Silence warnings on sapi_windows_cp_set() call (chalasr)
* bug #38114 [Console] guard $argv + $token against null, preventing unnecessary exceptions (bilogic)
* bug #38094 [PhpUnitBridge] Skip internal classes in CoverageListenerTrait (sanmai)
* bug #38101 [VarExporter] unserialize() might throw an Exception on php 8 (derrabus)
* bug #38100 [ErrorHandler] Parse "x not found" errors correctly on php 8 (derrabus)
* bug #38099 Prevent parsing invalid octal digits as octal numbers (julienfalque)
* bug #38095 [Mailer] Remove unnecessary check for existing request (jschaedl)
* bug #38091 [DI] fix ContainerBuilder on PHP8 (nicolas-grekas)
* bug #38086 [HttpClient] with "bindto" with NativeHttpClient (nicolas-grekas)
* bug #38063 [FrameworkBundle] generate preload.php in src/ to make opcache.preload predictable (nicolas-grekas)
* bug #38080 [Console] Make sure $maxAttempts is an int or null (derrabus)
* bug #38075 esmtp error not being thrown properly (Anton Zagorskii)
* bug #38040 [Yaml Parser] fixed Parser to skip comments when inlining sequences (korve)
* bug #38073 [VarDumper] Fix caster for invalid SplFileInfo objects on php 8 (derrabus)
* bug #38071 [PhpUnitBridge] Adjust output parsing of CoverageListenerTrait for PHPUnit 9.3 (sanmai, derrabus)
* bug #38062 [DI] fix generating preload file when cache_dir is outside project_dir (nicolas-grekas)
* bug #38059 [Cache] Fix CacheCollectorPass with decorated cache pools (shyim)
* bug #38054 [PhpUnitBridge] CoverageListenerTrait update for PHPUnit 8.5/9.x (sanmai)
* bug #38049 [Debug] Parse "x not found" errors correctly on php 8 (derrabus)
* bug #38041 [PropertyInfo] Fix typed collections in PHP 7.4 (ndench)
* bug #37959 [PhpunitBridge] Fix deprecation type detection (when several autoload files are used) (l-vo)
* 4.4.13 (2020-09-02)
* security #cve-2020-15094 Remove headers with internal meaning from HttpClient responses (mpdude)

View File

@ -24,18 +24,18 @@ Symfony is the result of the work of many people who made the code better
- Kris Wallsmith (kriswallsmith)
- Wouter de Jong (wouterj)
- Yonel Ceruto (yonelceruto)
- Alexander M. Turek (derrabus)
- Hugo Hamon (hhamon)
- Thomas Calvet (fancyweb)
- Alexander M. Turek (derrabus)
- Abdellatif Ait boudad (aitboudad)
- Samuel ROZE (sroze)
- Romain Neutron (romain)
- Pascal Borreli (pborreli)
- Joseph Bielawski (stloyd)
- Karma Dordrak (drak)
- Jérémy DERUSSÉ (jderusse)
- Jules Pietri (heah)
- Lukas Kahwe Smith (lsmith)
- Jérémy DERUSSÉ (jderusse)
- Martin Hasoň (hason)
- Hamza Amrouche (simperfit)
- Jeremy Mikola (jmikola)
@ -55,6 +55,7 @@ Symfony is the result of the work of many people who made the code better
- William Durand (couac)
- Valentin Udaltsov (vudaltsov)
- ornicar
- Jan Schädlich (jschaedl)
- Dany Maillard (maidmaid)
- Francis Besset (francisbesset)
- stealth35 (stealth35)
@ -62,14 +63,13 @@ Symfony is the result of the work of many people who made the code better
- Konstantin Myakshin (koc)
- Grégoire Paris (greg0ire)
- Bulat Shakirzyanov (avalanche123)
- Jan Schädlich (jschaedl)
- Kevin Bond (kbond)
- Saša Stamenković (umpirsky)
- Peter Rehm (rpet)
- Gabriel Ostrolucký (gadelat)
- David Maicher (dmaicher)
- Gábor Egyed (1ed)
- Henrik Bjørnskov (henrikbjorn)
- David Maicher (dmaicher)
- Miha Vrhovnik
- Titouan Galopin (tgalopin)
- Diego Saint Esteben (dii3g0)
@ -88,6 +88,7 @@ Symfony is the result of the work of many people who made the code better
- Douglas Greenshields (shieldo)
- Arnout Boks (aboks)
- Jérôme Tamarelle (gromnan)
- Laurent VOULLEMIER (lvo)
- Deni
- Henrik Westphal (snc)
- Dariusz Górecki (canni)
@ -102,8 +103,8 @@ Symfony is the result of the work of many people who made the code better
- Toni Uebernickel (havvg)
- Bart van den Burg (burgov)
- Jordan Alliot (jalliot)
- Laurent VOULLEMIER (lvo)
- John Wards (johnwards)
- Alex Pott
- Antoine Hérault (herzult)
- Paráda József (paradajozsef)
- Arnaud Le Blanc (arnaud-lb)
@ -111,11 +112,10 @@ Symfony is the result of the work of many people who made the code better
- Maxime STEINHAUSSER
- Baptiste Clavié (talus)
- Michal Piotrowski (eventhorizon)
- Jérôme Vasseur (jvasseur)
- Tim Nagel (merk)
- Chris Wilkinson (thewilkybarkid)
- Brice BERNARD (brikou)
- Jérôme Vasseur (jvasseur)
- Alex Pott
- marc.weistroff
- Tomáš Votruba (tomas_votruba)
- Peter Kokot (maastermedia)
@ -123,10 +123,12 @@ Symfony is the result of the work of many people who made the code better
- Alexander Schwenn (xelaris)
- Włodzimierz Gajda (gajdaw)
- Adrien Brault (adrienbrault)
- Lars Strojny (lstrojny)
- Massimiliano Arione (garak)
- Jacob Dreesen (jdreesen)
- Florian Voutzinos (florianv)
- Teoh Han Hui (teohhanhui)
- Przemysław Bogusz (przemyslaw-bogusz)
- Colin Frei
- Oskar Stark (oskarstark)
- Javier Spagnoletti (phansys)
@ -137,13 +139,11 @@ Symfony is the result of the work of many people who made the code better
- Gordon Franke (gimler)
- Joel Wurtz (brouznouf)
- Alexander Schranz (alexander-schranz)
- Przemysław Bogusz (przemyslaw-bogusz)
- Fabien Pennequin (fabienpennequin)
- Julien Falque (julienfalque)
- Théo FIDRY (theofidry)
- Eric GELOEN (gelo)
- Antoine Makdessi (amakdessi)
- Lars Strojny (lstrojny)
- Julien Falque (julienfalque)
- Jannik Zschiesche (apfelbox)
- jeremyFreeAgent (jeremyfreeagent)
- Robert Schönthal (digitalkaoz)
@ -151,6 +151,7 @@ Symfony is the result of the work of many people who made the code better
- Florian Lonqueu-Brochard (florianlb)
- Gabriel Caruso (carusogabriel)
- Stefano Sala (stefano.sala)
- Yanick Witschi (toflar)
- Evgeniy (ewgraf)
- Vincent AUBERT (vincent)
- Juti Noppornpitak (shiroyuki)
@ -161,11 +162,11 @@ Symfony is the result of the work of many people who made the code better
- Hidenori Goto (hidenorigoto)
- Alessandro Chitolina (alekitto)
- Andréia Bohner (andreia)
- Yanick Witschi (toflar)
- Arnaud Kleinpeter (nanocom)
- Guilherme Blanco (guilhermeblanco)
- SpacePossum
- Pablo Godel (pgodel)
- Matthieu Napoli (mnapoli)
- Richard van Laak (rvanlaak)
- Jérémie Augustin (jaugustin)
- François-Xavier de Guillebon (de-gui_f)
@ -186,7 +187,6 @@ Symfony is the result of the work of many people who made the code better
- Jérôme Parmentier (lctrs)
- Ben Davies (bendavies)
- Gary PEGEOT (gary-p)
- Matthieu Napoli (mnapoli)
- Andreas Schempp (aschempp)
- Clemens Tolboom
- Helmer Aaviksoo
@ -215,6 +215,7 @@ Symfony is the result of the work of many people who made the code better
- Sergey Linnik (linniksa)
- Richard Miller (mr_r_miller)
- Albert Casademont (acasademont)
- Tomas Norkūnas (norkunas)
- Wouter J
- Mario A. Alvarez Garcia (nomack84)
- Dennis Benkert (denderello)
@ -243,7 +244,6 @@ Symfony is the result of the work of many people who made the code better
- Larry Garfield (crell)
- Leo Feyer (leofeyer)
- Nikolay Labinskiy (e-moe)
- Tomas Norkūnas (norkunas)
- Martin Schuhfuß (usefulthink)
- apetitpa
- Maxime Helias (maxhelias)
@ -323,6 +323,7 @@ Symfony is the result of the work of many people who made the code better
- Jordan Samouh (jordansamouh)
- Jakub Kucharovic (jkucharovic)
- Loick Piera (pyrech)
- Gocha Ossinkine (ossinkine)
- Uwe Jäger (uwej711)
- Martin Hujer (martinhujer)
- Eugene Leonovich (rybakit)
@ -350,9 +351,11 @@ Symfony is the result of the work of many people who made the code better
- Alex Rock (pierstoval)
- Beau Simensen (simensen)
- Michael Hirschler (mvhirsch)
- Christian Scheb
- Robert Kiss (kepten)
- Zan Baldwin (zanderbaldwin)
- Roumen Damianoff (roumen)
- Alexander Menshchikov (zmey_kk)
- Emanuele Panzeri (thepanz)
- Kim Hemsø Rasmussen (kimhemsoe)
- Alessandro Lai (jean85)
@ -367,10 +370,10 @@ Symfony is the result of the work of many people who made the code better
- Simon Mönch (sm)
- Christian Schmidt
- Patrick Landolt (scube)
- HypeMC
- MatTheCat
- Vilius Grigaliūnas
- David Badura (davidbadura)
- Gocha Ossinkine (ossinkine)
- Chad Sikorra (chadsikorra)
- Alan Poulain (alanpoulain)
- Chris Smith (cs278)
@ -378,6 +381,7 @@ Symfony is the result of the work of many people who made the code better
- Florian Klein (docteurklein)
- Benjamin Leveque (benji07)
- Manuel Kiessling (manuelkiessling)
- Alexey Kopytko (sanmai)
- Atsuhiro KUBO (iteman)
- rudy onfroy (ronfroy)
- Serkan Yildiz (srknyldz)
@ -432,6 +436,7 @@ Symfony is the result of the work of many people who made the code better
- alquerci
- Oleg Andreyev
- Mateusz Sip (mateusz_sip)
- YaFou
- Francesco Levorato
- Vitaliy Zakharov (zakharovvi)
- Tobias Sjösten (tobiassjosten)
@ -446,15 +451,14 @@ Symfony is the result of the work of many people who made the code better
- Thomas Perez (scullwm)
- Felix Labrecque
- Yaroslav Kiliba
- Christian Scheb
- Terje Bråten
- Gonzalo Vilaseca (gonzalovilaseca)
- Markus Fasselt (digilist)
- Daniel STANCU
- Robbert Klarenbeek (robbertkl)
- Eric Masoero (eric-masoero)
- Ion Bazan (ionbazan)
- Denis Brumann (dbrumann)
- HypeMC
- JhonnyL
- Clara van Miert
- Haralan Dobrev (hkdobrev)
@ -472,6 +476,7 @@ Symfony is the result of the work of many people who made the code better
- Iker Ibarguren (ikerib)
- Dimitri Gritsajuk (ottaviano)
- Kirill chEbba Chebunin (chebba)
-
- Rokas Mikalkėnas (rokasm)
- Greg Thornton (xdissent)
- Alex Bowers
@ -551,7 +556,6 @@ Symfony is the result of the work of many people who made the code better
- Gildas Quéméner (gquemener)
- Laurent Masforné (heisenberg)
- Claude Khedhiri (ck-developer)
- YaFou
- Desjardins Jérôme (jewome62)
- Arturs Vonda
- Josip Kruslin
@ -582,6 +586,7 @@ Symfony is the result of the work of many people who made the code better
- Arkadius Stefanski (arkadius)
- Tim Goudriaan (codedmonkey)
- Jonas Flodén (flojon)
- Soner Sayakci
- Tobias Weichart
- Tarmo Leppänen (tarlepp)
- Marcin Sikoń (marphi)
@ -608,7 +613,6 @@ Symfony is the result of the work of many people who made the code better
- Alex Bakhturin
- Patrick Reimers (preimers)
- Pol Dellaiera (drupol)
-
- insekticid
- Alexander Obuhovich (aik099)
- boombatower
@ -623,6 +627,7 @@ Symfony is the result of the work of many people who made the code better
- Jan van Thoor (janvt)
- Gladhon
- Joshua Nye
- Nathan Dench (ndenc2)
- Sebastian Bergmann
- Miroslav Sustek
- Pablo Díez (pablodip)
@ -672,6 +677,7 @@ Symfony is the result of the work of many people who made the code better
- Jaik Dean (jaikdean)
- Lenard Palko
- Nils Adermann (naderman)
- Tom Klingenberg
- Gábor Fási
- DUPUCH (bdupuch)
- Nate (frickenate)
@ -724,6 +730,7 @@ Symfony is the result of the work of many people who made the code better
- Piotr Stankowski
- Baptiste Leduc (bleduc)
- Julien Maulny
- Gennadi Janzen
- Jean-Christophe Cuvelier [Artack]
- Julien Montel (julienmgel)
- Mátyás Somfai (smatyas)
@ -737,6 +744,7 @@ Symfony is the result of the work of many people who made the code better
- Nate Wiebe (natewiebe13)
- Fred Cox
- vitaliytv
- ivan
- Philippe Segatori
- Dalibor Karlović (dkarlovi)
- Andrey Sevastianov
@ -769,6 +777,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)
- Matthias Krauser (mkrauser)
- Julien Fredon
- Bob van de Vijver (bobvandevijver)
- Xavier Leune (xleune)
@ -786,6 +795,7 @@ Symfony is the result of the work of many people who made the code better
- Geoffrey Brier (geoffrey-brier)
- Alexandre Parent
- Vladimir Tsykun
- Romaric Drigon (romaricdrigon)
- Dustin Dobervich (dustin10)
- dantleech
- Philipp Kolesnikov
@ -834,15 +844,14 @@ Symfony is the result of the work of many people who made the code better
- Antoine Corcy
- Ahmed Ashraf (ahmedash95)
- Sascha Grossenbacher
- Alexander Menshchikov (zmey_kk)
- Szijarto Tamas
- Robin Lehrmann (robinlehrmann)
- Catalin Dan
- Soner Sayakci
- Jaroslav Kuba
- Kristijan Kanalas
- Stephan Vock
- Benjamin Zikarsky (bzikarsky)
- Malte Schlüter
- Ruben Jacobs (rubenj)
- Simon Schick (simonsimcity)
- redstar504
@ -898,7 +907,6 @@ Symfony is the result of the work of many people who made the code better
- Indra Gunawan (guind)
- Peter Ward
- Davide Borsatto (davide.borsatto)
- Markus Fasselt (digilist)
- Julien DIDIER (juliendidier)
- Dominik Ritter (dritter)
- Sebastian Grodzicki (sgrodzicki)
@ -924,7 +932,6 @@ Symfony is the result of the work of many people who made the code better
- Claudio Zizza
- Dave Marshall (davedevelopment)
- Jakub Kulhan (jakubkulhan)
- Nathan Dench (ndenc2)
- Shaharia Azam
- avorobiev
- stoccc
@ -991,7 +998,6 @@ Symfony is the result of the work of many people who made the code better
- Stefano Degenkamp (steef)
- James Michael DuPont
- Carlos Buenosvinos (carlosbuenosvinos)
- Tom Klingenberg
- Christopher Hall (mythmakr)
- Patrick Dawkins (pjcdawkins)
- Paul Kamer (pkamer)
@ -1001,6 +1007,7 @@ Symfony is the result of the work of many people who made the code better
- Andreas Möller (localheinz)
- Dennis Langen (nijusan)
- Martin Parsiegla (spea)
- Manuel Alejandro Paz Cetina
- Ivan
- Quentin Schuler
- Pierre Vanliefland (pvanliefland)
@ -1044,6 +1051,7 @@ Symfony is the result of the work of many people who made the code better
- Calin Mihai Pristavu
- David Marín Carreño (davefx)
- Fabien LUCAS (flucas2)
- Konstantin Grachev (grachevko)
- Omar Yepez (oyepez003)
- mwsaz
- bogdan
@ -1132,6 +1140,7 @@ Symfony is the result of the work of many people who made the code better
- Antoine Bluchet (soyuka)
- Patrick Kaufmann
- Anton Dyshkant
- Yann LUCAS (drixs6o9)
- Reece Fowell (reecefowell)
- stefan.r
- Guillaume Gammelin
@ -1144,6 +1153,7 @@ Symfony is the result of the work of many people who made the code better
- Uladzimir Tsykun
- iamvar
- Amaury Leroux de Lens (amo__)
- Loïc Frémont (loic425)
- Christian Jul Jensen
- Alexandre GESLIN (alexandregeslin)
- The Whole Life to Learn
@ -1200,6 +1210,8 @@ Symfony is the result of the work of many people who made the code better
- Eduard Bulava (nonanerz)
- Lorenzo Millucci
- Andreas Kleemann
- Guillaume (guill)
- Igor Timoshenko (igor.timoshenko)
- Manuele Menozzi
- zairig imad (zairigimad)
- Anton Babenko (antonbabenko)
@ -1208,6 +1220,7 @@ Symfony is the result of the work of many people who made the code better
- Lescot Edouard (idetox)
- Danilo Silva
- Giuseppe Campanelli
- pizzaminded
- Arnaud PETITPAS (apetitpa)
- Ken Stanley
- Zachary Tong (polyfractal)
@ -1224,12 +1237,14 @@ Symfony is the result of the work of many people who made the code better
- Tero Alén (tero)
- Stanislav Kocanda
- DerManoMann
- Damien Fayet (rainst0rm)
- MatTheCat
- Guillaume Royer
- Artem (digi)
- boite
- Silvio Ginter
- MGDSoft
- Pierrick VIGNAND (pierrick)
- Vadim Tyukov (vatson)
- Arman
- David Wolter (davewww)
@ -1267,6 +1282,7 @@ Symfony is the result of the work of many people who made the code better
- Lin Clark
- Meneses (c77men)
- Jeremy David (jeremy.david)
- Andrei O
- Jordi Rejas
- Troy McCabe
- Ville Mattila
@ -1274,6 +1290,7 @@ Symfony is the result of the work of many people who made the code better
- gr1ev0us
- mlazovla
- Alejandro Diaz Torres
- Valentin
- Max Beutel
- Jan Vernieuwe (vernija)
- Antanas Arvasevicius
@ -1315,12 +1332,12 @@ Symfony is the result of the work of many people who made the code better
- Michał Strzelecki
- hugofonseca (fonsecas72)
- Marc Duboc (icemad)
- Matthias Krauser (mkrauser)
- Martynas Narbutas
- Timothée BARRAY
- Nilmar Sanchez Muguercia
- Toon Verwerft (veewee)
- Bailey Parker
- scyzoryck
- Eddie Jaoude
- Antanas Arvasevicius
- Haritz Iturbe (hizai)
@ -1409,6 +1426,7 @@ Symfony is the result of the work of many people who made the code better
- Makdessi Alex
- James Gilliland
- fduch (fduch)
- David Molineus
- Stuart Fyfe
- David de Boer (ddeboer)
- Eno Mullaraj (emullaraj)
@ -1496,6 +1514,7 @@ Symfony is the result of the work of many people who made the code better
- Artem Oliynyk (artemoliynyk)
- Andrea Quintino (dirk39)
- Tomasz Szymczyk (karion)
- Thibault Richard (t-richard)
- Alex Vasilchenko
- sez-open
- Xavier Coureau
@ -1505,6 +1524,7 @@ Symfony is the result of the work of many people who made the code better
- matze
- Justin Reherman (jreherman)
- Rubén Calvo (rubencm)
- Paweł Niedzielski (steveb)
- Abdul.Mohsen B. A. A
- Peter Jaap Blaakmeer
- Swen van Zanten
@ -1545,6 +1565,7 @@ Symfony is the result of the work of many people who made the code better
- Zacharias Luiten
- Sebastian Utz
- Adrien Gallou (agallou)
- Andrea Sprega (asprega)
- Fabien Salles (blacked)
- Maks Rafalko (bornfree)
- Karol Sójko (karolsojko)
@ -1562,10 +1583,11 @@ Symfony is the result of the work of many people who made the code better
- steveYeah
- Samy Dindane (dinduks)
- Keri Henare (kerihenare)
- Andre Eckardt (korve)
- Cédric Lahouste (rapotor)
- Samuel Vogel (samuelvogel)
- Alexey Kopytko (sanmai)
- Osayawe Ogbemudia Terry (terdia)
- Alexandre Parent
- Berat Doğan
- Guillaume LECERF
- Juanmi Rodriguez Cerón
@ -1582,7 +1604,6 @@ Symfony is the result of the work of many people who made the code better
- Jules Lamur
- Renato Mendes Figueiredo
- Benjamin RICHARD
- Gennadi Janzen
- pdommelen
- Eric Stern
- ShiraNai7
@ -1617,6 +1638,7 @@ Symfony is the result of the work of many people who made the code better
- caponica
- Daniel Kay (danielkay-cp)
- Matt Daum (daum)
- Malcolm Fell (emarref)
- Alberto Pirovano (geezmo)
- Pete Mitchell (peterjmit)
- phuc vo (phucwan)
@ -1629,6 +1651,7 @@ Symfony is the result of the work of many people who made the code better
- Patrick Daley (padrig)
- Max Summe
- WedgeSama
- Hugo Sales
- Felds Liscia
- Randy Geraads
- Chihiro Adachi (chihiro-adachi)
@ -1701,13 +1724,16 @@ Symfony is the result of the work of many people who made the code better
- Alexander Janssen (tnajanssen)
- Thomas Chmielowiec (chmielot)
- Jānis Lukss
- Michael Zangerle
- rkerner
- Alex Silcock
- Raphael Hardt
- Qingshan Luo
- Gijs van Lammeren
- Ergie Gonzaga
- Matthew J Mucklo
- AnrDaemon
- SnakePin
- Emre Akinci (emre)
- fdgdfg (psampaz)
- Stéphane Seng
@ -1757,6 +1783,7 @@ Symfony is the result of the work of many people who made the code better
- Olivier
- Juan Mrad
- Denis Yuzhanin
- Youssef BENHSSAIEN
- knezmilos13
- Cyril PASCAL
- Michael Bessolov
@ -1794,6 +1821,7 @@ Symfony is the result of the work of many people who made the code better
- Bouke Haarsma
- mlievertz
- Radosław Kowalewski
- Stefan Kleff
- Enrico Schultz
- mschop
- Juraj Surman
@ -1827,6 +1855,7 @@ Symfony is the result of the work of many people who made the code better
- kick-the-bucket
- Matt Farmer
- catch
- siganushka
- Alexandre Segura
- Josef Cech
- Glodzienski
@ -1880,6 +1909,7 @@ Symfony is the result of the work of many people who made the code better
- shdev
- Andrey Ryaguzov
- Gennadi Janzen
- SenTisso
- Stefan
- Peter Bex
- Manatsawin Hanmongkolchai
@ -1901,12 +1931,12 @@ Symfony is the result of the work of many people who made the code better
- Christoph Nissle (derstoffel)
- Denys Voronin (hurricane)
- Ionel Scutelnicu (ionelscutelnicu)
- Jordan de Laune (jdelaune)
- Mathieu Dewet (mdewet)
- none (nelexa)
- Nicolas Tallefourtané (nicolab)
- Botond Dani (picur)
- Rémi Faivre (rfv)
- Romaric Drigon (romaricdrigon)
- Thierry Marianne (thierrymarianne)
- Nick Stemerdink
- David Stone
@ -1972,7 +2002,6 @@ Symfony is the result of the work of many people who made the code better
- Roy-Orbison
- Aaron Somi
- Michał Dąbrowski (defrag)
- Konstantin Grachev (grachevko)
- Simone Fumagalli (hpatoio)
- Brian Graham (incognito)
- Kevin Vergauwen (innocenzo)
@ -2158,6 +2187,7 @@ Symfony is the result of the work of many people who made the code better
- Derek Bonner
- martijn
- Alan Chen
- Anton Zagorskii
- insidestyles
- Maerlyn
- Even André Fiskvik
@ -2258,6 +2288,7 @@ Symfony is the result of the work of many people who made the code better
- Nicolas A. Bérard-Nault
- Quentin Favrie
- Matthias Derer
- vladyslavstartsev
- Saem Ghani
- Stefan Oderbolz
- Curtis
@ -2325,6 +2356,7 @@ Symfony is the result of the work of many people who made the code better
- Christian Eikermann
- Kai Eichinger
- Antonio Angelino
- Michał Jusięga
- Jens Schulze
- Matt Fields
- Olatunbosun Egberinde
@ -2472,6 +2504,7 @@ Symfony is the result of the work of many people who made the code better
- Дмитрий Пацура
- Signor Pedro
- Matthias Larisch
- Sean Templeton
- ilyes kooli
- Ilia Lazarev
- Michaël VEROUX
@ -2520,11 +2553,13 @@ Symfony is the result of the work of many people who made the code better
- Gerry Vandermaesen (gerryvdm)
- Ghazy Ben Ahmed (ghazy)
- Arash Tabriziyan (ghost098)
- Ian Littman (iansltx)
- ibasaw (ibasaw)
- Vladislav Krupenkin (ideea)
- Ilija Tovilo (ilijatovilo)
- Peter Orosz (ill_logical)
- Imangazaliev Muhammad (imangazaliev)
- Arkadiusz Kondas (itcraftsmanpl)
- j0k (j0k)
- Jeremie Broutier (jbroutier)
- joris de wit (jdewit)
@ -2569,6 +2604,7 @@ Symfony is the result of the work of many people who made the code better
- Igor Tarasov (polosatus)
- Maxim Pustynnikov (pustynnikov)
- Ralf Kuehnel (ralfkuehnel)
- Ramazan APAYDIN (rapaydin)
- Brayden Williams (redstar504)
- Rich Sage (richsage)
- Bart Ruysseveldt (ruyss)
@ -2652,6 +2688,7 @@ Symfony is the result of the work of many people who made the code better
- Maxime COLIN (maximecolin)
- Muharrem Demirci (mdemirci)
- Evgeny Z (meze)
- Aleksandar Dimitrov (netbull)
- Nicolas de Marqué (nicola)
- Pierre Geyer (ptheg)
- Thomas BERTRAND (sevrahk)

View File

@ -11,10 +11,8 @@
namespace Symfony\Component\Cache\Adapter;
use Doctrine\DBAL\Abstraction\Result;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\Result as DriverResult;
use Doctrine\DBAL\Driver\ServerInfoAwareConnection;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Exception;
@ -231,7 +229,7 @@ class PdoAdapter extends AbstractAdapter implements PruneableInterface
}
$result = $stmt->execute();
if ($result instanceof Result) {
if (\is_object($result)) {
$result = $result->iterateNumeric();
} else {
$stmt->setFetchMode(\PDO::FETCH_NUM);
@ -270,7 +268,7 @@ class PdoAdapter extends AbstractAdapter implements PruneableInterface
$stmt->bindValue(':time', time(), \PDO::PARAM_INT);
$result = $stmt->execute();
return (bool) ($result instanceof DriverResult ? $result->fetchOne() : $stmt->fetchColumn());
return (bool) (\is_object($result) ? $result->fetchOne() : $stmt->fetchColumn());
}
/**
@ -416,7 +414,7 @@ class PdoAdapter extends AbstractAdapter implements PruneableInterface
}
$result = $stmt->execute();
}
if (null === $driver && !($result instanceof DriverResult ? $result : $stmt)->rowCount()) {
if (null === $driver && !(\is_object($result) ? $result->rowCount() : $stmt->rowCount())) {
try {
$insertStmt->execute();
} catch (DBALException | Exception $e) {

View File

@ -11,8 +11,6 @@
namespace Symfony\Component\Cache\Tests\Traits;
use Doctrine\DBAL\Driver\Result;
trait PdoPruneableTrait
{
protected function isPruned($cache, string $name): bool
@ -31,6 +29,6 @@ trait PdoPruneableTrait
$select->bindValue(':id', sprintf('%%%s', $name));
$result = $select->execute();
return 1 !== (int) ($result instanceof Result ? $result->fetchOne() : $select->fetch(\PDO::FETCH_COLUMN));
return 1 !== (int) (\is_object($result) ? $result->fetchOne() : $select->fetch(\PDO::FETCH_COLUMN));
}
}

View File

@ -569,13 +569,13 @@ class Filesystem
*/
public function isAbsolutePath(string $file)
{
return strspn($file, '/\\', 0, 1)
return '' !== $file && (strspn($file, '/\\', 0, 1)
|| (\strlen($file) > 3 && ctype_alpha($file[0])
&& ':' === $file[1]
&& strspn($file, '/\\', 2, 1)
)
|| null !== parse_url($file, \PHP_URL_SCHEME)
;
);
}
/**

View File

@ -13,7 +13,6 @@ namespace Symfony\Component\Lock\Store;
use Doctrine\DBAL\Connection;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\Result;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Schema\Schema;
@ -163,7 +162,7 @@ class PdoStore implements PersistingStoreInterface
$result = $stmt->execute();
// If this method is called twice in the same second, the row wouldn't be updated. We have to call exists to know if we are the owner
if (!($result instanceof Result ? $result : $stmt)->rowCount() && !$this->exists($key)) {
if (!(\is_object($result) ? $result : $stmt)->rowCount() && !$this->exists($key)) {
throw new LockConflictedException();
}
@ -195,7 +194,7 @@ class PdoStore implements PersistingStoreInterface
$stmt->bindValue(':token', $this->getUniqueToken($key));
$result = $stmt->execute();
return (bool) ($result instanceof Result ? $result->fetchOne() : $stmt->fetchColumn());
return (bool) (\is_object($result) ? $result->fetchOne() : $stmt->fetchColumn());
}
/**

View File

@ -11,11 +11,12 @@
namespace Symfony\Component\Messenger\Bridge\Doctrine\Tests\Transport;
use Doctrine\DBAL\Abstraction\Result;
use Doctrine\DBAL\Abstraction\Result as AbstractionResult;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Platforms\AbstractPlatform;
use Doctrine\DBAL\Query\QueryBuilder;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Schema\AbstractSchemaManager;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\SchemaConfig;
@ -154,10 +155,10 @@ class ConnectionTest extends TestCase
private function getResultMock($expectedResult)
{
$stmt = $this->createMock(interface_exists(Result::class) ? Result::class : Statement::class);
$stmt = $this->createMock(class_exists(Result::class) ? Result::class : (interface_exists(AbstractionResult::class) ? AbstractionResult::class : Statement::class));
$stmt->expects($this->once())
->method(interface_exists(Result::class) ? 'fetchAssociative' : 'fetch')
->method(interface_exists(AbstractionResult::class) || class_exists(Result::class) ? 'fetchAssociative' : 'fetch')
->willReturn($expectedResult);
return $stmt;
@ -312,9 +313,9 @@ class ConnectionTest extends TestCase
'headers' => json_encode(['type' => DummyMessage::class]),
];
$stmt = $this->createMock(interface_exists(Result::class) ? Result::class : Statement::class);
$stmt = $this->createMock(class_exists(Result::class) ? Result::class : (interface_exists(AbstractionResult::class) ? AbstractionResult::class : Statement::class));
$stmt->expects($this->once())
->method(interface_exists(Result::class) ? 'fetchAllAssociative' : 'fetchAll')
->method(interface_exists(AbstractionResult::class) || class_exists(Result::class) ? 'fetchAllAssociative' : 'fetchAll')
->willReturn([$message1, $message2]);
$driverConnection

View File

@ -11,8 +11,9 @@
namespace Symfony\Component\Messenger\Bridge\Doctrine\Tests\Transport;
use Doctrine\DBAL\Driver\Result;
use Doctrine\DBAL\Driver\Result as DriverResult;
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Version;
use PHPUnit\Framework\TestCase;
use Symfony\Component\Messenger\Bridge\Doctrine\Tests\Fixtures\DummyMessage;
@ -72,7 +73,7 @@ class DoctrineIntegrationTest extends TestCase
->setParameter(':body', '{"message": "Hi i am delayed"}')
->execute();
$available_at = new \DateTime($stmt instanceof Result ? $stmt->fetchOne() : $stmt->fetchColumn());
$available_at = new \DateTime($stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchOne() : $stmt->fetchColumn());
$now = new \DateTime();
$now->modify('+60 seconds');

View File

@ -13,10 +13,11 @@ namespace Symfony\Component\Messenger\Bridge\Doctrine\Transport;
use Doctrine\DBAL\Connection as DBALConnection;
use Doctrine\DBAL\DBALException;
use Doctrine\DBAL\Driver\Result;
use Doctrine\DBAL\Driver\Result as DriverResult;
use Doctrine\DBAL\Exception;
use Doctrine\DBAL\Exception\TableNotFoundException;
use Doctrine\DBAL\Query\QueryBuilder;
use Doctrine\DBAL\Result;
use Doctrine\DBAL\Schema\Comparator;
use Doctrine\DBAL\Schema\Schema;
use Doctrine\DBAL\Schema\Synchronizer\SchemaSynchronizer;
@ -177,7 +178,7 @@ class Connection implements ResetInterface
$query->getParameters(),
$query->getParameterTypes()
);
$doctrineEnvelope = $stmt instanceof Result ? $stmt->fetchAssociative() : $stmt->fetch();
$doctrineEnvelope = $stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchAssociative() : $stmt->fetch();
if (false === $doctrineEnvelope) {
$this->driverConnection->commit();
@ -269,7 +270,7 @@ class Connection implements ResetInterface
$stmt = $this->executeQuery($queryBuilder->getSQL(), $queryBuilder->getParameters(), $queryBuilder->getParameterTypes());
return $stmt instanceof Result ? $stmt->fetchOne() : $stmt->fetchColumn();
return $stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchOne() : $stmt->fetchColumn();
}
public function findAll(int $limit = null): array
@ -280,7 +281,7 @@ class Connection implements ResetInterface
}
$stmt = $this->executeQuery($queryBuilder->getSQL(), $queryBuilder->getParameters(), $queryBuilder->getParameterTypes());
$data = $stmt instanceof Result ? $stmt->fetchAllAssociative() : $stmt->fetchAll();
$data = $stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchAllAssociative() : $stmt->fetchAll();
return array_map(function ($doctrineEnvelope) {
return $this->decodeEnvelopeHeaders($doctrineEnvelope);
@ -293,7 +294,7 @@ class Connection implements ResetInterface
->where('m.id = ?');
$stmt = $this->executeQuery($queryBuilder->getSQL(), [$id]);
$data = $stmt instanceof Result ? $stmt->fetchAssociative() : $stmt->fetch();
$data = $stmt instanceof Result || $stmt instanceof DriverResult ? $stmt->fetchAssociative() : $stmt->fetch();
return false === $data ? null : $this->decodeEnvelopeHeaders($data);
}
@ -419,7 +420,7 @@ class Connection implements ResetInterface
$table->addColumn('headers', self::$useDeprecatedConstants ? Type::TEXT : Types::TEXT)
->setNotnull(true);
$table->addColumn('queue_name', self::$useDeprecatedConstants ? Type::STRING : Types::STRING)
->setLength(190) // mysql 5.6 only supports 191 characters on an indexed column in utf8mb4 mode
->setLength(190) // MySQL 5.6 only supports 191 characters on an indexed column in utf8mb4 mode
->setNotnull(true);
$table->addColumn('created_at', self::$useDeprecatedConstants ? Type::DATETIME : Types::DATETIME_MUTABLE)
->setNotnull(true);