Merge branch '3.2'

* 3.2:
  [appveyor] Run the test suite on PHP 7.1
  [appveyor][3.x] Run the test suite on PHP 7.1
  [EventDispatcher] fix merge of #22541 from 2.8
  bumped Symfony version to 3.2.9
  updated VERSION for 3.2.8
  updated CHANGELOG for 3.2.8
  bumped Symfony version to 2.8.21
  updated VERSION for 2.8.20
  updated CHANGELOG for 2.8.20
  bumped Symfony version to 2.7.28
  updated VERSION for 2.7.27
  update CONTRIBUTORS for 2.7.27
  updated CHANGELOG for 2.7.27
This commit is contained in:
Nicolas Grekas 2017-05-04 14:23:07 +02:00
commit eeafabbf15
4 changed files with 78 additions and 50 deletions

View File

@ -7,6 +7,35 @@ in 3.2 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.2.0...v3.2.1
* 3.2.8 (2017-05-01)
* bug #22550 Allow Upper Case property names in ObjectNormalizer (insekticid)
* bug #22528 [Asset] Starting slash should indicate no basePath wanted (weaverryan)
* bug #22568 [EventDispatcher] fix getting priorities of listeners during dispatch (dmaicher)
* bug #22541 [EventDispatcher] fix: unwrap listeners for correct info (dmaicher)
* bug #22526 [Asset] Preventing the base path or absolute URL from being prefixed incorrectly (weaverryan)
* bug #22523 [WebProfilerBundle] Fixed the flickering when loading complex profiler panels (javiereguiluz)
* bug #21958 [Console] Fix bar width with multilines ProgressBar's format (maidmaid)
* bug #22435 [Console] Fix dispatching throwables from ConsoleEvents::COMMAND (nicolas-grekas)
* bug #22478 [Serializer] XmlEncoder: fix negative int and large numbers handling (dunglas)
* bug #22424 [Debug] Set exit status to 255 on error (nicolas-grekas)
* bug #22426 [PropertyInfo] Prevent returning int values in some cases (dunglas)
* bug #22401 Prevent double registrations related to tag priorities (nicolas-grekas)
* bug #22399 Prevent double registrations related to tag priorities (nicolas-grekas)
* bug #22396 Prevent double registrations related to tag priorities (nicolas-grekas)
* bug #22374 [Cache] Remove exception false-positive from FilesystemAdapterTrait (nicolas-grekas)
* bug #22377 [Console] Allow terminal dimensions to be set to 0 (unbounded) (duncan3dc)
* bug #22352 [HttpFoundation] Add `use_strict_mode` in validOptions for session (sstok)
* bug #22351 [Yaml] don't keep internal state between parser runs (xabbuh)
* bug #22304 Moved $this->setDate() before the deprecation handling. (mpdonadio)
* bug #22307 [Debug] Fix php notice (enumag)
* bug #22311 [DI] Fix second auto-registration (nicolas-grekas)
* bug #22109 [Validator] check for empty host when calling checkdnsrr() (apetitpa)
* bug #22280 [DI] Fix the xml schema (GuilhemN)
* bug #22282 [DI] Prevent AutowirePass from triggering irrelevant deprecations (chalasr)
* bug #22255 [Translation] avoid creating cache files for fallback locales. (aitboudad)
* bug #22292 Fixes #22264 - add support for Chrome headless (redthor)
* 3.2.7 (2017-04-05)
* bug #22285 [HttpKernel] Fix forward compat with Request::setTrustedProxies() (nicolas-grekas)

View File

@ -26,9 +26,9 @@ Symfony is the result of the work of many people who made the code better
- Grégoire Pineau (lyrixx)
- Joseph Bielawski (stloyd)
- Karma Dordrak (drak)
- Robin Chalas (chalas_r)
- Lukas Kahwe Smith (lsmith)
- Martin Hasoň (hason)
- Robin Chalas (chalas_r)
- Maxime Steinhausser (ogizanagi)
- Jeremy Mikola (jmikola)
- Jean-François Simon (jfsimon)
@ -37,10 +37,10 @@ Symfony is the result of the work of many people who made the code better
- Eriksen Costa (eriksencosta)
- Jules Pietri (heah)
- Sarah Khalil (saro0h)
- Roland Franssen (ro0)
- Jonathan Wage (jwage)
- Guilhem Niot (energetick)
- Diego Saint Esteben (dosten)
- Roland Franssen (ro0)
- Alexandre Salomé (alexandresalome)
- William Durand (couac)
- ornicar
@ -73,10 +73,10 @@ Symfony is the result of the work of many people who made the code better
- Titouan Galopin (tgalopin)
- Douglas Greenshields (shieldo)
- Konstantin Myakshin (koc)
- Jáchym Toušek (enumag)
- Lee McDermott
- Brandon Turner
- Luis Cordova (cordoval)
- Jáchym Toušek (enumag)
- Graham Campbell (graham)
- Daniel Holmes (dholmes)
- Toni Uebernickel (havvg)
@ -84,12 +84,12 @@ Symfony is the result of the work of many people who made the code better
- Jordan Alliot (jalliot)
- Jérémy DERUSSÉ (jderusse)
- John Wards (johnwards)
- Dariusz Ruminski
- Fran Moreno (franmomu)
- Antoine Hérault (herzult)
- Paráda József (paradajozsef)
- Dariusz Ruminski
- Arnaud Le Blanc (arnaud-lb)
- Jérôme Tamarelle (gromnan)
- Paráda József (paradajozsef)
- Arnaud Le Blanc (arnaud-lb)
- Maxime STEINHAUSSER
- Michal Piotrowski (eventhorizon)
- Tim Nagel (merk)
@ -120,6 +120,7 @@ Symfony is the result of the work of many people who made the code better
- Théo FIDRY (theofidry)
- Robert Schönthal (digitalkaoz)
- Florian Lonqueu-Brochard (florianlb)
- Sebastiaan Stok (sstok)
- Stefano Sala (stefano.sala)
- Yonel Ceruto González (yonelceruto)
- Evgeniy (ewgraf)
@ -128,7 +129,6 @@ Symfony is the result of the work of many people who made the code better
- Sebastian Hörl (blogsh)
- Daniel Gomes (danielcsgomes)
- Hidenori Goto (hidenorigoto)
- Sebastiaan Stok (sstok)
- Guilherme Blanco (guilhermeblanco)
- Pablo Godel (pgodel)
- Jérémie Augustin (jaugustin)
@ -146,6 +146,7 @@ Symfony is the result of the work of many people who made the code better
- Vincent AUBERT (vincent)
- Rouven Weßling (realityking)
- Teoh Han Hui (teohhanhui)
- Jérôme Vasseur (jvasseur)
- Clemens Tolboom
- Helmer Aaviksoo
- Grégoire Paris (greg0ire)
@ -179,8 +180,11 @@ Symfony is the result of the work of many people who made the code better
- Daniel Espendiller
- sun (sun)
- Larry Garfield (crell)
- Julien Falque (julienfalque)
- Martin Schuhfuß (usefulthink)
- apetitpa
- Matthieu Bontemps (mbontemps)
- apetitpa
- Pierre Minnieur (pminnieur)
- fivestar
- Dominique Bongiraud
@ -202,7 +206,6 @@ Symfony is the result of the work of many people who made the code better
- SpacePossum
- Eugene Wissner
- Julien Brochet (mewt)
- Julien Falque (julienfalque)
- Tristan Darricau (nicofuma)
- Grégoire Paris (greg0ire)
- Sergey Linnik (linniksa)
@ -222,7 +225,7 @@ Symfony is the result of the work of many people who made the code better
- Elnur Abdurrakhimov (elnur)
- Manuel Reinhard (sprain)
- Danny Berger (dpb587)
- Jérôme Vasseur
- Ruben Gonzalez (rubenrua)
- Adam Prager (padam87)
- Roman Marintšenko (inori)
- Xavier Montaña Carreras (xmontana)
@ -231,6 +234,7 @@ Symfony is the result of the work of many people who made the code better
- Arjen Brouwer (arjenjb)
- Katsuhiro OGAWA
- Patrick McDougle (patrick-mcdougle)
- Dany Maillard (maidmaid)
- Alif Rachmawadi
- Kristen Gilden (kgilden)
- Pierre-Yves LEBECQ (pylebecq)
@ -268,7 +272,9 @@ Symfony is the result of the work of many people who made the code better
- Michael Holm (hollo)
- Marc Weistroff (futurecat)
- Christian Schmidt
- Marek Štípek (maryo)
- Hidde Wieringa (hiddewie)
- Jordan Samouh (jordansamouh)
- Chris Smith (cs278)
- Florian Klein (docteurklein)
- Oleg Voronkovich
@ -282,6 +288,7 @@ Symfony is the result of the work of many people who made the code better
- Andrey Esaulov (andremaha)
- Grégoire Passault (gregwar)
- Ismael Ambrosi (iambrosi)
- gadelat (gadelat)
- Baptiste Lafontaine
- Aurelijus Valeiša (aurelijus)
- Victor Bocharsky (bocharsky_bw)
@ -325,7 +332,8 @@ Symfony is the result of the work of many people who made the code better
- Yaroslav Kiliba
- Terje Bråten
- Robbert Klarenbeek (robbertkl)
- Marek Štípek (maryo)
- Thomas Calvet (fancyweb)
- Niels Keurentjes (curry684)
- Alessandro Chitolina
- JhonnyL
- hossein zolfi (ocean)
@ -343,14 +351,15 @@ Symfony is the result of the work of many people who made the code better
- Vyacheslav Salakhutdinov (megazoll)
- Jerzy Zawadzki (jzawadzki)
- Hassan Amouhzi
- gadelat (gadelat)
- Tamas Szijarto
- Pavel Volokitin (pvolok)
- François Pluchino (francoispluchino)
- Arthur de Moulins (4rthem)
- Nicolas Dewez (nicolas_dewez)
- Endre Fejes
- Tobias Naumann (tna)
- Daniel Beyer
- Nikolay Labinskiy (e-moe)
- Shein Alexey
- Romain Gautier (mykiwi)
- Joe Lencioni
@ -400,10 +409,10 @@ Symfony is the result of the work of many people who made the code better
- Andreas Braun
- Chris Sedlmayr (catchamonkey)
- Seb Koelen
- Dany Maillard (maidmaid)
- Christoph Mewes (xrstf)
- Vitaliy Tverdokhlib (vitaliytv)
- Ariel Ferrandini (aferrandini)
- Samuel ROZE (sroze)
- Dirk Pahl (dirkaholic)
- cedric lombardot (cedriclombardot)
- Jonas Flodén (flojon)
@ -417,7 +426,6 @@ Symfony is the result of the work of many people who made the code better
- Gintautas Miselis
- Rob Bast
- David Badura (davidbadura)
- Jordan Samouh (jordansamouh)
- Zander Baldwin
- Adam Harvey
- Alex Bakhturin
@ -426,7 +434,6 @@ Symfony is the result of the work of many people who made the code better
- Fabrice Bernhard (fabriceb)
- Jérôme Macias (jeromemacias)
- Andrey Astakhov (aast)
- Thomas Calvet
- Fabian Lange (codingfabian)
- Frank Neff (fneff)
- Roman Lapin (memphys)
@ -462,13 +469,12 @@ Symfony is the result of the work of many people who made the code better
- Jakub Škvára (jskvara)
- Andrew Udvare (audvare)
- alexpods
- Nikolay Labinskiy (e-moe)
- Arjen van der Meijden
- Michele Locati
- Dariusz Ruminski
- Alex Rock Ancelet (pierstoval)
- Erik Trapman (eriktrapman)
- De Cock Xavier (xdecock)
- Arthur de Moulins (4rthem)
- Almog Baku (almogbaku)
- Scott Arciszewski
- Norbert Orzechowicz (norzechowicz)
@ -582,7 +588,6 @@ Symfony is the result of the work of many people who made the code better
- Ulumuddin Yunus (joenoez)
- Luc Vieillescazes (iamluc)
- Johann Saunier (prophet777)
- Samuel ROZE (sroze)
- Michael Devery (mickadoo)
- Antoine Corcy
- Artur Eshenbrener
@ -696,6 +701,7 @@ Symfony is the result of the work of many people who made the code better
- Pierre Vanliefland (pvanliefland)
- Sofiane HADDAG (sofhad)
- frost-nzcr4
- Sanpi
- Abhoryo
- Fabian Vogler (fabian)
- Korvin Szanto
@ -752,6 +758,7 @@ Symfony is the result of the work of many people who made the code better
- Martijn Evers
- Jacques Moati
- Balazs Csaba (balazscsaba2006)
- Douglas Reith (douglas_reith)
- Harry Walter (haswalt)
- Johnson Page (jwpage)
- Michael Roterman (wtfzdotnet)
@ -765,7 +772,6 @@ Symfony is the result of the work of many people who made the code better
- Gábor Tóth
- Daniel Cestari
- David Lima
- Jérôme Vasseur
- Brunet Laurent (lbrunet)
- Mikhail Yurasov (mym)
- LOUARDI Abdeltif (ouardisoft)
@ -820,6 +826,7 @@ Symfony is the result of the work of many people who made the code better
- Danilo Silva
- Zachary Tong (polyfractal)
- Hryhorii Hrebiniuk
- Thomas Perez (scullwm)
- Dennis Fridrich (dfridrich)
- hamza
- dantleech
@ -934,6 +941,7 @@ Symfony is the result of the work of many people who made the code better
- Klaus Purer
- Gilles Doge (gido)
- abulford
- Philipp Kretzschmar
- antograssiot
- Brooks Boyd
- Roger Webb
@ -1040,6 +1048,7 @@ Symfony is the result of the work of many people who made the code better
- Kim Laï Trinh
- Jason Desrosiers
- m.chwedziak
- insekticid
- Philip Frank
- Lance McNearney
- Giorgio Premi
@ -1062,6 +1071,7 @@ Symfony is the result of the work of many people who made the code better
- Tadcka
- Beth Binkovitz
- Gonzalo Míguez
- Pierre Rineau
- Romain Geissler
- Adrien Moiruad
- Tomaz Ahlin
@ -1085,6 +1095,7 @@ Symfony is the result of the work of many people who made the code better
- Martin Eckhardt
- Pieter Jordaan
- Damien Tournoud
- Craig Duncan (duncan3dc)
- Jon Gotlin (jongotlin)
- Michael Dowling (mtdowling)
- Karlos Presumido (oneko)
@ -1185,12 +1196,12 @@ Symfony is the result of the work of many people who made the code better
- Michal Gebauer
- Gleb Sidora
- David Stone
- Niels Keurentjes (curry684)
- Jovan Perovic (jperovic)
- Pablo Maria Martelletti (pmartelletti)
- Yassine Guedidi (yguedidi)
- Waqas Ahmed
- Luis Muñoz
- Matthew Donadio
- Andreas
- Thomas Chmielowiec
- Andrey Ryaguzov
@ -1247,7 +1258,6 @@ Symfony is the result of the work of many people who made the code better
- Jordi Llonch (jordillonch)
- Cédric Dugat (ph3nol)
- Philip Dahlstrøm (phidah)
- Alex Rock Ancelet (pierstoval)
- Milos Colakovic (project2481)
- Rénald Casagraude (rcasagraude)
- Robin Duval (robin-duval)
@ -1390,6 +1400,7 @@ Symfony is the result of the work of many people who made the code better
- Joeri Verdeyen (jverdeyen)
- Kevin Herrera (kherge)
- Luis Ramón López López (lrlopez)
- Bart Reunes (metalarend)
- Muriel (metalmumu)
- Michael Pohlers (mick_the_big)
- mlpo (mlpo)
@ -1531,6 +1542,7 @@ Symfony is the result of the work of many people who made the code better
- Oncle Tom
- Christian Stocker
- Dawid Nowak
- Lesnykh Ilia
- Karolis Daužickas
- Sergio Santoro
- tirnanog06
@ -1595,6 +1607,7 @@ Symfony is the result of the work of many people who made the code better
- Florent Viel (luxifer)
- Matthieu Moquet (mattketmo)
- Moritz Borgmann (mborgmann)
- Michal Čihař (mcihar)
- Matt Drollette (mdrollette)
- Adam Monsen (meonkeys)
- Ala Eddine Khefifi (nayzo)
@ -1647,6 +1660,7 @@ Symfony is the result of the work of many people who made the code better
- smokeybear87
- Gustavo Adrian
- Kevin Weber
- Ben Scott
- Dionysis Arvanitis
- Sergey Fedotov
- Michael

View File

@ -11,23 +11,23 @@ init:
- SET COMPOSER_NO_INTERACTION=1
- SET SYMFONY_DEPRECATIONS_HELPER=strict
- SET ANSICON=121x90 (121x90)
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
- SET SYMFONY_PHPUNIT_VERSION=4.8
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f
install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://raw.githubusercontent.com/symfony/binary-utils/master/cacert.pem
- appveyor DownloadFile http://windows.php.net/downloads/releases/archives/php-5.5.9-nts-Win32-VC11-x86.zip
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-5.5.9-nts-Win32-VC11-x86.zip
- 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul
- del /Q *.zip
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x64.zip
- cd ext
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/apcu/4.0.10/php_apcu-4.0.10-5.5-nts-vc11-x86.zip
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-4.0.10-5.5-nts-vc11-x86.zip
- 7z x php_apcu-4.0.10-5.5-nts-vc11-x86.zip -y >nul
- appveyor DownloadFile http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.5-nts-vc11-x86.zip
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_memcache-3.0.8-5.5-nts-vc11-x86.zip
- 7z x php_memcache-3.0.8-5.5-nts-vc11-x86.zip -y >nul
- del /Q *.zip
- cd ..
- copy /Y php.ini-development php.ini-min
- echo serialize_precision=14 >> php.ini-min
- echo max_execution_time=1200 >> php.ini-min
- echo date.timezone="America/Los_Angeles" >> php.ini-min
- echo extension_dir=ext >> php.ini-min
@ -55,9 +55,13 @@ install:
- php phpunit install
test_script:
- cd c:\projects\symfony
- SET X=0
- copy /Y c:\php\php.ini-min c:\php\php.ini
- cd c:\php && 7z x php-7.1.3-Win32-VC14-x64.zip -y >nul && copy /Y php.ini-min php.ini
- cd c:\projects\symfony
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
- cd c:\php && 7z x php-5.5.9-nts-Win32-VC11-x86.zip -y >nul && copy /Y php.ini-min php.ini
- cd c:\projects\symfony
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
- copy /Y c:\php\php.ini-max c:\php\php.ini
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!

View File

@ -13,7 +13,6 @@ namespace Symfony\Component\EventDispatcher\Tests\Debug;
use PHPUnit\Framework\TestCase;
use Symfony\Component\EventDispatcher\Debug\TraceableEventDispatcher;
use Symfony\Component\EventDispatcher\Debug\WrappedListener;
use Symfony\Component\EventDispatcher\EventDispatcherInterface;
use Symfony\Component\EventDispatcher\EventSubscriberInterface;
use Symfony\Component\EventDispatcher\EventDispatcher;
@ -105,20 +104,10 @@ class TraceableEventDispatcherTest extends TestCase
$this->assertCount(0, $dispatcher->getListeners('foo'));
}
/**
* @dataProvider isWrappedDataProvider
*
* @param bool $isWrapped
*/
public function testGetCalledListeners($isWrapped)
public function testGetCalledListeners()
{
$dispatcher = new EventDispatcher();
$stopWatch = new Stopwatch();
$tdispatcher = new TraceableEventDispatcher($dispatcher, $stopWatch);
$listener = function () {};
$tdispatcher->addListener('foo', $listener, 5);
$tdispatcher = new TraceableEventDispatcher(new EventDispatcher(), new Stopwatch());
$tdispatcher->addListener('foo', function () {}, 5);
$listeners = $tdispatcher->getNotCalledListeners();
$this->assertArrayHasKey('stub', $listeners['foo.closure']);
@ -135,14 +124,6 @@ class TraceableEventDispatcherTest extends TestCase
$this->assertEquals(array(), $tdispatcher->getNotCalledListeners());
}
public function isWrappedDataProvider()
{
return array(
array(false),
array(true),
);
}
public function testGetCalledListenersNested()
{
$tdispatcher = null;