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

View File

@ -117,7 +117,9 @@ EOT
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()) {
$message = sprintf("%s\n-> %s", $bundle->getName(), $targetDir);
@ -149,14 +151,10 @@ EOT
$exitCode = 1;
$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
foreach (new \FilesystemIterator($bundlesDir) as $dir) {
if (!in_array($dir, $validAssetDirs)) {
$this->filesystem->remove($dir);
}
}
$dirsToRemove = Finder::create()->depth(0)->directories()->exclude($validAssetDirs)->in($bundlesDir);
$this->filesystem->remove($dirsToRemove);
$io->table(array('', 'Bundle', 'Method / Error'), $rows);