From 17ceb6e73e996aa65eb7c2a5be26ea8f6dc405a2 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 05:46:13 +0200 Subject: [PATCH 01/12] Update CHANGELOG for 3.4.45 --- CHANGELOG-3.4.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/CHANGELOG-3.4.md b/CHANGELOG-3.4.md index e32e4d36d7..8766558fe6 100644 --- a/CHANGELOG-3.4.md +++ b/CHANGELOG-3.4.md @@ -7,6 +7,22 @@ in 3.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/v3.4.0...v3.4.1 +* 3.4.45 (2020-09-27) + + * 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 #38131 [Validator] allow consumers to mock all methods (xabbuh) + * 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 #38099 Prevent parsing invalid octal digits as octal numbers (julienfalque) + * bug #38091 [DI] fix ContainerBuilder on PHP8 (nicolas-grekas) + * bug #38080 [Console] Make sure $maxAttempts is an int or null (derrabus) + * 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 #38049 [Debug] Parse "x not found" errors correctly on php 8 (derrabus) + * bug #38024 [Console] Fix undefined index for inconsistent command name definition (chalasr) + * 3.4.44 (2020-08-31) * bug #37949 [Yaml] fix more numeric cases changing in PHP 8 (xabbuh) From 0022465b97bded1a10af1a2959670903bae53543 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 05:46:54 +0200 Subject: [PATCH 02/12] Update CONTRIBUTORS for 3.4.45 --- CONTRIBUTORS.md | 93 ++++++++++++++++++++++++++++++++++--------------- 1 file changed, 65 insertions(+), 28 deletions(-) diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 2f0057002f..f3217f25a9 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -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) From bc383733807d4aab77a63f0955c17a05c307b709 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 05:46:58 +0200 Subject: [PATCH 03/12] Update VERSION for 3.4.45 --- src/Symfony/Component/HttpKernel/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index de9025061a..d5d65bf69f 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -67,12 +67,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private $requestStackSize = 0; private $resetServices = false; - const VERSION = '3.4.45-DEV'; + const VERSION = '3.4.45'; const VERSION_ID = 30445; const MAJOR_VERSION = 3; const MINOR_VERSION = 4; const RELEASE_VERSION = 45; - const EXTRA_VERSION = 'DEV'; + const EXTRA_VERSION = ''; const END_OF_MAINTENANCE = '11/2020'; const END_OF_LIFE = '11/2021'; From 9a774ede48dac3b6809f234f606350e7362fb256 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:03:03 +0200 Subject: [PATCH 04/12] Bump Symfony version to 3.4.46 --- src/Symfony/Component/HttpKernel/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index d5d65bf69f..4c2040e349 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -67,12 +67,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private $requestStackSize = 0; private $resetServices = false; - const VERSION = '3.4.45'; - const VERSION_ID = 30445; + const VERSION = '3.4.46-DEV'; + const VERSION_ID = 30446; const MAJOR_VERSION = 3; const MINOR_VERSION = 4; - const RELEASE_VERSION = 45; - const EXTRA_VERSION = ''; + const RELEASE_VERSION = 46; + const EXTRA_VERSION = 'DEV'; const END_OF_MAINTENANCE = '11/2020'; const END_OF_LIFE = '11/2021'; From 5e81cb7c7ba580fd195f806e6547eb434e4098ab Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:25:32 +0200 Subject: [PATCH 05/12] Update CHANGELOG for 4.4.14 --- CHANGELOG-4.4.md | 49 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/CHANGELOG-4.4.md b/CHANGELOG-4.4.md index 2c30e0de97..bfd9af7063 100644 --- a/CHANGELOG-4.4.md +++ b/CHANGELOG-4.4.md @@ -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) From 9e8f2e7db65ab90908ffe698cb503837105c6981 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:25:44 +0200 Subject: [PATCH 06/12] Update VERSION for 4.4.14 --- src/Symfony/Component/HttpKernel/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index 79378914d3..a0cb941908 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -76,12 +76,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '4.4.14-DEV'; + const VERSION = '4.4.14'; const VERSION_ID = 40414; const MAJOR_VERSION = 4; const MINOR_VERSION = 4; const RELEASE_VERSION = 14; - const EXTRA_VERSION = 'DEV'; + const EXTRA_VERSION = ''; const END_OF_MAINTENANCE = '11/2022'; const END_OF_LIFE = '11/2023'; From 08e27e9f03383e6490b6fd2b1b820324af5328e3 Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:29:46 +0200 Subject: [PATCH 07/12] Bump Symfony version to 4.4.15 --- src/Symfony/Component/HttpKernel/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index a0cb941908..7816b6ce3b 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -76,12 +76,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '4.4.14'; - const VERSION_ID = 40414; + const VERSION = '4.4.15-DEV'; + const VERSION_ID = 40415; const MAJOR_VERSION = 4; const MINOR_VERSION = 4; - const RELEASE_VERSION = 14; - const EXTRA_VERSION = ''; + const RELEASE_VERSION = 15; + const EXTRA_VERSION = 'DEV'; const END_OF_MAINTENANCE = '11/2022'; const END_OF_LIFE = '11/2023'; From 25f57cfcf16d5380ff9018b00ea1c86ef725065c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:33:04 +0200 Subject: [PATCH 08/12] Update CHANGELOG for 5.1.6 --- CHANGELOG-5.1.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/CHANGELOG-5.1.md b/CHANGELOG-5.1.md index cae872acb5..ba3d745909 100644 --- a/CHANGELOG-5.1.md +++ b/CHANGELOG-5.1.md @@ -7,6 +7,66 @@ in 5.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/v5.1.0...v5.1.1 +* 5.1.6 (2020-09-27) + + * bug #38291 [OptionsResolver] Fix deprecation message access (fancyweb) + * 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 #38226 [FrameworkBundle] loadRoutes shoud receive RoutingPhpFileLoader (grachevko) + * 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 #38195 [String] improve slugger's portability accross implementations of iconv() (nicolas-grekas) + * bug #38166 [Console] work around disabled putenv() (SenTisso) + * bug #38190 [Notifier] Fix errors parsing in FirebaseTransport (jderusse) + * bug #38173 [HttpClient][HttpClientTrait] don't calculate alternatives if option is auth_ntlm (ybenhssaien) + * bug #38169 [PhpUnitBridge] Internal classes are not legacy (derrabus) + * feature #38160 [Security] In the new authenticator system, no auth listener is valid (weaverryan) + * 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 #38140 [DI] dump OS-indepent paths in the preload file (nicolas-grekas) + * bug #38139 [DI] dump OS-indepent paths in the compiled container (nicolas-grekas) + * bug #38147 [Mailer] Fixed Mailgun API bridge JsonException when API response is not applicaton/json (asprega) + * bug #38126 [Cache] Limit cache version character range (lstrojny) + * bug #38136 [Messenger] Run postgres setup trigger in transaction (akondas) + * 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 #38074 [Messenger] Remove DelaySeconds parameter for FIFO queues (netbull) + * 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 #38013 [PHPUnitBridge] Fix deprecation type detection when trigger_deprecation is used (l-vo) + * bug #37959 [PhpunitBridge] Fix deprecation type detection (when several autoload files are used) (l-vo) + * bug #38031 Allow Drupal to wrap the Symfony test listener (5.1 backport) (fabpot, alexpott) + * 5.1.5 (2020-09-02) * security #cve-2020-15094 Remove headers with internal meaning from HttpClient responses (mpdude) From 81bcd90f08c184755819f9fb88e18709f6c2434c Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:33:19 +0200 Subject: [PATCH 09/12] Update VERSION for 5.1.6 --- src/Symfony/Component/HttpKernel/Kernel.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index aa228beaa0..a4b05ebd97 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -73,12 +73,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '5.1.6-DEV'; + const VERSION = '5.1.6'; const VERSION_ID = 50106; const MAJOR_VERSION = 5; const MINOR_VERSION = 1; const RELEASE_VERSION = 6; - const EXTRA_VERSION = 'DEV'; + const EXTRA_VERSION = ''; const END_OF_MAINTENANCE = '01/2021'; const END_OF_LIFE = '01/2021'; From 176262b3b9f0d70a5890969042fa6dd4b058537b Mon Sep 17 00:00:00 2001 From: Fabien Potencier Date: Sun, 27 Sep 2020 06:36:47 +0200 Subject: [PATCH 10/12] Bump Symfony version to 5.1.7 --- src/Symfony/Component/HttpKernel/Kernel.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/Symfony/Component/HttpKernel/Kernel.php b/src/Symfony/Component/HttpKernel/Kernel.php index a4b05ebd97..aebeaee8eb 100644 --- a/src/Symfony/Component/HttpKernel/Kernel.php +++ b/src/Symfony/Component/HttpKernel/Kernel.php @@ -73,12 +73,12 @@ abstract class Kernel implements KernelInterface, RebootableInterface, Terminabl private static $freshCache = []; - const VERSION = '5.1.6'; - const VERSION_ID = 50106; + const VERSION = '5.1.7-DEV'; + const VERSION_ID = 50107; const MAJOR_VERSION = 5; const MINOR_VERSION = 1; - const RELEASE_VERSION = 6; - const EXTRA_VERSION = ''; + const RELEASE_VERSION = 7; + const EXTRA_VERSION = 'DEV'; const END_OF_MAINTENANCE = '01/2021'; const END_OF_LIFE = '01/2021'; From 3d1ed2e90df2dc2e3d7f60ec57ce94b4f2a6a4b7 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 27 Sep 2020 14:33:10 +0200 Subject: [PATCH 11/12] [Cache] fix DBAL v3 compat --- .../Component/Cache/Tests/Traits/PdoPruneableTrait.php | 4 +--- src/Symfony/Component/Cache/Traits/PdoTrait.php | 8 +++----- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php b/src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php index 113a2c28eb..c405de7039 100644 --- a/src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php +++ b/src/Symfony/Component/Cache/Tests/Traits/PdoPruneableTrait.php @@ -11,8 +11,6 @@ namespace Symfony\Component\Cache\Tests\Traits; -use Doctrine\DBAL\Driver\Result; - trait PdoPruneableTrait { protected function isPruned($cache, $name) @@ -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)); } } diff --git a/src/Symfony/Component/Cache/Traits/PdoTrait.php b/src/Symfony/Component/Cache/Traits/PdoTrait.php index 686d111d9b..917e8dd13f 100644 --- a/src/Symfony/Component/Cache/Traits/PdoTrait.php +++ b/src/Symfony/Component/Cache/Traits/PdoTrait.php @@ -11,10 +11,8 @@ namespace Symfony\Component\Cache\Traits; -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\Schema\Schema; use Symfony\Component\Cache\Exception\InvalidArgumentException; @@ -187,7 +185,7 @@ trait PdoTrait } $result = $stmt->execute(); - if ($result instanceof Result) { + if (\is_object($result)) { $result = $result->iterateNumeric(); } else { $stmt->setFetchMode(\PDO::FETCH_NUM); @@ -226,7 +224,7 @@ trait PdoTrait $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()); } /** @@ -352,7 +350,7 @@ trait PdoTrait foreach ($serialized as $id => $data) { $result = $stmt->execute(); - if (null === $driver && !($result instanceof DriverResult ? $result->rowCount() : $stmt->rowCount())) { + if (null === $driver && !(\is_object($result) ? $result->rowCount() : $stmt->rowCount())) { try { $insertStmt->execute(); } catch (DBALException $e) { From a4324447f10a1950463211bd52c6ee8d15d06dc6 Mon Sep 17 00:00:00 2001 From: Nicolas Grekas Date: Sun, 27 Sep 2020 15:03:19 +0200 Subject: [PATCH 12/12] [Filesystem] fix for PHP 8 --- src/Symfony/Component/Filesystem/Filesystem.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Symfony/Component/Filesystem/Filesystem.php b/src/Symfony/Component/Filesystem/Filesystem.php index 0dda9f28af..a6e8715256 100644 --- a/src/Symfony/Component/Filesystem/Filesystem.php +++ b/src/Symfony/Component/Filesystem/Filesystem.php @@ -599,13 +599,13 @@ class Filesystem */ public function isAbsolutePath($file) { - return strspn($file, '/\\', 0, 1) + return '' !== (string) $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) - ; + ); } /**