Merge branch '3.4' into 4.3

* 3.4:
  [DependencyInjection] Fix broken references in tests
  Avoid using of kernel after shutdown
  Simplify PHP CS Fixer configuration
  [FrameworkBundle] [HttpKernel] fixed correct EOL and EOM month
  Fix MockFileSessionStorageTest::sessionDir being used after it's unset
  bumped Symfony version to 3.4.34
  updated VERSION for 3.4.33
  update CONTRIBUTORS for 3.4.33
  updated CHANGELOG for 3.4.33
  [Stopwatch] Fixed a bug in stopwatch event getStartTime
  [Stopwatch] Fixed bug in getDuration when counting multiple ongoing periods
  Adding some validations tags on validators.et.xlf
  add missing translation for 94 (it)
This commit is contained in:
Nicolas Grekas 2019-11-05 15:48:09 +01:00
commit 448d0d6728
12 changed files with 130 additions and 50 deletions

View File

@ -10,17 +10,9 @@ return PhpCsFixer\Config::create()
'@Symfony:risky' => true, '@Symfony:risky' => true,
'@PHPUnit75Migration:risky' => true, '@PHPUnit75Migration:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'], 'php_unit_dedicate_assert' => ['target' => '5.6'],
'phpdoc_no_empty_return' => false, // triggers almost always false positive
'array_syntax' => ['syntax' => 'short'], 'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false, 'fopen_flags' => false,
'ordered_imports' => true,
'phpdoc_trim_consecutive_blank_line_separation' => true,
'no_superfluous_phpdoc_tags' => ['allow_mixed' => true],
'protected_to_private' => false, 'protected_to_private' => false,
// Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced', 'strict' => true],
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'combine_nested_dirname' => true, 'combine_nested_dirname' => true,
]) ])
->setRiskyAllowed(true) ->setRiskyAllowed(true)

View File

@ -9,16 +9,16 @@ Symfony is the result of the work of many people who made the code better
- Christian Flothmann (xabbuh) - Christian Flothmann (xabbuh)
- Bernhard Schussek (bschussek) - Bernhard Schussek (bschussek)
- Tobias Schultze (tobion) - Tobias Schultze (tobion)
- Christophe Coevoet (stof)
- Robin Chalas (chalas_r) - Robin Chalas (chalas_r)
- Jordi Boggiano (seldaek) - Christophe Coevoet (stof)
- Kévin Dunglas (dunglas) - Kévin Dunglas (dunglas)
- Jordi Boggiano (seldaek)
- Victor Berchet (victor) - Victor Berchet (victor)
- Maxime Steinhausser (ogizanagi) - Maxime Steinhausser (ogizanagi)
- Ryan Weaver (weaverryan) - Ryan Weaver (weaverryan)
- Jakub Zalas (jakubzalas)
- Javier Eguiluz (javier.eguiluz) - Javier Eguiluz (javier.eguiluz)
- Roland Franssen (ro0) - Roland Franssen (ro0)
- Jakub Zalas (jakubzalas)
- Johannes S (johannes) - Johannes S (johannes)
- Grégoire Pineau (lyrixx) - Grégoire Pineau (lyrixx)
- Kris Wallsmith (kriswallsmith) - Kris Wallsmith (kriswallsmith)
@ -31,8 +31,8 @@ Symfony is the result of the work of many people who made the code better
- Wouter De Jong (wouterj) - Wouter De Jong (wouterj)
- Joseph Bielawski (stloyd) - Joseph Bielawski (stloyd)
- Karma Dordrak (drak) - Karma Dordrak (drak)
- Lukas Kahwe Smith (lsmith)
- Alexander M. Turek (derrabus) - Alexander M. Turek (derrabus)
- Lukas Kahwe Smith (lsmith)
- Martin Hasoň (hason) - Martin Hasoň (hason)
- Hamza Amrouche (simperfit) - Hamza Amrouche (simperfit)
- Jeremy Mikola (jmikola) - Jeremy Mikola (jmikola)
@ -42,9 +42,9 @@ Symfony is the result of the work of many people who made the code better
- Igor Wiedler (igorw) - Igor Wiedler (igorw)
- Jérémy DERUSSÉ (jderusse) - Jérémy DERUSSÉ (jderusse)
- Eriksen Costa (eriksencosta) - Eriksen Costa (eriksencosta)
- Thomas Calvet (fancyweb)
- Guilhem Niot (energetick) - Guilhem Niot (energetick)
- Sarah Khalil (saro0h) - Sarah Khalil (saro0h)
- Thomas Calvet (fancyweb)
- Tobias Nyholm (tobias) - Tobias Nyholm (tobias)
- Jonathan Wage (jwage) - Jonathan Wage (jwage)
- Lynn van der Berg (kjarli) - Lynn van der Berg (kjarli)
@ -69,14 +69,14 @@ Symfony is the result of the work of many people who made the code better
- Miha Vrhovnik - Miha Vrhovnik
- Diego Saint Esteben (dii3g0) - Diego Saint Esteben (dii3g0)
- Gábor Egyed (1ed) - Gábor Egyed (1ed)
- Gabriel Ostrolucký (gadelat)
- Titouan Galopin (tgalopin) - Titouan Galopin (tgalopin)
- Konstantin Kudryashov (everzet) - Konstantin Kudryashov (everzet)
- David Maicher (dmaicher) - David Maicher (dmaicher)
- Bilal Amarni (bamarni) - Bilal Amarni (bamarni)
- Mathieu Piot (mpiot) - Mathieu Piot (mpiot)
- Gabriel Ostrolucký (gadelat)
- Florin Patan (florinpatan)
- Vladimir Reznichenko (kalessil) - Vladimir Reznichenko (kalessil)
- Florin Patan (florinpatan)
- Jáchym Toušek (enumag) - Jáchym Toušek (enumag)
- Michel Weimerskirch (mweimerskirch) - Michel Weimerskirch (mweimerskirch)
- Andrej Hudec (pulzarraider) - Andrej Hudec (pulzarraider)
@ -86,10 +86,10 @@ Symfony is the result of the work of many people who made the code better
- Jan Schädlich (jschaedl) - Jan Schädlich (jschaedl)
- Christian Raue - Christian Raue
- Arnout Boks (aboks) - Arnout Boks (aboks)
- Douglas Greenshields (shieldo)
- Deni - Deni
- Henrik Westphal (snc) - Henrik Westphal (snc)
- Dariusz Górecki (canni) - Dariusz Górecki (canni)
- Douglas Greenshields (shieldo)
- David Buchmann (dbu) - David Buchmann (dbu)
- Dariusz Ruminski - Dariusz Ruminski
- Lee McDermott - Lee McDermott
@ -126,12 +126,12 @@ Symfony is the result of the work of many people who made the code better
- Colin Frei - Colin Frei
- Javier Spagnoletti (phansys) - Javier Spagnoletti (phansys)
- Joshua Thijssen - Joshua Thijssen
- Alex Pott
- Daniel Wehner (dawehner) - Daniel Wehner (dawehner)
- excelwebzone - excelwebzone
- Gordon Franke (gimler) - Gordon Franke (gimler)
- Teoh Han Hui (teohhanhui) - Teoh Han Hui (teohhanhui)
- Oskar Stark (oskarstark) - Oskar Stark (oskarstark)
- Alex Pott
- Fabien Pennequin (fabienpennequin) - Fabien Pennequin (fabienpennequin)
- Théo FIDRY (theofidry) - Théo FIDRY (theofidry)
- Eric GELOEN (gelo) - Eric GELOEN (gelo)
@ -140,6 +140,7 @@ Symfony is the result of the work of many people who made the code better
- Tugdual Saunier (tucksaun) - Tugdual Saunier (tucksaun)
- Jannik Zschiesche (apfelbox) - Jannik Zschiesche (apfelbox)
- Robert Schönthal (digitalkaoz) - Robert Schönthal (digitalkaoz)
- Gregor Harlan (gharlan)
- Florian Lonqueu-Brochard (florianlb) - Florian Lonqueu-Brochard (florianlb)
- Gabriel Caruso (carusogabriel) - Gabriel Caruso (carusogabriel)
- Stefano Sala (stefano.sala) - Stefano Sala (stefano.sala)
@ -163,8 +164,10 @@ Symfony is the result of the work of many people who made the code better
- Philipp Wahala (hifi) - Philipp Wahala (hifi)
- Rafael Dohms (rdohms) - Rafael Dohms (rdohms)
- jwdeitch - jwdeitch
- Alexander Schranz (alexander-schranz)
- Mikael Pajunen - Mikael Pajunen
- Alessandro Chitolina (alekitto) - Alessandro Chitolina (alekitto)
- Yanick Witschi (toflar)
- Massimiliano Arione (garak) - Massimiliano Arione (garak)
- Niels Keurentjes (curry684) - Niels Keurentjes (curry684)
- Vyacheslav Pavlov - Vyacheslav Pavlov
@ -172,13 +175,10 @@ Symfony is the result of the work of many people who made the code better
- Richard Shank (iampersistent) - Richard Shank (iampersistent)
- Thomas Rabaix (rande) - Thomas Rabaix (rande)
- Vincent Touzet (vincenttouzet) - Vincent Touzet (vincenttouzet)
- Gregor Harlan (gharlan)
- jeremyFreeAgent (jeremyfreeagent) - jeremyFreeAgent (jeremyfreeagent)
- Rouven Weßling (realityking) - Rouven Weßling (realityking)
- Alexander Schranz (alexander-schranz)
- Clemens Tolboom - Clemens Tolboom
- Helmer Aaviksoo - Helmer Aaviksoo
- Yanick Witschi (toflar)
- Hiromi Hishida (77web) - Hiromi Hishida (77web)
- Matthieu Ouellette-Vachon (maoueh) - Matthieu Ouellette-Vachon (maoueh)
- Michał Pipa (michal.pipa) - Michał Pipa (michal.pipa)
@ -202,6 +202,7 @@ Symfony is the result of the work of many people who made the code better
- Daniel Espendiller - Daniel Espendiller
- Possum - Possum
- Dorian Villet (gnutix) - Dorian Villet (gnutix)
- Michaël Perrin (michael.perrin)
- Sergey Linnik (linniksa) - Sergey Linnik (linniksa)
- Richard Miller (mr_r_miller) - Richard Miller (mr_r_miller)
- Albert Casademont (acasademont) - Albert Casademont (acasademont)
@ -209,6 +210,7 @@ Symfony is the result of the work of many people who made the code better
- Dennis Benkert (denderello) - Dennis Benkert (denderello)
- DQNEO - DQNEO
- mcfedr (mcfedr) - mcfedr (mcfedr)
- Ben Davies (bendavies)
- Gary PEGEOT (gary-p) - Gary PEGEOT (gary-p)
- Ruben Gonzalez (rubenrua) - Ruben Gonzalez (rubenrua)
- Benjamin Dulau (dbenjamin) - Benjamin Dulau (dbenjamin)
@ -223,7 +225,6 @@ Symfony is the result of the work of many people who made the code better
- bronze1man - bronze1man
- sun (sun) - sun (sun)
- Larry Garfield (crell) - Larry Garfield (crell)
- Michaël Perrin (michael.perrin)
- Nikolay Labinskiy (e-moe) - Nikolay Labinskiy (e-moe)
- Martin Schuhfuß (usefulthink) - Martin Schuhfuß (usefulthink)
- apetitpa - apetitpa
@ -232,11 +233,11 @@ Symfony is the result of the work of many people who made the code better
- Pierre Minnieur (pminnieur) - Pierre Minnieur (pminnieur)
- fivestar - fivestar
- Dominique Bongiraud - Dominique Bongiraud
- Andre Rømcke (andrerom)
- Jeremy Livingston (jeremylivingston) - Jeremy Livingston (jeremylivingston)
- Michael Lee (zerustech) - Michael Lee (zerustech)
- Matthieu Auger (matthieuauger) - Matthieu Auger (matthieuauger)
- Leszek Prabucki (l3l0) - Leszek Prabucki (l3l0)
- Ben Davies (bendavies)
- Fabien Bourigault (fbourigault) - Fabien Bourigault (fbourigault)
- François Zaninotto (fzaninotto) - François Zaninotto (fzaninotto)
- Dustin Whittle (dustinwhittle) - Dustin Whittle (dustinwhittle)
@ -260,7 +261,6 @@ Symfony is the result of the work of many people who made the code better
- Mantis Development - Mantis Development
- Loïc Faugeron - Loïc Faugeron
- Hidde Wieringa (hiddewie) - Hidde Wieringa (hiddewie)
- Andre Rømcke (andrerom)
- Marco Pivetta (ocramius) - Marco Pivetta (ocramius)
- Rob Frawley 2nd (robfrawley) - Rob Frawley 2nd (robfrawley)
- julien pauli (jpauli) - julien pauli (jpauli)
@ -399,8 +399,10 @@ Symfony is the result of the work of many people who made the code better
- Vitaliy Zakharov (zakharovvi) - Vitaliy Zakharov (zakharovvi)
- Tobias Sjösten (tobiassjosten) - Tobias Sjösten (tobiassjosten)
- Gyula Sallai (salla) - Gyula Sallai (salla)
- Maciej Malarz (malarzm)
- Inal DJAFAR (inalgnu) - Inal DJAFAR (inalgnu)
- Christian Gärtner (dagardner) - Christian Gärtner (dagardner)
- Dmytro Borysovskyi (dmytr0)
- Tomasz Kowalczyk (thunderer) - Tomasz Kowalczyk (thunderer)
- Artur Eshenbrener - Artur Eshenbrener
- Damien Alexandre (damienalexandre) - Damien Alexandre (damienalexandre)
@ -425,6 +427,7 @@ Symfony is the result of the work of many people who made the code better
- Grzegorz (Greg) Zdanowski (kiler129) - Grzegorz (Greg) Zdanowski (kiler129)
- Iker Ibarguren (ikerib) - Iker Ibarguren (ikerib)
- Kirill chEbba Chebunin (chebba) - Kirill chEbba Chebunin (chebba)
- Anthony GRASSIOT (antograssiot)
- Greg Thornton (xdissent) - Greg Thornton (xdissent)
- Martin Hujer (martinhujer) - Martin Hujer (martinhujer)
- Alex Bowers - Alex Bowers
@ -492,6 +495,7 @@ Symfony is the result of the work of many people who made the code better
- lancergr - lancergr
- Mihai Stancu - Mihai Stancu
- Ivan Nikolaev (destillat) - Ivan Nikolaev (destillat)
- Gildas Quéméner (gquemener)
- Olivier Dolbeau (odolbeau) - Olivier Dolbeau (odolbeau)
- Jan Rosier (rosier) - Jan Rosier (rosier)
- Alessandro Lai (jean85) - Alessandro Lai (jean85)
@ -507,10 +511,8 @@ Symfony is the result of the work of many people who made the code better
- Sylvain Fabre (sylfabre) - Sylvain Fabre (sylfabre)
- Martijn Cuppens - Martijn Cuppens
- Vlad Gregurco (vgregurco) - Vlad Gregurco (vgregurco)
- Maciej Malarz (malarzm)
- Boris Vujicic (boris.vujicic) - Boris Vujicic (boris.vujicic)
- Chris Sedlmayr (catchamonkey) - Chris Sedlmayr (catchamonkey)
- Dmytro Borysovskyi (dmytr0)
- Kamil Kokot (pamil) - Kamil Kokot (pamil)
- Seb Koelen - Seb Koelen
- Christoph Mewes (xrstf) - Christoph Mewes (xrstf)
@ -522,6 +524,7 @@ Symfony is the result of the work of many people who made the code better
- Jonas Flodén (flojon) - Jonas Flodén (flojon)
- Tobias Weichart - Tobias Weichart
- Gonzalo Vilaseca (gonzalovilaseca) - Gonzalo Vilaseca (gonzalovilaseca)
- Tarmo Leppänen (tarlepp)
- Marcin Sikoń (marphi) - Marcin Sikoń (marphi)
- Tien Vo (tienvx) - Tien Vo (tienvx)
- Denis Brumann (dbrumann) - Denis Brumann (dbrumann)
@ -534,6 +537,7 @@ Symfony is the result of the work of many people who made the code better
- Gintautas Miselis - Gintautas Miselis
- Rob Bast - Rob Bast
- Roberto Espinoza (respinoza) - Roberto Espinoza (respinoza)
- Soufian EZ-ZANTAR (soezz)
- Zander Baldwin - Zander Baldwin
- Gocha Ossinkine (ossinkine) - Gocha Ossinkine (ossinkine)
- Adam Harvey - Adam Harvey
@ -592,6 +596,7 @@ Symfony is the result of the work of many people who made the code better
- Andrew Udvare (audvare) - Andrew Udvare (audvare)
- alexpods - alexpods
- Saif Eddin G - Saif Eddin G
- Johann Pardanaud
- Adam Szaraniec (mimol) - Adam Szaraniec (mimol)
- Dariusz Ruminski - Dariusz Ruminski
- Erik Trapman (eriktrapman) - Erik Trapman (eriktrapman)
@ -672,10 +677,10 @@ Symfony is the result of the work of many people who made the code better
- Sebastian Blum - Sebastian Blum
- Alexis Lefebvre - Alexis Lefebvre
- aubx - aubx
- Julien Turby
- Marvin Butkereit - Marvin Butkereit
- Renan - Renan
- Ricky Su (ricky) - Ricky Su (ricky)
- Gildas Quéméner (gquemener)
- Kyle Evans (kevans91) - Kyle Evans (kevans91)
- Charles-Henri Bruyand - Charles-Henri Bruyand
- Max Rath (drak3) - Max Rath (drak3)
@ -717,8 +722,10 @@ Symfony is the result of the work of many people who made the code better
- zenmate - zenmate
- Michal Trojanowski - Michal Trojanowski
- David Fuhr - David Fuhr
- Mathias STRASSER (roukmoute)
- Max Grigorian (maxakawizard) - Max Grigorian (maxakawizard)
- DerManoMann - DerManoMann
- Timo Bakx (timobakx)
- Rostyslav Kinash - Rostyslav Kinash
- Dennis Fridrich (dfridrich) - Dennis Fridrich (dfridrich)
- Mardari Dorel (dorumd) - Mardari Dorel (dorumd)
@ -798,6 +805,7 @@ Symfony is the result of the work of many people who made the code better
- Raphaëll Roussel - Raphaëll Roussel
- Michael Lutz - Michael Lutz
- jochenvdv - jochenvdv
- Reedy
- Arturas Smorgun (asarturas) - Arturas Smorgun (asarturas)
- Alexander Volochnev (exelenz) - Alexander Volochnev (exelenz)
- Michael Piecko - Michael Piecko
@ -816,12 +824,10 @@ Symfony is the result of the work of many people who made the code better
- Sebastian Grodzicki (sgrodzicki) - Sebastian Grodzicki (sgrodzicki)
- Jeroen van den Enden (stoefke) - Jeroen van den Enden (stoefke)
- Pascal Helfenstein - Pascal Helfenstein
- Anthony GRASSIOT (antograssiot)
- Baldur Rensch (brensch) - Baldur Rensch (brensch)
- Pierre Rineau - Pierre Rineau
- Vladyslav Petrovych - Vladyslav Petrovych
- Alex Xandra Albert Sim - Alex Xandra Albert Sim
- Soufian EZ-ZANTAR (soezz)
- Carson Full - Carson Full
- Sergey Yastrebov - Sergey Yastrebov
- Trent Steel (trsteel88) - Trent Steel (trsteel88)
@ -861,7 +867,6 @@ Symfony is the result of the work of many people who made the code better
- Andrew Hilobok (hilobok) - Andrew Hilobok (hilobok)
- Noah Heck (myesain) - Noah Heck (myesain)
- Christian Soronellas (theunic) - Christian Soronellas (theunic)
- Johann Pardanaud
- fedor.f - fedor.f
- Yosmany Garcia (yosmanyga) - Yosmany Garcia (yosmanyga)
- Wouter de Wild - Wouter de Wild
@ -943,6 +948,7 @@ Symfony is the result of the work of many people who made the code better
- Fabien LUCAS (flucas2) - Fabien LUCAS (flucas2)
- Omar Yepez (oyepez003) - Omar Yepez (oyepez003)
- mwsaz - mwsaz
- bogdan
- Jelle Kapitein - Jelle Kapitein
- Benoît Bourgeois - Benoît Bourgeois
- mantulo - mantulo
@ -1009,7 +1015,6 @@ Symfony is the result of the work of many people who made the code better
- LOUARDI Abdeltif (ouardisoft) - LOUARDI Abdeltif (ouardisoft)
- Robert Gruendler (pulse00) - Robert Gruendler (pulse00)
- Simon Terrien (sterrien) - Simon Terrien (sterrien)
- Tarmo Leppänen (tarlepp)
- Benoît Merlet (trompette) - Benoît Merlet (trompette)
- Koen Kuipers - Koen Kuipers
- datibbaw - datibbaw
@ -1047,7 +1052,6 @@ Symfony is the result of the work of many people who made the code better
- neghmurken - neghmurken
- xaav - xaav
- Mahmoud Mostafa (mahmoud) - Mahmoud Mostafa (mahmoud)
- Julien Turby
- Ahmed Abdou - Ahmed Abdou
- Daniel Iwaniec - Daniel Iwaniec
- Pieter - Pieter
@ -1137,7 +1141,6 @@ Symfony is the result of the work of many people who made the code better
- Mert Simsek (mrtsmsk0) - Mert Simsek (mrtsmsk0)
- Lin Clark - Lin Clark
- Jeremy David (jeremy.david) - Jeremy David (jeremy.david)
- Timo Bakx (timobakx)
- Jordi Rejas - Jordi Rejas
- Troy McCabe - Troy McCabe
- Ville Mattila - Ville Mattila
@ -1153,7 +1156,9 @@ Symfony is the result of the work of many people who made the code better
- nacho - nacho
- Piotr Antosik (antek88) - Piotr Antosik (antek88)
- Artem Lopata - Artem Lopata
- Vedran Mihočinec (v-m-i)
- Sergey Novikov (s12v) - Sergey Novikov (s12v)
- creiner
- Marcos Quesada (marcos_quesada) - Marcos Quesada (marcos_quesada)
- Matthew Vickery (mattvick) - Matthew Vickery (mattvick)
- MARYNICH Mikhail (mmarynich-ext) - MARYNICH Mikhail (mmarynich-ext)
@ -1198,6 +1203,7 @@ Symfony is the result of the work of many people who made the code better
- Alex Demchenko (pilot) - Alex Demchenko (pilot)
- Tadas Gliaubicas (tadcka) - Tadas Gliaubicas (tadcka)
- Thanos Polymeneas (thanos) - Thanos Polymeneas (thanos)
- Atthaphon Urairat
- Benoit Garret - Benoit Garret
- Maximilian Ruta (deltachaos) - Maximilian Ruta (deltachaos)
- Jakub Sacha - Jakub Sacha
@ -1221,13 +1227,13 @@ Symfony is the result of the work of many people who made the code better
- James Hudson - James Hudson
- Stephen Clouse - Stephen Clouse
- e-ivanov - e-ivanov
- Michał (bambucha15)
- Einenlum - Einenlum
- Jochen Bayer (jocl) - Jochen Bayer (jocl)
- Patrick Carlo-Hickman - Patrick Carlo-Hickman
- Bruno MATEU - Bruno MATEU
- Jeremy Bush - Jeremy Bush
- wizhippo - wizhippo
- Mathias STRASSER (roukmoute)
- Thomason, James - Thomason, James
- Gordienko Vladislav - Gordienko Vladislav
- marie - marie
@ -1328,6 +1334,7 @@ Symfony is the result of the work of many people who made the code better
- Jelte Steijaert (jelte) - Jelte Steijaert (jelte)
- David Négrier (moufmouf) - David Négrier (moufmouf)
- Quique Porta (quiqueporta) - Quique Porta (quiqueporta)
- mohammadreza honarkhah
- stoccc - stoccc
- Andrea Quintino (dirk39) - Andrea Quintino (dirk39)
- Tomasz Szymczyk (karion) - Tomasz Szymczyk (karion)
@ -1338,6 +1345,7 @@ Symfony is the result of the work of many people who made the code better
- ConneXNL - ConneXNL
- Aharon Perkel - Aharon Perkel
- matze - matze
- Justin Reherman (jreherman)
- Rubén Calvo (rubencm) - Rubén Calvo (rubencm)
- Abdul.Mohsen B. A. A - Abdul.Mohsen B. A. A
- Swen van Zanten - Swen van Zanten
@ -1364,6 +1372,7 @@ Symfony is the result of the work of many people who made the code better
- Erika Heidi Reinaldo (erikaheidi) - Erika Heidi Reinaldo (erikaheidi)
- Pierre Tachoire (krichprollsch) - Pierre Tachoire (krichprollsch)
- Marc J. Schmidt (marcjs) - Marc J. Schmidt (marcjs)
- František Maša
- Sebastian Schwarz - Sebastian Schwarz
- Marco Jantke - Marco Jantke
- Saem Ghani - Saem Ghani
@ -1378,6 +1387,7 @@ Symfony is the result of the work of many people who made the code better
- Walter Dal Mut (wdalmut) - Walter Dal Mut (wdalmut)
- abluchet - abluchet
- Ruud Arentsen - Ruud Arentsen
- Harald Tollefsen
- Matthieu - Matthieu
- Albin Kerouaton - Albin Kerouaton
- Sébastien HOUZÉ - Sébastien HOUZÉ
@ -1388,6 +1398,7 @@ Symfony is the result of the work of many people who made the code better
- Cédric Lahouste (rapotor) - Cédric Lahouste (rapotor)
- Samuel Vogel (samuelvogel) - Samuel Vogel (samuelvogel)
- Alexey Kopytko (sanmai) - Alexey Kopytko (sanmai)
- Osayawe Ogbemudia Terry (terdia)
- Berat Doğan - Berat Doğan
- Guillaume LECERF - Guillaume LECERF
- Juanmi Rodriguez Cerón - Juanmi Rodriguez Cerón
@ -1447,6 +1458,7 @@ Symfony is the result of the work of many people who made the code better
- WedgeSama - WedgeSama
- Felds Liscia - Felds Liscia
- Chihiro Adachi (chihiro-adachi) - Chihiro Adachi (chihiro-adachi)
- Alex Bacart
- Raphaëll Roussel - Raphaëll Roussel
- Tadcka - Tadcka
- Beth Binkovitz - Beth Binkovitz
@ -1627,6 +1639,7 @@ Symfony is the result of the work of many people who made the code better
- Matthew Foster (mfoster) - Matthew Foster (mfoster)
- Reyo Stallenberg (reyostallenberg) - Reyo Stallenberg (reyostallenberg)
- Paul Seiffert (seiffert) - Paul Seiffert (seiffert)
- Simon Podlipsky (simpod)
- Vasily Khayrulin (sirian) - Vasily Khayrulin (sirian)
- Stefan Koopmanschap (skoop) - Stefan Koopmanschap (skoop)
- Stas Soroka (stasyan) - Stas Soroka (stasyan)
@ -1647,6 +1660,7 @@ Symfony is the result of the work of many people who made the code better
- Phil Davis - Phil Davis
- Gleb Sidora - Gleb Sidora
- David Stone - David Stone
- Gerhard Seidel (gseidel)
- Jovan Perovic (jperovic) - Jovan Perovic (jperovic)
- Pablo Maria Martelletti (pmartelletti) - Pablo Maria Martelletti (pmartelletti)
- Yassine Guedidi (yguedidi) - Yassine Guedidi (yguedidi)
@ -1681,6 +1695,7 @@ Symfony is the result of the work of many people who made the code better
- Vladimir Khramtsov (chrome) - Vladimir Khramtsov (chrome)
- Gerd Christian Kunze (derdu) - Gerd Christian Kunze (derdu)
- Christoph Nissle (derstoffel) - Christoph Nissle (derstoffel)
- Denys Voronin (hurricane)
- Ionel Scutelnicu (ionelscutelnicu) - Ionel Scutelnicu (ionelscutelnicu)
- Mathieu Dewet (mdewet) - Mathieu Dewet (mdewet)
- Nicolas Tallefourtané (nicolab) - Nicolas Tallefourtané (nicolab)
@ -1770,6 +1785,7 @@ Symfony is the result of the work of many people who made the code better
- Daan van Renterghem - Daan van Renterghem
- Nicole Cordes - Nicole Cordes
- Martin Kirilov - Martin Kirilov
- Bálint Szekeres
- amcastror - amcastror
- Alexander Li (aweelex) - Alexander Li (aweelex)
- Bram Van der Sype (brammm) - Bram Van der Sype (brammm)
@ -1785,6 +1801,7 @@ Symfony is the result of the work of many people who made the code better
- Dmitry Korotovsky - Dmitry Korotovsky
- mcorteel - mcorteel
- Michael van Tricht - Michael van Tricht
- Ivan
- ReScO - ReScO
- Tim Strehle - Tim Strehle
- Sam Ward - Sam Ward
@ -1857,6 +1874,7 @@ Symfony is the result of the work of many people who made the code better
- Adrian - Adrian
- Oleg Andreyev - Oleg Andreyev
- neFAST - neFAST
- zcodes
- Pierre Rineau - Pierre Rineau
- Florian Morello - Florian Morello
- Maxim Lovchikov - Maxim Lovchikov
@ -1911,6 +1929,7 @@ Symfony is the result of the work of many people who made the code better
- insidestyles - insidestyles
- Maerlyn - Maerlyn
- Even André Fiskvik - Even André Fiskvik
- Agata
- Александр Ли - Александр Ли
- Arjan Keeman - Arjan Keeman
- Erik van Wingerden - Erik van Wingerden
@ -1959,6 +1978,7 @@ Symfony is the result of the work of many people who made the code better
- Christophe BECKER (goabonga) - Christophe BECKER (goabonga)
- gondo (gondo) - gondo (gondo)
- Gusakov Nikita (hell0w0rd) - Gusakov Nikita (hell0w0rd)
- Yannick Ihmels (ihmels)
- Osman Üngür (import) - Osman Üngür (import)
- Javier Núñez Berrocoso (javiernuber) - Javier Núñez Berrocoso (javiernuber)
- Jelle Bekker (jbekker) - Jelle Bekker (jbekker)
@ -1978,6 +1998,7 @@ Symfony is the result of the work of many people who made the code better
- Cayetano Soriano Gallego (neoshadybeat) - Cayetano Soriano Gallego (neoshadybeat)
- Olivier Laviale (olvlvl) - Olivier Laviale (olvlvl)
- Ondrej Machulda (ondram) - Ondrej Machulda (ondram)
- Pierre Gasté (pierre_g)
- Pablo Monterde Perez (plebs) - Pablo Monterde Perez (plebs)
- Jimmy Leger (redpanda) - Jimmy Leger (redpanda)
- Marcin Szepczynski (szepczynski) - Marcin Szepczynski (szepczynski)
@ -2046,6 +2067,7 @@ Symfony is the result of the work of many people who made the code better
- Myke79 - Myke79
- Brian Debuire - Brian Debuire
- Benjamin Morel - Benjamin Morel
- Eric Grimois
- Piers Warmers - Piers Warmers
- Guilliam Xavier - Guilliam Xavier
- Sylvain Lorinet - Sylvain Lorinet
@ -2075,6 +2097,7 @@ Symfony is the result of the work of many people who made the code better
- Jörg Rühl - Jörg Rühl
- wesleyh - wesleyh
- sergey - sergey
- Menno Holtkamp
- Michael Hudson-Doyle - Michael Hudson-Doyle
- Daniel Bannert - Daniel Bannert
- Karim Miladi - Karim Miladi
@ -2111,6 +2134,7 @@ Symfony is the result of the work of many people who made the code better
- Daniel STANCU - Daniel STANCU
- Ryan Rud - Ryan Rud
- Ondrej Slinták - Ondrej Slinták
- Rimas Kudelis
- vlechemin - vlechemin
- Brian Corrigan - Brian Corrigan
- Ladislav Tánczos - Ladislav Tánczos
@ -2165,6 +2189,7 @@ Symfony is the result of the work of many people who made the code better
- Ilya Bulakh - Ilya Bulakh
- David Soria Parra - David Soria Parra
- Sergiy Sokolenko - Sergiy Sokolenko
- detinkin
- Ahmed Abdulrahman - Ahmed Abdulrahman
- dinitrol - dinitrol
- Penny Leach - Penny Leach
@ -2193,6 +2218,7 @@ Symfony is the result of the work of many people who made the code better
- phc - phc
- Дмитрий Пацура - Дмитрий Пацура
- ilyes kooli - ilyes kooli
- Ilia Lazarev
- Michaël VEROUX - Michaël VEROUX
- Julia - Julia
- Lin Lu - Lin Lu
@ -2312,6 +2338,7 @@ Symfony is the result of the work of many people who made the code better
- Alexander Menshchikov (zmey_kk) - Alexander Menshchikov (zmey_kk)
- Florent Cailhol - Florent Cailhol
- szymek - szymek
- Ryan Linnit
- Kovacs Nicolas - Kovacs Nicolas
- craigmarvelley - craigmarvelley
- Stano Turza - Stano Turza

View File

@ -122,7 +122,7 @@ EOT
private static function isExpired(string $date): bool private static function isExpired(string $date): bool
{ {
$date = \DateTime::createFromFormat('m/Y', $date); $date = \DateTime::createFromFormat('d/m/Y', '01/'.$date);
return false !== $date && new \DateTime() > $date->modify('last day of this month 23:59:59'); return false !== $date && new \DateTime() > $date->modify('last day of this month 23:59:59');
} }

View File

@ -40,6 +40,7 @@ abstract class KernelTestCase extends TestCase
private function doTearDown() private function doTearDown()
{ {
static::ensureKernelShutdown(); static::ensureKernelShutdown();
static::$kernel = null;
} }
/** /**

View File

@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator; use Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator;
/** /**
* Tests for {@see \Symfony\Component\DependencyInjection\Instantiator\RealServiceInstantiator}. * Tests for {@see \Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator}.
* *
* @author Marco Pivetta <ocramius@gmail.com> * @author Marco Pivetta <ocramius@gmail.com>
*/ */

View File

@ -16,7 +16,7 @@ use Symfony\Component\DependencyInjection\Definition;
use Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper; use Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper;
/** /**
* Tests for {@see \Symfony\Component\DependencyInjection\PhpDumper\NullDumper}. * Tests for {@see \Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper}.
* *
* @author Marco Pivetta <ocramius@gmail.com> * @author Marco Pivetta <ocramius@gmail.com>
*/ */

View File

@ -41,12 +41,12 @@ class MockFileSessionStorageTest extends TestCase
protected function tearDown(): void protected function tearDown(): void
{ {
$this->sessionDir = null; array_map('unlink', glob($this->sessionDir.'/*'));
$this->storage = null;
array_map('unlink', glob($this->sessionDir.'/*.session'));
if (is_dir($this->sessionDir)) { if (is_dir($this->sessionDir)) {
rmdir($this->sessionDir); rmdir($this->sessionDir);
} }
$this->sessionDir = null;
$this->storage = null;
} }
public function testStart() public function testStart()

View File

@ -83,8 +83,8 @@ class ConfigDataCollector extends DataCollector implements LateDataCollectorInte
$this->data['symfony_state'] = $this->determineSymfonyState(); $this->data['symfony_state'] = $this->determineSymfonyState();
$this->data['symfony_minor_version'] = sprintf('%s.%s', Kernel::MAJOR_VERSION, Kernel::MINOR_VERSION); $this->data['symfony_minor_version'] = sprintf('%s.%s', Kernel::MAJOR_VERSION, Kernel::MINOR_VERSION);
$eom = \DateTime::createFromFormat('m/Y', Kernel::END_OF_MAINTENANCE); $eom = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_MAINTENANCE);
$eol = \DateTime::createFromFormat('m/Y', Kernel::END_OF_LIFE); $eol = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_LIFE);
$this->data['symfony_eom'] = $eom->format('F Y'); $this->data['symfony_eom'] = $eom->format('F Y');
$this->data['symfony_eol'] = $eol->format('F Y'); $this->data['symfony_eol'] = $eol->format('F Y');
} }
@ -330,8 +330,8 @@ class ConfigDataCollector extends DataCollector implements LateDataCollectorInte
private function determineSymfonyState() private function determineSymfonyState()
{ {
$now = new \DateTime(); $now = new \DateTime();
$eom = \DateTime::createFromFormat('m/Y', Kernel::END_OF_MAINTENANCE)->modify('last day of this month'); $eom = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_MAINTENANCE)->modify('last day of this month');
$eol = \DateTime::createFromFormat('m/Y', Kernel::END_OF_LIFE)->modify('last day of this month'); $eol = \DateTime::createFromFormat('d/m/Y', '01/'.Kernel::END_OF_LIFE)->modify('last day of this month');
if ($now > $eol) { if ($now > $eol) {
$versionState = 'eol'; $versionState = 'eol';

View File

@ -154,7 +154,15 @@ class StopwatchEvent
*/ */
public function getStartTime() public function getStartTime()
{ {
return isset($this->periods[0]) ? $this->periods[0]->getStartTime() : 0; if (isset($this->periods[0])) {
return $this->periods[0]->getStartTime();
}
if ($this->started) {
return $this->started[0];
}
return 0;
} }
/** /**
@ -177,12 +185,10 @@ class StopwatchEvent
public function getDuration() public function getDuration()
{ {
$periods = $this->periods; $periods = $this->periods;
$stopped = \count($periods); $left = \count($this->started);
$left = \count($this->started) - $stopped;
for ($i = 0; $i < $left; ++$i) { for ($i = $left - 1; $i >= 0; --$i) {
$index = $stopped + $i; $periods[] = new StopwatchPeriod($this->started[$i], $this->getNow(), $this->morePrecision);
$periods[] = new StopwatchPeriod($this->started[$index], $this->getNow(), $this->morePrecision);
} }
$total = 0; $total = 0;

View File

@ -99,8 +99,25 @@ class StopwatchEventTest extends TestCase
$event->stop(); $event->stop();
usleep(50000); usleep(50000);
$event->start(); $event->start();
usleep(100000);
$this->assertEqualsWithDelta(100, $event->getDuration(), self::DELTA); $this->assertEqualsWithDelta(100, $event->getDuration(), self::DELTA);
usleep(100000);
$this->assertEqualsWithDelta(200, $event->getDuration(), self::DELTA);
}
public function testDurationWithMultipleStarts()
{
$event = new StopwatchEvent(microtime(true) * 1000);
$event->start();
usleep(100000);
$event->start();
usleep(100000);
$this->assertEqualsWithDelta(300, $event->getDuration(), self::DELTA);
$event->stop();
$this->assertEqualsWithDelta(300, $event->getDuration(), self::DELTA);
usleep(100000);
$this->assertEqualsWithDelta(400, $event->getDuration(), self::DELTA);
$event->stop();
$this->assertEqualsWithDelta(400, $event->getDuration(), self::DELTA);
} }
public function testStopWithoutStart() public function testStopWithoutStart()
@ -152,6 +169,27 @@ class StopwatchEventTest extends TestCase
$this->assertEqualsWithDelta(0, $event->getStartTime(), self::DELTA); $this->assertEqualsWithDelta(0, $event->getStartTime(), self::DELTA);
} }
public function testStartTimeWhenStartedLater()
{
$event = new StopwatchEvent(microtime(true) * 1000);
usleep(100000);
$this->assertLessThanOrEqual(0.5, $event->getStartTime());
$event = new StopwatchEvent(microtime(true) * 1000);
usleep(100000);
$event->start();
$event->stop();
$this->assertLessThanOrEqual(101, $event->getStartTime());
$event = new StopwatchEvent(microtime(true) * 1000);
usleep(100000);
$event->start();
usleep(100000);
$this->assertEqualsWithDelta(100, $event->getStartTime(), self::DELTA);
$event->stop();
$this->assertEqualsWithDelta(100, $event->getStartTime(), self::DELTA);
}
public function testHumanRepresentation() public function testHumanRepresentation()
{ {
$event = new StopwatchEvent(microtime(true) * 1000); $event = new StopwatchEvent(microtime(true) * 1000);

View File

@ -278,6 +278,18 @@
<source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source> <source>This value should not be identical to {{ compared_value_type }} {{ compared_value }}.</source>
<target>Väärtus ei tohiks olla identne väärtusega {{ compared_value_type }} {{ compared_value }}.</target> <target>Väärtus ei tohiks olla identne väärtusega {{ compared_value_type }} {{ compared_value }}.</target>
</trans-unit> </trans-unit>
<trans-unit id="73">
<source>The image ratio is too big ({{ ratio }}). Allowed maximum ratio is {{ max_ratio }}.</source>
<target>Kuvasuhe on liiga suur ({{ ratio }}). Lubatud maksimaalne suhe on {{ max_ratio }}.</target>
</trans-unit>
<trans-unit id="74">
<source>The image ratio is too small ({{ ratio }}). Minimum ratio expected is {{ min_ratio }}.</source>
<target>Kuvasuhe on liiga väike ({{ ratio }}). Oodatav minimaalne suhe on {{ min_ratio }}.</target>
</trans-unit>
<trans-unit id="75">
<source>The image is square ({{ width }}x{{ height }}px). Square images are not allowed.</source>
<target>Pilt on ruudukujuline ({{ width }}x{{ height }}px). Ruudukujulised pildid pole lubatud.</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>

View File

@ -362,6 +362,10 @@
<source>This password has been leaked in a data breach, it must not be used. Please use another password.</source> <source>This password has been leaked in a data breach, it must not be used. Please use another password.</source>
<target>Questa password è trapelata durante una compromissione di dati, non deve essere usata. Si prega di usare una password diversa.</target> <target>Questa password è trapelata durante una compromissione di dati, non deve essere usata. Si prega di usare una password diversa.</target>
</trans-unit> </trans-unit>
<trans-unit id="94">
<source>This value should be between {{ min }} and {{ max }}.</source>
<target>Questo valore dovrebbe essere compreso tra {{ min }} e {{ max }}.</target>
</trans-unit>
</body> </body>
</file> </file>
</xliff> </xliff>