Merge branch '4.4' into 5.2

* 4.4:
  CS fixes
  Bump Symfony version to 4.4.27
  Update VERSION for 4.4.26
  Update CONTRIBUTORS for 4.4.26
  Update CHANGELOG for 4.4.26
This commit is contained in:
Nicolas Grekas 2021-06-30 15:06:15 +02:00
commit a55e14ab16
10 changed files with 43 additions and 33 deletions

View File

@ -11,6 +11,7 @@ return (new PhpCsFixer\Config())
'@Symfony' => true, '@Symfony' => true,
'@Symfony:risky' => true, '@Symfony:risky' => true,
'protected_to_private' => false, 'protected_to_private' => false,
'nullable_type_declaration_for_default_null_value' => ['use_nullable_type_declaration' => false],
]) ])
->setRiskyAllowed(true) ->setRiskyAllowed(true)
->setFinder( ->setFinder(

View File

@ -13,8 +13,8 @@ The Symfony Connect username in parenthesis allows to get more information
- Robin Chalas (chalas_r) - Robin Chalas (chalas_r)
- Christophe Coevoet (stof) - Christophe Coevoet (stof)
- Maxime Steinhausser (ogizanagi) - Maxime Steinhausser (ogizanagi)
- Kévin Dunglas (dunglas)
- Jérémy DERUSSÉ (jderusse) - Jérémy DERUSSÉ (jderusse)
- Kévin Dunglas (dunglas)
- Grégoire Pineau (lyrixx) - Grégoire Pineau (lyrixx)
- Wouter De Jong (wouterj) - Wouter De Jong (wouterj)
- Jordi Boggiano (seldaek) - Jordi Boggiano (seldaek)
@ -43,8 +43,8 @@ The Symfony Connect username in parenthesis allows to get more information
- Jeremy Mikola (jmikola) - Jeremy Mikola (jmikola)
- Jean-François Simon (jfsimon) - Jean-François Simon (jfsimon)
- Benjamin Eberlei (beberlei) - Benjamin Eberlei (beberlei)
- Igor Wiedler (igorw)
- Jan Schädlich (jschaedl) - Jan Schädlich (jschaedl)
- Igor Wiedler (igorw)
- Eriksen Costa (eriksencosta) - Eriksen Costa (eriksencosta)
- Ener-Getick (energetick) - Ener-Getick (energetick)
- Sarah Khalil (saro0h) - Sarah Khalil (saro0h)
@ -112,10 +112,10 @@ The Symfony Connect username in parenthesis allows to get more information
- Bart van den Burg (burgov) - Bart van den Burg (burgov)
- Jordan Alliot (jalliot) - Jordan Alliot (jalliot)
- John Wards (johnwards) - John Wards (johnwards)
- Baptiste Clavié (talus)
- Antoine Hérault (herzult) - Antoine Hérault (herzult)
- Paráda József (paradajozsef) - Paráda József (paradajozsef)
- Alexander Schranz (alexander-schranz) - Alexander Schranz (alexander-schranz)
- Baptiste Clavié (talus)
- Arnaud Le Blanc (arnaud-lb) - Arnaud Le Blanc (arnaud-lb)
- Przemysław Bogusz (przemyslaw-bogusz) - Przemysław Bogusz (przemyslaw-bogusz)
- Maxime STEINHAUSSER - Maxime STEINHAUSSER
@ -138,6 +138,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Włodzimierz Gajda (gajdaw) - Włodzimierz Gajda (gajdaw)
- Christian Scheb - Christian Scheb
- Adrien Brault (adrienbrault) - Adrien Brault (adrienbrault)
- Tomas Norkūnas (norkunas)
- Julien Falque (julienfalque) - Julien Falque (julienfalque)
- Jacob Dreesen (jdreesen) - Jacob Dreesen (jdreesen)
- Malte Schlüter (maltemaltesich) - Malte Schlüter (maltemaltesich)
@ -147,21 +148,20 @@ The Symfony Connect username in parenthesis allows to get more information
- Colin Frei - Colin Frei
- Javier Spagnoletti (phansys) - Javier Spagnoletti (phansys)
- Joshua Thijssen - Joshua Thijssen
- Tomas Norkūnas (norkunas)
- Yanick Witschi (toflar) - Yanick Witschi (toflar)
- Daniel Wehner (dawehner) - Daniel Wehner (dawehner)
- Tugdual Saunier (tucksaun) - Tugdual Saunier (tucksaun)
- excelwebzone - excelwebzone
- Gordon Franke (gimler) - Gordon Franke (gimler)
- Saif Eddin Gmati (azjezz) - Saif Eddin Gmati (azjezz)
- HypeMC (hypemc)
- Jesse Rushlow (geeshoe) - Jesse Rushlow (geeshoe)
- Fabien Pennequin (fabienpennequin) - Fabien Pennequin (fabienpennequin)
- Théo FIDRY (theofidry) - Théo FIDRY (theofidry)
- Olivier Dolbeau (odolbeau)
- Eric GELOEN (gelo) - Eric GELOEN (gelo)
- Matthieu Napoli (mnapoli) - Matthieu Napoli (mnapoli)
- HypeMC (hypemc)
- Jannik Zschiesche (apfelbox) - Jannik Zschiesche (apfelbox)
- Olivier Dolbeau (odolbeau)
- Robert Schönthal (digitalkaoz) - Robert Schönthal (digitalkaoz)
- Florian Lonqueu-Brochard (florianlb) - Florian Lonqueu-Brochard (florianlb)
- Tigran Azatyan (tigranazatyan) - Tigran Azatyan (tigranazatyan)
@ -202,12 +202,14 @@ The Symfony Connect username in parenthesis allows to get more information
- Andreas Schempp (aschempp) - Andreas Schempp (aschempp)
- Romaric Drigon (romaricdrigon) - Romaric Drigon (romaricdrigon)
- Arman Hosseini (arman) - Arman Hosseini (arman)
- Alexandre Daubois (alexandre-daubois)
- Niels Keurentjes (curry684) - Niels Keurentjes (curry684)
- Vyacheslav Pavlov - Vyacheslav Pavlov
- Richard Shank (iampersistent) - Richard Shank (iampersistent)
- Wouter J - Wouter J
- Thomas Rabaix (rande) - Thomas Rabaix (rande)
- Chi-teck - Chi-teck
- Mathieu Santostefano (welcomattic)
- Jeroen Spee (jeroens) - Jeroen Spee (jeroens)
- Timo Bakx (timobakx) - Timo Bakx (timobakx)
- Marco Pivetta (ocramius) - Marco Pivetta (ocramius)
@ -233,9 +235,9 @@ The Symfony Connect username in parenthesis allows to get more information
- GDIBass - GDIBass
- Samuel NELA (snela) - Samuel NELA (snela)
- David Prévot - David Prévot
- Mathieu Santostefano
- Dmitrii Poddubnyi (karser) - Dmitrii Poddubnyi (karser)
- Joe Bennett (kralos) - Joe Bennett (kralos)
- Michael Babker (mbabker)
- Tien Vo (tienvx) - Tien Vo (tienvx)
- Timothée Barray (tyx) - Timothée Barray (tyx)
- James Halsall (jaitsu) - James Halsall (jaitsu)
@ -244,6 +246,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Benjamin Leveque (benji07) - Benjamin Leveque (benji07)
- Dmitrii Chekaliuk (lazyhammer) - Dmitrii Chekaliuk (lazyhammer)
- Clément JOBEILI (dator) - Clément JOBEILI (dator)
- Mathieu Lechat (mat_the_cat)
- Marek Štípek (maryo) - Marek Štípek (maryo)
- Daniel Espendiller - Daniel Espendiller
- Possum - Possum
@ -257,6 +260,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Christopher Hertel (chertel) - Christopher Hertel (chertel)
- DQNEO - DQNEO
- Hidde Wieringa (hiddewie) - Hidde Wieringa (hiddewie)
- Hugo Monteiro (monteiro)
- Antonio Pauletich (x-coder264) - Antonio Pauletich (x-coder264)
- Andre Rømcke (andrerom) - Andre Rømcke (andrerom)
- Nate Wiebe (natewiebe13) - Nate Wiebe (natewiebe13)
@ -275,7 +279,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Tom Van Looy (tvlooy) - Tom Van Looy (tvlooy)
- Guillaume Pédelagrabe - Guillaume Pédelagrabe
- Noel Guilbert (noel) - Noel Guilbert (noel)
- Mathieu Lechat (mat_the_cat)
- Anthony GRASSIOT (antograssiot) - Anthony GRASSIOT (antograssiot)
- Stadly - Stadly
- Stepan Anchugov (kix) - Stepan Anchugov (kix)
@ -296,12 +299,10 @@ The Symfony Connect username in parenthesis allows to get more information
- Pierre Minnieur (pminnieur) - Pierre Minnieur (pminnieur)
- fivestar - fivestar
- Dominique Bongiraud - Dominique Bongiraud
- Hugo Monteiro (monteiro)
- dFayet - dFayet
- Jeremy Livingston (jeremylivingston) - Jeremy Livingston (jeremylivingston)
- Michael Lee (zerustech) - Michael Lee (zerustech)
- Matthieu Auger (matthieuauger) - Matthieu Auger (matthieuauger)
- Michael Babker (mbabker)
- Leszek Prabucki (l3l0) - Leszek Prabucki (l3l0)
- Nicolas Philippe (nikophil) - Nicolas Philippe (nikophil)
- Colin O'Dell (colinodell) - Colin O'Dell (colinodell)
@ -312,15 +313,17 @@ The Symfony Connect username in parenthesis allows to get more information
- John Kary (johnkary) - John Kary (johnkary)
- Justin Hileman (bobthecow) - Justin Hileman (bobthecow)
- Blanchon Vincent (blanchonvincent) - Blanchon Vincent (blanchonvincent)
- Denis Brumann (dbrumann)
- Michele Orselli (orso) - Michele Orselli (orso)
- Sven Paulus (subsven) - Sven Paulus (subsven)
- Daniel STANCU - Daniel STANCU
- Maxime Veber (nek-) - Maxime Veber (nek-)
- Ion Bazan (ionbazan)
- Loick Piera (pyrech) - Loick Piera (pyrech)
- Clara van Miert - Clara van Miert
- Valentine Boineau (valentineboineau)
- Bastien Jaillot (bastnic) - Bastien Jaillot (bastnic)
- Rui Marinho (ruimarinho) - Rui Marinho (ruimarinho)
- Alexandre Daubois (alexandre-daubois)
- Eugene Wissner - Eugene Wissner
- Bohan Yang (brentybh) - Bohan Yang (brentybh)
- Pascal Montoya - Pascal Montoya
@ -363,7 +366,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Roman Marintšenko (inori) - Roman Marintšenko (inori)
- Xavier Montaña Carreras (xmontana) - Xavier Montaña Carreras (xmontana)
- Mickaël Andrieu (mickaelandrieu) - Mickaël Andrieu (mickaelandrieu)
- Ion Bazan (ionbazan)
- Xavier Perez - Xavier Perez
- Arjen Brouwer (arjenjb) - Arjen Brouwer (arjenjb)
- Katsuhiro OGAWA - Katsuhiro OGAWA
@ -374,7 +376,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Anton Chernikov (anton_ch1989) - Anton Chernikov (anton_ch1989)
- Kristen Gilden (kgilden) - Kristen Gilden (kgilden)
- Pierre-Yves LEBECQ (pylebecq) - Pierre-Yves LEBECQ (pylebecq)
- Denis Brumann (dbrumann)
- Jordan Samouh (jordansamouh) - Jordan Samouh (jordansamouh)
- Jakub Kucharovic (jkucharovic) - Jakub Kucharovic (jkucharovic)
- Sullivan SENECHAL (soullivaneuh) - Sullivan SENECHAL (soullivaneuh)
@ -489,6 +490,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Loïc Frémont (loic425) - Loïc Frémont (loic425)
- Oleksandr Barabolia (oleksandrbarabolia) - Oleksandr Barabolia (oleksandrbarabolia)
- ivan - ivan
- Artem Henvald (artemgenvald)
- Greg Anderson - Greg Anderson
- Tri Pham (phamuyentri) - Tri Pham (phamuyentri)
- BoShurik - BoShurik
@ -523,6 +525,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Terje Bråten - Terje Bråten
- Renan Gonçalves (renan_saddam) - Renan Gonçalves (renan_saddam)
- Marco Petersen (ocrampete16) - Marco Petersen (ocrampete16)
- Tarmo Leppänen (tarlepp)
- Martin Auswöger - Martin Auswöger
- Robbert Klarenbeek (robbertkl) - Robbert Klarenbeek (robbertkl)
- Eric Masoero (eric-masoero) - Eric Masoero (eric-masoero)
@ -556,7 +559,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Tamas Szijarto - Tamas Szijarto
- Michele Locati - Michele Locati
- Pavel Volokitin (pvolok) - Pavel Volokitin (pvolok)
- Valentine Boineau (valentineboineau)
- Gijs van Lammeren - Gijs van Lammeren
- Arthur de Moulins (4rthem) - Arthur de Moulins (4rthem)
- Matthias Althaus (althaus) - Matthias Althaus (althaus)
@ -616,7 +618,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Christopher Davis (chrisguitarguy) - Christopher Davis (chrisguitarguy)
- Andrey Sevastianov - Andrey Sevastianov
- Webnet team (webnet) - Webnet team (webnet)
- Artem Henvald (artemgenvald)
- marie - marie
- Jan Schumann - Jan Schumann
- Noémi Salaün (noemi-salaun) - Noémi Salaün (noemi-salaun)
@ -643,6 +644,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Xavier Briand (xavierbriand) - Xavier Briand (xavierbriand)
- Asmir Mustafic (goetas) - Asmir Mustafic (goetas)
- DerManoMann - DerManoMann
- Stefan Gehrig (sgehrig)
- vagrant - vagrant
- Aurimas Niekis (gcds) - Aurimas Niekis (gcds)
- EdgarPE - EdgarPE
@ -674,7 +676,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Soner Sayakci - Soner Sayakci
- Tobias Weichart - Tobias Weichart
- Miro Michalicka - Miro Michalicka
- Tarmo Leppänen (tarlepp)
- Marcin Sikoń (marphi) - Marcin Sikoń (marphi)
- M. Vondano - M. Vondano
- Dominik Zogg (dominik.zogg) - Dominik Zogg (dominik.zogg)
@ -786,6 +787,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Joachim Løvgaard (loevgaard) - Joachim Løvgaard (loevgaard)
- jhonnyL - jhonnyL
- sasezaki - sasezaki
- Jonathan Scheiber (jmsche)
- Kristof Van Cauwenbergh (kristofvc) - Kristof Van Cauwenbergh (kristofvc)
- Dawid Pakuła (zulusx) - Dawid Pakuła (zulusx)
- Marco Lipparini (liarco) - Marco Lipparini (liarco)
@ -832,6 +834,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Pablo Lozano (arkadis) - Pablo Lozano (arkadis)
- Thiago Cordeiro (thiagocordeiro) - Thiago Cordeiro (thiagocordeiro)
- Jan Behrens - Jan Behrens
- Dragos Protung (dragosprotung)
- Mantas Var (mvar) - Mantas Var (mvar)
- Terje Bråten - Terje Bråten
- Yann LUCAS (drixs6o9) - Yann LUCAS (drixs6o9)
@ -912,7 +915,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Julien Fredon - Julien Fredon
- Jacek Wilczyński (jacekwilczynski) - Jacek Wilczyński (jacekwilczynski)
- Xavier Leune (xleune) - Xavier Leune (xleune)
- Stefan Gehrig (sgehrig)
- Hany el-Kerdany - Hany el-Kerdany
- Wang Jingyu - Wang Jingyu
- Åsmund Garfors - Åsmund Garfors
@ -1075,6 +1077,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Andrea Sprega (asprega) - Andrea Sprega (asprega)
- Alexander Volochnev (exelenz) - Alexander Volochnev (exelenz)
- Viktor Bajraktar (njutn95) - Viktor Bajraktar (njutn95)
- SiD (plbsid)
- Mbechezi Nawo - Mbechezi Nawo
- Michael Piecko - Michael Piecko
- Toni Peric (tperic) - Toni Peric (tperic)
@ -1223,7 +1226,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Bernhard Rusch - Bernhard Rusch
- Ivan - Ivan
- Quentin Schuler - Quentin Schuler
- Jonathan Scheiber (jmsche)
- Pierre Vanliefland (pvanliefland) - Pierre Vanliefland (pvanliefland)
- Roy Klutman (royklutman) - Roy Klutman (royklutman)
- Sofiane HADDAG (sofhad) - Sofiane HADDAG (sofhad)
@ -1231,6 +1233,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Taylor Otwell - Taylor Otwell
- Dries Vints - Dries Vints
- Sami Mussbach - Sami Mussbach
- Kien Nguyen
- Foxprodev - Foxprodev
- Eric Hertwig - Eric Hertwig
- Niels Robin-Aubertin - Niels Robin-Aubertin
@ -1391,7 +1394,6 @@ The Symfony Connect username in parenthesis allows to get more information
- Andre Johnson - Andre Johnson
- Marco Pfeiffer - Marco Pfeiffer
- Rootie - Rootie
- Dragos Protung (dragosprotung)
- Gabriel Solomon (gabrielsolomon) - Gabriel Solomon (gabrielsolomon)
- Daniel Alejandro Castro Arellano (lexcast) - Daniel Alejandro Castro Arellano (lexcast)
- Aleksandar Dimitrov (netbull) - Aleksandar Dimitrov (netbull)
@ -1454,6 +1456,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Amirreza Shafaat (amirrezashafaat) - Amirreza Shafaat (amirrezashafaat)
- Adoni Pavlakis (adoni) - Adoni Pavlakis (adoni)
- Nicolas Le Goff (nlegoff) - Nicolas Le Goff (nlegoff)
- Maarten Nusteling (nusje2000)
- Ahmed EBEN HASSINE (famas23) - Ahmed EBEN HASSINE (famas23)
- Ben Oman - Ben Oman
- Chris de Kok - Chris de Kok
@ -1464,6 +1467,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Irmantas Šiupšinskas (irmantas) - Irmantas Šiupšinskas (irmantas)
- Danilo Silva - Danilo Silva
- Giuseppe Campanelli - Giuseppe Campanelli
- Matthieu Calie (matth--)
- Arnaud PETITPAS (apetitpa) - Arnaud PETITPAS (apetitpa)
- Ken Stanley - Ken Stanley
- ivan - ivan
@ -1651,6 +1655,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Loïc Ovigne (oviglo) - Loïc Ovigne (oviglo)
- Artem Kolesnikov (tyomo4ka) - Artem Kolesnikov (tyomo4ka)
- Markkus Millend - Markkus Millend
- Clément
- Gustavo Adrian - Gustavo Adrian
- Jorrit Schippers (jorrit) - Jorrit Schippers (jorrit)
- Yannick - Yannick
@ -1664,6 +1669,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Amine Yakoubi - Amine Yakoubi
- Eduardo García Sanz (coma) - Eduardo García Sanz (coma)
- Sergio (deverad) - Sergio (deverad)
- simon chrzanowski (simonch)
- Makdessi Alex - Makdessi Alex
- James Gilliland - James Gilliland
- fduch (fduch) - fduch (fduch)
@ -1677,7 +1683,6 @@ The Symfony Connect username in parenthesis allows to get more information
- arnaud (arnooo999) - arnaud (arnooo999)
- Gilles Doge (gido) - Gilles Doge (gido)
- Oscar Esteve (oesteve) - Oscar Esteve (oesteve)
- SiD (plbsid)
- abulford - abulford
- Philipp Kretzschmar - Philipp Kretzschmar
- antograssiot - antograssiot
@ -1901,6 +1906,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Daniel González Zaballos (dem3trio) - Daniel González Zaballos (dem3trio)
- Emmanuel Vella (emmanuel.vella) - Emmanuel Vella (emmanuel.vella)
- Guillaume BRETOU (guiguiboy) - Guillaume BRETOU (guiguiboy)
- Nikita Popov (nikic)
- Carsten Nielsen (phreaknerd) - Carsten Nielsen (phreaknerd)
- Jay Severson - Jay Severson
- Benny Born - Benny Born
@ -1938,6 +1944,7 @@ The Symfony Connect username in parenthesis allows to get more information
- r1pp3rj4ck - r1pp3rj4ck
- phydevs - phydevs
- mmokhi - mmokhi
- Serhii Smirnov
- Robert Queck - Robert Queck
- Peter Bouwdewijn - Peter Bouwdewijn
- mlively - mlively
@ -1961,6 +1968,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Matthew J Mucklo - Matthew J Mucklo
- AnrDaemon - AnrDaemon
- Emre Akinci (emre) - Emre Akinci (emre)
- Chris Maiden (matason)
- fdgdfg (psampaz) - fdgdfg (psampaz)
- Andrea Ruggiero (pupax) - Andrea Ruggiero (pupax)
- Stéphane Seng - Stéphane Seng
@ -1976,6 +1984,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Valentin VALCIU - Valentin VALCIU
- Jeremiah VALERIE - Jeremiah VALERIE
- Julien Menth - Julien Menth
- George Yiannoulopoulos
- Yannick Snobbert - Yannick Snobbert
- Kevin Dew - Kevin Dew
- James Cowgill - James Cowgill
@ -2516,6 +2525,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Youpie - Youpie
- Jason Stephens - Jason Stephens
- srsbiz - srsbiz
- Tinjo Schöni
- Taylan Kasap - Taylan Kasap
- Michael Orlitzky - Michael Orlitzky
- Nicolas A. Bérard-Nault - Nicolas A. Bérard-Nault
@ -2625,6 +2635,7 @@ The Symfony Connect username in parenthesis allows to get more information
- Michal Forbak - Michal Forbak
- Drew Butler - Drew Butler
- Alexey Berezuev - Alexey Berezuev
- Pierrick Charron
- Steve Müller - Steve Müller
- Andras Ratz - Andras Ratz
- andreabreu98 - andreabreu98
@ -2636,10 +2647,12 @@ The Symfony Connect username in parenthesis allows to get more information
- Anatol Belski - Anatol Belski
- Şəhriyar İmanov - Şəhriyar İmanov
- Alexis BOYER - Alexis BOYER
- bch36
- Kaipi Yann - Kaipi Yann
- adam-mospan - adam-mospan
- Steve Hyde - Steve Hyde
- Sam Williams - Sam Williams
- Ettore Del Negro
- Guillaume Aveline - Guillaume Aveline
- Adrian Philipp - Adrian Philipp
- James Michael DuPont - James Michael DuPont

View File

@ -19,9 +19,6 @@ class ManagerRegistryTest extends TestCase
{ {
public static function setUpBeforeClass(): void public static function setUpBeforeClass(): void
{ {
if (!class_exists(\PHPUnit_Framework_TestCase::class)) {
self::markTestSkipped('proxy-manager-bridge is not yet compatible with namespaced phpunit versions.');
}
$test = new PhpDumperTest(); $test = new PhpDumperTest();
$test->testDumpContainerWithProxyServiceWillShareProxies(); $test->testDumpContainerWithProxyServiceWillShareProxies();
} }

View File

@ -10,7 +10,6 @@
*/ */
use Symfony\Bundle\FrameworkBundle\FrameworkBundle; use Symfony\Bundle\FrameworkBundle\FrameworkBundle;
use Symfony\Bundle\FrameworkBundle\Tests\Functional\Bundle\TestBundle\TestBundle;
return [ return [
new FrameworkBundle(), new FrameworkBundle(),

View File

@ -49,7 +49,7 @@ class ArrayAdapterTest extends AdapterTestCase
// Fail (should be missing from $values) // Fail (should be missing from $values)
$item = $cache->getItem('buz'); $item = $cache->getItem('buz');
$cache->save($item->set(function() {})); $cache->save($item->set(function () {}));
$values = $cache->getValues(); $values = $cache->getValues();

View File

@ -225,7 +225,7 @@ class ExprBuilderTest extends TestCase
* *
* @return array The finalized config values * @return array The finalized config values
*/ */
protected function finalizeTestBuilder(NodeDefinition $nodeDefinition, ?array $config = null): array protected function finalizeTestBuilder(NodeDefinition $nodeDefinition, array $config = null): array
{ {
return $nodeDefinition return $nodeDefinition
->end() ->end()

View File

@ -64,7 +64,7 @@ class ReflectionClassResourceTest extends TestCase
/** /**
* @dataProvider provideHashedSignature * @dataProvider provideHashedSignature
*/ */
public function testHashedSignature(bool $changeExpected, int $changedLine, ?string $changedCode, ?\Closure $setContext = null) public function testHashedSignature(bool $changeExpected, int $changedLine, ?string $changedCode, \Closure $setContext = null)
{ {
if ($setContext) { if ($setContext) {
$setContext(); $setContext();

View File

@ -40,7 +40,7 @@ class MemcachedSessionHandlerTest extends TestCase
$r = new \ReflectionClass(\Memcached::class); $r = new \ReflectionClass(\Memcached::class);
$methodsToMock = array_map(function ($m) { return $m->name; }, $r->getMethods(\ReflectionMethod::IS_PUBLIC)); $methodsToMock = array_map(function ($m) { return $m->name; }, $r->getMethods(\ReflectionMethod::IS_PUBLIC));
$methodsToMock = array_diff($methodsToMock, ['getDelayed','getDelayedByKey']); $methodsToMock = array_diff($methodsToMock, ['getDelayed', 'getDelayedByKey']);
$this->memcached = $this->getMockBuilder(\Memcached::class) $this->memcached = $this->getMockBuilder(\Memcached::class)
->disableOriginalConstructor() ->disableOriginalConstructor()

View File

@ -25,7 +25,7 @@ final class Dsn
private $port; private $port;
private $options; private $options;
public function __construct(string $scheme, string $host, ?string $user = null, ?string $password = null, ?int $port = null, array $options = []) public function __construct(string $scheme, string $host, string $user = null, string $password = null, int $port = null, array $options = [])
{ {
$this->scheme = $scheme; $this->scheme = $scheme;
$this->host = $host; $this->host = $host;

View File

@ -24,10 +24,10 @@ class ParseException extends RuntimeException
private $rawMessage; private $rawMessage;
/** /**
* @param string $message The error message * @param string $message The error message
* @param int $parsedLine The line where the error occurred * @param int $parsedLine The line where the error occurred
* @param string|null $snippet The snippet of code near the problem * @param string|null $snippet The snippet of code near the problem
* @param string|null $parsedFile The file name where the error occurred * @param string|null $parsedFile The file name where the error occurred
*/ */
public function __construct(string $message, int $parsedLine = -1, string $snippet = null, string $parsedFile = null, \Throwable $previous = null) public function __construct(string $message, int $parsedLine = -1, string $snippet = null, string $parsedFile = null, \Throwable $previous = null)
{ {