Merge branch '2.8' into 3.2

* 2.8:
  [FrameworkBundle] Do not remove files from assets dir
  bumped Symfony version to 2.8.24
  updated VERSION for 2.8.23
  updated CHANGELOG for 2.8.23
  bumped Symfony version to 2.7.31
  updated VERSION for 2.7.30
  update CONTRIBUTORS for 2.7.30
  updated CHANGELOG for 2.7.30
This commit is contained in:
Fabien Potencier 2017-07-05 09:33:08 +03:00
commit 285a6ac36d
2 changed files with 43 additions and 28 deletions

View File

@ -20,11 +20,11 @@ Symfony is the result of the work of many people who made the code better
- Javier Eguiluz (javier.eguiluz) - Javier Eguiluz (javier.eguiluz)
- Hugo Hamon (hhamon) - Hugo Hamon (hhamon)
- Abdellatif Ait boudad (aitboudad) - Abdellatif Ait boudad (aitboudad)
- Maxime Steinhausser (ogizanagi)
- Robin Chalas (chalas_r)
- Romain Neutron (romain) - Romain Neutron (romain)
- Pascal Borreli (pborreli) - Pascal Borreli (pborreli)
- Wouter De Jong (wouterj) - Wouter De Jong (wouterj)
- Robin Chalas (chalas_r)
- Maxime Steinhausser (ogizanagi)
- Grégoire Pineau (lyrixx) - Grégoire Pineau (lyrixx)
- Joseph Bielawski (stloyd) - Joseph Bielawski (stloyd)
- Karma Dordrak (drak) - Karma Dordrak (drak)
@ -38,8 +38,8 @@ Symfony is the result of the work of many people who made the code better
- Jules Pietri (heah) - Jules Pietri (heah)
- Roland Franssen (ro0) - Roland Franssen (ro0)
- Sarah Khalil (saro0h) - Sarah Khalil (saro0h)
- Jonathan Wage (jwage)
- Guilhem Niot (energetick) - Guilhem Niot (energetick)
- Jonathan Wage (jwage)
- Diego Saint Esteben (dosten) - Diego Saint Esteben (dosten)
- Alexandre Salomé (alexandresalome) - Alexandre Salomé (alexandresalome)
- William Durand (couac) - William Durand (couac)
@ -48,24 +48,24 @@ Symfony is the result of the work of many people who made the code better
- stealth35 (stealth35) - stealth35 (stealth35)
- Alexander Mols (asm89) - Alexander Mols (asm89)
- Bulat Shakirzyanov (avalanche123) - Bulat Shakirzyanov (avalanche123)
- Peter Rehm (rpet)
- Iltar van der Berg (kjarli) - Iltar van der Berg (kjarli)
- Peter Rehm (rpet)
- Saša Stamenković (umpirsky) - Saša Stamenković (umpirsky)
- Henrik Bjørnskov (henrikbjorn) - Henrik Bjørnskov (henrikbjorn)
- Miha Vrhovnik - Miha Vrhovnik
- Diego Saint Esteben (dii3g0) - Diego Saint Esteben (dii3g0)
- Konstantin Kudryashov (everzet) - Konstantin Kudryashov (everzet)
- Matthias Pigulla (mpdude)
- Bilal Amarni (bamarni) - Bilal Amarni (bamarni)
- Florin Patan (florinpatan) - Florin Patan (florinpatan)
- Matthias Pigulla (mpdude) - Gábor Egyed (1ed)
- Kevin Bond (kbond) - Kevin Bond (kbond)
- Andrej Hudec (pulzarraider) - Andrej Hudec (pulzarraider)
- Gábor Egyed (1ed) - Pierre du Plessis (pierredup)
- Michel Weimerskirch (mweimerskirch) - Michel Weimerskirch (mweimerskirch)
- Eric Clemmons (ericclemmons) - Eric Clemmons (ericclemmons)
- Charles Sarrazin (csarrazi) - Charles Sarrazin (csarrazi)
- Christian Raue - Christian Raue
- Pierre du Plessis (pierredup)
- Arnout Boks (aboks) - Arnout Boks (aboks)
- Deni - Deni
- Henrik Westphal (snc) - Henrik Westphal (snc)
@ -83,25 +83,27 @@ Symfony is the result of the work of many people who made the code better
- Toni Uebernickel (havvg) - Toni Uebernickel (havvg)
- Bart van den Burg (burgov) - Bart van den Burg (burgov)
- Jordan Alliot (jalliot) - Jordan Alliot (jalliot)
- Jérôme Tamarelle (gromnan)
- John Wards (johnwards) - John Wards (johnwards)
- Dariusz Ruminski - Dariusz Ruminski
- Fran Moreno (franmomu) - Fran Moreno (franmomu)
- Antoine Hérault (herzult) - Antoine Hérault (herzult)
- Jérôme Tamarelle (gromnan)
- Paráda József (paradajozsef) - Paráda József (paradajozsef)
- Arnaud Le Blanc (arnaud-lb) - Arnaud Le Blanc (arnaud-lb)
- Maxime STEINHAUSSER - Maxime STEINHAUSSER
- Alexander M. Turek (derrabus)
- Michal Piotrowski (eventhorizon) - Michal Piotrowski (eventhorizon)
- Issei Murasawa (issei_m) - Issei Murasawa (issei_m)
- Tim Nagel (merk) - Tim Nagel (merk)
- Brice BERNARD (brikou) - Brice BERNARD (brikou)
- Alexander M. Turek (derrabus)
- Baptiste Clavié (talus) - Baptiste Clavié (talus)
- Vladimir Reznichenko (kalessil)
- marc.weistroff - marc.weistroff
- lenar - lenar
- Włodzimierz Gajda (gajdaw) - Włodzimierz Gajda (gajdaw)
- Vladimir Reznichenko (kalessil) - Yonel Ceruto González (yonelceruto)
- Alexander Schwenn (xelaris) - Alexander Schwenn (xelaris)
- Jacob Dreesen (jdreesen)
- Florian Voutzinos (florianv) - Florian Voutzinos (florianv)
- Colin Frei - Colin Frei
- Adrien Brault (adrienbrault) - Adrien Brault (adrienbrault)
@ -109,10 +111,8 @@ Symfony is the result of the work of many people who made the code better
- Peter Kokot (maastermedia) - Peter Kokot (maastermedia)
- David Buchmann (dbu) - David Buchmann (dbu)
- excelwebzone - excelwebzone
- Jacob Dreesen (jdreesen)
- Tobias Nyholm (tobias) - Tobias Nyholm (tobias)
- Tomáš Votruba (tomas_votruba) - Tomáš Votruba (tomas_votruba)
- Yonel Ceruto González (yonelceruto)
- Fabien Pennequin (fabienpennequin) - Fabien Pennequin (fabienpennequin)
- Gordon Franke (gimler) - Gordon Franke (gimler)
- Eric GELOEN (gelo) - Eric GELOEN (gelo)
@ -124,13 +124,13 @@ Symfony is the result of the work of many people who made the code better
- Sebastiaan Stok (sstok) - Sebastiaan Stok (sstok)
- Stefano Sala (stefano.sala) - Stefano Sala (stefano.sala)
- Evgeniy (ewgraf) - Evgeniy (ewgraf)
- Vincent AUBERT (vincent)
- Juti Noppornpitak (shiroyuki) - Juti Noppornpitak (shiroyuki)
- Tigran Azatyan (tigranazatyan) - Tigran Azatyan (tigranazatyan)
- Sebastian Hörl (blogsh) - Sebastian Hörl (blogsh)
- Daniel Gomes (danielcsgomes) - Daniel Gomes (danielcsgomes)
- Hidenori Goto (hidenorigoto) - Hidenori Goto (hidenorigoto)
- Guilherme Blanco (guilhermeblanco) - Guilherme Blanco (guilhermeblanco)
- Vincent AUBERT (vincent)
- Pablo Godel (pgodel) - Pablo Godel (pgodel)
- Jérémie Augustin (jaugustin) - Jérémie Augustin (jaugustin)
- Andréia Bohner (andreia) - Andréia Bohner (andreia)
@ -147,6 +147,7 @@ Symfony is the result of the work of many people who made the code better
- Thomas Rabaix (rande) - Thomas Rabaix (rande)
- Rouven Weßling (realityking) - Rouven Weßling (realityking)
- Teoh Han Hui (teohhanhui) - Teoh Han Hui (teohhanhui)
- David Maicher (dmaicher)
- Jérôme Vasseur (jvasseur) - Jérôme Vasseur (jvasseur)
- Clemens Tolboom - Clemens Tolboom
- Helmer Aaviksoo - Helmer Aaviksoo
@ -154,16 +155,16 @@ Symfony is the result of the work of many people who made the code better
- Hiromi Hishida (77web) - Hiromi Hishida (77web)
- Matthieu Ouellette-Vachon (maoueh) - Matthieu Ouellette-Vachon (maoueh)
- Michał Pipa (michal.pipa) - Michał Pipa (michal.pipa)
- Dawid Nowak
- Amal Raghav (kertz) - Amal Raghav (kertz)
- Jonathan Ingram (jonathaningram) - Jonathan Ingram (jonathaningram)
- Artur Kotyrba - Artur Kotyrba
- David Maicher (dmaicher)
- jeremyFreeAgent (Jérémy Romey) (jeremyfreeagent) - jeremyFreeAgent (Jérémy Romey) (jeremyfreeagent)
- James Halsall (jaitsu) - James Halsall (jaitsu)
- Warnar Boekkooi (boekkooi) - Warnar Boekkooi (boekkooi)
- Dmitrii Chekaliuk (lazyhammer) - Dmitrii Chekaliuk (lazyhammer)
- Clément JOBEILI (dator) - Clément JOBEILI (dator)
- Dawid Nowak - Lars Strojny (lstrojny)
- Possum - Possum
- Dorian Villet (gnutix) - Dorian Villet (gnutix)
- Richard Miller (mr_r_miller) - Richard Miller (mr_r_miller)
@ -176,12 +177,12 @@ Symfony is the result of the work of many people who made the code better
- Chris Wilkinson (thewilkybarkid) - Chris Wilkinson (thewilkybarkid)
- Andreas Hucks (meandmymonkey) - Andreas Hucks (meandmymonkey)
- Noel Guilbert (noel) - Noel Guilbert (noel)
- Lars Strojny (lstrojny)
- Stepan Anchugov (kix) - Stepan Anchugov (kix)
- bronze1man - bronze1man
- Daniel Espendiller - Daniel Espendiller
- sun (sun) - sun (sun)
- Larry Garfield (crell) - Larry Garfield (crell)
- Oleg Voronkovich
- Martin Schuhfuß (usefulthink) - Martin Schuhfuß (usefulthink)
- apetitpa - apetitpa
- Matthieu Bontemps (mbontemps) - Matthieu Bontemps (mbontemps)
@ -244,7 +245,6 @@ Symfony is the result of the work of many people who made the code better
- Uwe Jäger (uwej711) - Uwe Jäger (uwej711)
- Eugene Leonovich (rybakit) - Eugene Leonovich (rybakit)
- Filippo Tessarotto - Filippo Tessarotto
- Oleg Voronkovich
- Joseph Rouff (rouffj) - Joseph Rouff (rouffj)
- Félix Labrecque (woodspire) - Félix Labrecque (woodspire)
- GordonsLondon - GordonsLondon
@ -296,6 +296,7 @@ Symfony is the result of the work of many people who made the code better
- Victor Bocharsky (bocharsky_bw) - Victor Bocharsky (bocharsky_bw)
- Jan Decavele (jandc) - Jan Decavele (jandc)
- Gustavo Piltcher - Gustavo Piltcher
- Nikolay Labinskiy (e-moe)
- Stepan Tanasiychuk (stfalcon) - Stepan Tanasiychuk (stfalcon)
- Tiago Ribeiro (fixe) - Tiago Ribeiro (fixe)
- Hidde Boomsma (hboomsma) - Hidde Boomsma (hboomsma)
@ -361,7 +362,6 @@ Symfony is the result of the work of many people who made the code better
- Endre Fejes - Endre Fejes
- Tobias Naumann (tna) - Tobias Naumann (tna)
- Daniel Beyer - Daniel Beyer
- Nikolay Labinskiy (e-moe)
- Shein Alexey - Shein Alexey
- Romain Gautier (mykiwi) - Romain Gautier (mykiwi)
- Joe Lencioni - Joe Lencioni
@ -611,6 +611,7 @@ Symfony is the result of the work of many people who made the code better
- Kevin (oxfouzer) - Kevin (oxfouzer)
- Paweł Wacławczyk (pwc) - Paweł Wacławczyk (pwc)
- Oleg Zinchenko (cystbear) - Oleg Zinchenko (cystbear)
- Baptiste Meyer (meyerbaptiste)
- Johannes Klauss (cloppy) - Johannes Klauss (cloppy)
- Evan Villemez - Evan Villemez
- fzerorubigd - fzerorubigd
@ -673,6 +674,7 @@ Symfony is the result of the work of many people who made the code better
- Benoit Lévêque (benoit_leveque) - Benoit Lévêque (benoit_leveque)
- Jeroen Fiege (fieg) - Jeroen Fiege (fieg)
- Krzysiek Łabuś - Krzysiek Łabuś
- George Mponos (gmponos)
- Xavier Lacot (xavier) - Xavier Lacot (xavier)
- possum - possum
- Denis Zunke (donalberto) - Denis Zunke (donalberto)
@ -736,6 +738,7 @@ Symfony is the result of the work of many people who made the code better
- Omar Yepez (oyepez003) - Omar Yepez (oyepez003)
- mwsaz - mwsaz
- Jelle Kapitein - Jelle Kapitein
- Ben Scott
- Benoît Bourgeois - Benoît Bourgeois
- mantulo - mantulo
- corphi - corphi
@ -817,6 +820,7 @@ Symfony is the result of the work of many people who made the code better
- ttomor - ttomor
- Mei Gwilym (meigwilym) - Mei Gwilym (meigwilym)
- Michael H. Arieli (excelwebzone) - Michael H. Arieli (excelwebzone)
- Tom Panier (neemzy)
- Fred Cox - Fred Cox
- Luciano Mammino (loige) - Luciano Mammino (loige)
- fabios - fabios
@ -852,6 +856,7 @@ Symfony is the result of the work of many people who made the code better
- Máximo Cuadros (mcuadros) - Máximo Cuadros (mcuadros)
- tamirvs - tamirvs
- julien.galenski - julien.galenski
- Israel J. Carberry
- Bob van de Vijver - Bob van de Vijver
- Christian Neff - Christian Neff
- Per Sandström (per) - Per Sandström (per)
@ -890,7 +895,6 @@ Symfony is the result of the work of many people who made the code better
- Eddie Jaoude - Eddie Jaoude
- Antanas Arvasevicius - Antanas Arvasevicius
- Haritz Iturbe (hizai) - Haritz Iturbe (hizai)
- Baptiste Meyer (meyerbaptiste)
- Nerijus Arlauskas (nercury) - Nerijus Arlauskas (nercury)
- SPolischook - SPolischook
- Diego Sapriza - Diego Sapriza
@ -912,8 +916,10 @@ Symfony is the result of the work of many people who made the code better
- Marcin Chwedziak - Marcin Chwedziak
- hjkl - hjkl
- Tony Cosentino (tony-co) - Tony Cosentino (tony-co)
- Dan Wilga
- Alexander Cheprasov - Alexander Cheprasov
- Rodrigo Díez Villamuera (rodrigodiez) - Rodrigo Díez Villamuera (rodrigodiez)
- Malte Blättermann
- e-ivanov - e-ivanov
- Jochen Bayer (jocl) - Jochen Bayer (jocl)
- Jeremy Bush - Jeremy Bush
@ -925,12 +931,14 @@ Symfony is the result of the work of many people who made the code better
- Péter Buri (burci) - Péter Buri (burci)
- Davide Borsatto (davide.borsatto) - Davide Borsatto (davide.borsatto)
- kaiwa - kaiwa
- RJ Garcia
- Charles Sanquer (csanquer) - Charles Sanquer (csanquer)
- Albert Ganiev (helios-ag) - Albert Ganiev (helios-ag)
- Neil Katin - Neil Katin
- David Otton - David Otton
- Will Donohoe - Will Donohoe
- peter - peter
- Jaroslav Kuba
- flip111 - flip111
- Jérémy Jourdin (jjk801) - Jérémy Jourdin (jjk801)
- BRAMILLE Sébastien (oktapodia) - BRAMILLE Sébastien (oktapodia)
@ -938,6 +946,7 @@ Symfony is the result of the work of many people who made the code better
- Gustavo Adrian - Gustavo Adrian
- Yannick - Yannick
- spdionis - spdionis
- rchoquet
- Taras Girnyk - Taras Girnyk
- Eduardo García Sanz (coma) - Eduardo García Sanz (coma)
- James Gilliland - James Gilliland
@ -967,6 +976,7 @@ Symfony is the result of the work of many people who made the code better
- Paul Matthews - Paul Matthews
- Juan Traverso - Juan Traverso
- Tarjei Huse (tarjei) - Tarjei Huse (tarjei)
- tsufeki
- Philipp Strube - Philipp Strube
- Christian Sciberras - Christian Sciberras
- Clement Herreman (clemherreman) - Clement Herreman (clemherreman)
@ -1057,6 +1067,7 @@ Symfony is the result of the work of many people who made the code better
- m.chwedziak - m.chwedziak
- Philip Frank - Philip Frank
- Lance McNearney - Lance McNearney
- Gonzalo Vilaseca (gonzalovilaseca)
- Giorgio Premi - Giorgio Premi
- Ian Carroll - Ian Carroll
- caponica - caponica
@ -1067,7 +1078,6 @@ Symfony is the result of the work of many people who made the code better
- adev - adev
- Luis Galeas - Luis Galeas
- Martin Pärtel - Martin Pärtel
- George Mponos (gmponos)
- Patrick Daley (padrig) - Patrick Daley (padrig)
- Xavier Briand (xavierbriand) - Xavier Briand (xavierbriand)
- Max Summe - Max Summe
@ -1148,6 +1158,7 @@ Symfony is the result of the work of many people who made the code better
- Hoffmann András - Hoffmann András
- Olivier - Olivier
- pscheit - pscheit
- Wybren Koelmans
- Zdeněk Drahoš - Zdeněk Drahoš
- Dan Harper - Dan Harper
- moldcraft - moldcraft
@ -1235,6 +1246,7 @@ Symfony is the result of the work of many people who made the code better
- Fabien LUCAS (flucas2) - Fabien LUCAS (flucas2)
- Indra Gunawan (indragunawan) - Indra Gunawan (indragunawan)
- Karim Cassam Chenaï (ka) - Karim Cassam Chenaï (ka)
- Michal Kurzeja (mkurzeja)
- Nicolas Bastien (nicolas_bastien) - Nicolas Bastien (nicolas_bastien)
- Denis (yethee) - Denis (yethee)
- Andrew Zhilin (zhil) - Andrew Zhilin (zhil)
@ -1253,9 +1265,11 @@ Symfony is the result of the work of many people who made the code better
- Warwick - Warwick
- VJ - VJ
- Chris - Chris
- Florent Olivaud
- JakeFr - JakeFr
- Simon Sargeant - Simon Sargeant
- efeen - efeen
- Nicolas Pion
- Muhammed Akbulut - Muhammed Akbulut
- Michał Dąbrowski (defrag) - Michał Dąbrowski (defrag)
- Simone Fumagalli (hpatoio) - Simone Fumagalli (hpatoio)
@ -1272,6 +1286,7 @@ Symfony is the result of the work of many people who made the code better
- Grinbergs Reinis (shima5) - Grinbergs Reinis (shima5)
- Artem Lopata (bumz) - Artem Lopata (bumz)
- Nicole Cordes - Nicole Cordes
- VolCh
- Alexey Popkov - Alexey Popkov
- Gijs Kunze - Gijs Kunze
- Artyom Protaskin - Artyom Protaskin
@ -1377,6 +1392,7 @@ Symfony is the result of the work of many people who made the code better
- Dane Powell - Dane Powell
- Gerrit Drost - Gerrit Drost
- Linnaea Von Lavia - Linnaea Von Lavia
- Javan Eskander
- Lenar Lõhmus - Lenar Lõhmus
- Cristian Gonzalez - Cristian Gonzalez
- AlberT - AlberT
@ -1425,7 +1441,6 @@ Symfony is the result of the work of many people who made the code better
- Yanick Witschi - Yanick Witschi
- Ondrej Mirtes - Ondrej Mirtes
- akimsko - akimsko
- Ben Scott
- Youpie - Youpie
- srsbiz - srsbiz
- Taylan Kasap - Taylan Kasap
@ -1558,6 +1573,7 @@ Symfony is the result of the work of many people who made the code better
- Dawid Nowak - Dawid Nowak
- Lesnykh Ilia - Lesnykh Ilia
- Karolis Daužickas - Karolis Daužickas
- Nicolas
- Sergio Santoro - Sergio Santoro
- tirnanog06 - tirnanog06
- phc - phc
@ -1691,6 +1707,7 @@ Symfony is the result of the work of many people who made the code better
- Adam Elsodaney (archfizz) - Adam Elsodaney (archfizz)
- Daniel Kolvik (dkvk) - Daniel Kolvik (dkvk)
- Marc Lemay (flug) - Marc Lemay (flug)
- Henne Van Och (hennevo)
- Jeroen De Dauw (jeroendedauw) - Jeroen De Dauw (jeroendedauw)
- Maxime COLIN (maximecolin) - Maxime COLIN (maximecolin)
- Muharrem Demirci (mdemirci) - Muharrem Demirci (mdemirci)

View File

@ -117,7 +117,9 @@ EOT
continue; continue;
} }
$targetDir = $bundlesDir.preg_replace('/bundle$/', '', strtolower($bundle->getName())); $assetDir = preg_replace('/bundle$/', '', strtolower($bundle->getName()));
$targetDir = $bundlesDir.$assetDir;
$validAssetDirs[] = $assetDir;
if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { if (OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) {
$message = sprintf("%s\n-> %s", $bundle->getName(), $targetDir); $message = sprintf("%s\n-> %s", $bundle->getName(), $targetDir);
@ -149,14 +151,10 @@ EOT
$exitCode = 1; $exitCode = 1;
$rows[] = array(sprintf('<fg=red;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'ERROR' : "\xE2\x9C\x98" /* HEAVY BALLOT X (U+2718) */), $message, $e->getMessage()); $rows[] = array(sprintf('<fg=red;options=bold>%s</>', '\\' === DIRECTORY_SEPARATOR ? 'ERROR' : "\xE2\x9C\x98" /* HEAVY BALLOT X (U+2718) */), $message, $e->getMessage());
} }
$validAssetDirs[] = $targetDir;
} }
// remove the assets of the bundles that no longer exist // remove the assets of the bundles that no longer exist
foreach (new \FilesystemIterator($bundlesDir) as $dir) { $dirsToRemove = Finder::create()->depth(0)->directories()->exclude($validAssetDirs)->in($bundlesDir);
if (!in_array($dir, $validAssetDirs)) { $this->filesystem->remove($dirsToRemove);
$this->filesystem->remove($dir);
}
}
$io->table(array('', 'Bundle', 'Method / Error'), $rows); $io->table(array('', 'Bundle', 'Method / Error'), $rows);