8000 Merge branch '2.8' · symfony/symfony@967c0e4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 967c0e4

Browse files
committed
Merge branch '2.8'
* 2.8: (23 commits) [Validator] added BIC (SWIFT-BIC) validation constraint [TwigBridge] Foundation form layout integration [Security] Deprecated supportsAttribute and supportsClass methods bumped Symfony version to 2.7.6 updated VERSION for 2.7.5 updated CHANGELOG for 2.7.5 bumped Symfony version to 2.3.34 updated VERSION for 2.3.33 update CONTRIBUTORS for 2.3.33 updated CHANGELOG for 2.3.33 [Console] Fix transient HHVM test [OptionsResolver] Fix catched exception along the dependency tree mistakenly detects cyclic dependencies fixed tests [DI] Support deprecated definitions in decorators [DI] Allow to change the deprecation message in Definition [DI] Trigger a deprecated error on the container builder [DI] Dump the deprecated status [DI] Supports the deprecated tag in loaders [DI] Add a deprecated status to definitions Fixing test locations ...
2 parents a5c65c1 + 825490a commit 967c0e4

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+1123
-35
lines changed

CONTRIBUTORS.md

Lines changed: 34 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -11,28 +11,28 @@ Symfony is the result of the work of many people who made the code better
1111
- Victor Berchet (victor)
1212
- Jordi Boggiano (seldaek)
1313
- Johannes S (johannes)
14-
- Kris Wallsmith (kriswallsmith)
1514
- Christophe Coevoet (stof)
15+
- Kris Wallsmith (kriswallsmith)
1616
- Jakub Zalas (jakubzalas)
1717
- Christian Flothmann (xabbuh)
18+
- Ryan Weaver (weaverryan)
1819
- Pascal Borreli (pborreli)
1920
- Hugo Hamon (hhamon)
2021
- Joseph Bielawski (stloyd)
2122
- Karma Dordrak (drak)
22-
- Ryan Weaver (weaverryan)
2323
- Lukas Kahwe Smith (lsmith)
2424
- Romain Neutron (romain)
25+
- Abdellatif Ait boudad (aitboudad)
2526
- Jeremy Mikola (jmikola)
2627
- Jean-François Simon (jfsimon)
2728
- Benjamin Eberlei (beberlei)
2829
- Igor Wiedler (igorw)
29-
- Abdellatif Ait boudad (aitboudad)
3030
- Martin Hasoň (hason)
3131
- Eriksen Costa (eriksencosta)
3232
- Grégoire Pineau (lyrixx)
3333
- Wouter De Jong (wouterj)
34-
- Jonathan Wage (jwage)
3534
- Javier Eguiluz (javier.eguiluz)
35+
- Jonathan Wage (jwage)
3636
- Kévin Dunglas (dunglas)
3737
- Alexandre Salomé (alexandresalome)
3838
- William Durand (couac)
@@ -71,20 +71,20 @@ Symfony is the result of the work of many people who made the code better
7171
- Toni Uebernickel (havvg)
7272
- Gábor Egyed (1ed)
7373
- Arnaud Le Blanc (arnaud-lb)
74-
- Tim Nagel (merk)
7574
- Maxime Steinhausser (ogizanagi)
75+
- Tim Nagel (merk)
7676
- Brice BERNARD (brikou)
7777
- marc.weistroff
7878
- lenar
7979
- Graham Campbell (graham)
8080
- Włodzimierz Gajda (gajdaw)
8181
- Jérôme Tamarelle (gromnan)
8282
- Florian Voutzinos (florianv)
83+
- Matthias Pigulla (mpdude)
8384
- Colin Frei
8485
- Adrien Brault (adrienbrault)
8586
- excelwebzone
8687
- Jacob Dreesen (jdreesen)
87-
- Matthias Pigulla (mpdude)
8888
- Fabien Pennequin (fabienpennequin)
8989
- Peter Rehm (rpet)
9090
- Peter Kokot (maastermedia)
@@ -95,23 +95,23 @@ Symfony is the result of the work of many people who made the code better
9595
- Michal Piotrowski (eventhorizon)
9696
- Stefano Sala (stefano.sala)
9797
- David Buchmann (dbu)
98+
- Alexander Schwenn (xelaris)
9899
- Juti Noppornpitak (shiroyuki)
100+
- Eric GELOEN (gelo)
99101
- Sebastian Hörl (blogsh)
100102
- Daniel Gomes (danielcsgomes)
101103
- Hidenori Goto (hidenorigoto)
102-
- Alexander Schwenn (xelaris)
103104
- Guilherme Blanco (guilhermeblanco)
105+
- Iltar van der Berg (kjarli)
104106
- Pablo Godel (pgodel)
105-
- Eric GELOEN (gelo)
106107
- Vladimir Reznichenko (kalessil)
107108
- Jérémie Augustin (jaugustin)
109+
- Sebastiaan Stok (sstok)
108110
- Issei Murasawa (issei_m)
109111
- Rafael Dohms (rdohms)
110112
- Arnaud Kleinpeter (nanocom)
111-
- Iltar van der Berg (kjarli)
112113 F42D
- Joshua Thijssen
113114
- Tigran Azatyan (tigranazatyan)
114-
- Sebastiaan Stok (sstok)
115115
- Richard Shank (iampersistent)
116116
- Clemens Tolboom
117117
- Helmer Aaviksoo
@@ -195,6 +195,7 @@ Symfony is the result of the work of many people who made the code better
195195
- Sébastien Lavoie (lavoiesl)
196196
- Beau Simensen (simensen)
197197
- Robert Kiss (kepten)
198+
- Konstantin Myakshin (koc)
198199
- Ruben Gonzalez (rubenrua)
199200
- Kim Hemsø Rasmussen (kimhemsoe)
200201
- Diego Saint Esteben (dosten)
@@ -244,7 +245,6 @@ Symfony is the result of the work of many people who made the code better
244245
- Vitaliy Zakharov (zakharovvi)
245246
- Tobias Sjösten (tobiassjosten)
246247
- Gyula Sallai (salla)
247-
- Konstantin Myakshin (koc)
248248
- Inal DJAFAR (inalgnu)
249249
- Christian Gärtner (dagardner)
250250
- Tomasz Kowalczyk (thunderer)
@@ -253,6 +253,7 @@ Symfony is the result of the work of many people who made the code better
253253
- Yaroslav Kiliba
254254
- Stepan Anchugov (kix)
255255
- Terje Bråten
256+
- Evgeniy (ewgraf)
256257
- Robbert Klarenbeek (robbertkl)
257258
- Blanchon Vincent (blanchonvincent)
258259
- Dawid Nowak
@@ -268,6 +269,7 @@ Symfony is the result of the work of many people who made the code better
268269
- Costin Bereveanu (schniper)
269270
- Loïc Chardonnet (gnusat)
270271
- Marek Kalnik (marekkalnik)
272+
- Tobias Nyholm (tobias)
271273
- Vyacheslav Salakhutdinov (megazoll)
272274
- Hassan Amouhzi
273275
- Tamas Szijarto
@@ -278,6 +280,7 @@ Symfony is the result of the work of many people who made the code better
278280
- Ismael Ambrosi (iambrosi)
279281
- Shein Alexey
280282
- Joe Lencioni
283+
- Daniel Tschinder
281284
- Kai
282285
- Lee Rowlands
283286
- Maximilian Reichel (phramz)
@@ -303,11 +306,14 @@ Symfony is the result of the work of many people who made the code better
303306
- Michel Salib (michelsalib)
304307
- geoffrey
305308 F438
- Jeanmonod David (jeanmonod)
309+
- Berny Cantos (xphere81)
306310
- Thomas Lallement (raziel057)
311+
- Michael Lee (zerustech)
307312
- Jan Schumann
308313
- Niklas Fiekas
309314
- lancergr
310315
- Antonio J. García Lagar (ajgarlag)
316+
- Pierre du Plessis (pierredup)
311317
- Olivier Dolbeau (odolbeau)
312318
- Roumen Damianoff (roumen)
313319
- vagrant
@@ -362,7 +368,6 @@ Symfony is the result of the work of many people who made the code better
362368
- De Cock Xavier (xdecock)
363369
- Scott Arciszewski
364370
- Norbert Orzechowicz (norzechowicz)
365-
- Tobias Nyholm (tobias)
366371
- Matthijs van den Bos (matthijs)
367372
- Loick Piera (pyrech)
368373
- Lenard Palko
@@ -378,7 +383,6 @@ Symfony is the result of the work of many people who made the code better
378383
- Titouan Galopin (tgalopin)
379384
- Steven Surowiec
380385
- Kevin Saliou (kbsali)
381-
- Daniel Tschinder
382386
- Ryan
383387
- Alexander Deruwe (aderuwe)
384388
- Dave Hulbert (dave1010)
@@ -409,11 +413,11 @@ Symfony is the result of the work of many people who made the code better
409413
- Max Rath (drak3)
410414
- Stéphane Escandell (sescandell)
411415
- Sinan Eldem
416+
- Gennady Telegin (gtelegin)
412417
- Alexandre Dupuy (satchette)
413418
- Nahuel Cuesta (ncuesta)
414419
- Chris Boden (cboden)
415420
- Asmir Mustafic (goetas)
416-
- Pierre du Plessis (pierredup)
417421
- Josip Kruslin
418422
- Hany el-Kerdany
419423
- Wang Jingyu
@@ -523,7 +527,6 @@ Symfony is the result of the work of many people who made the code better
523527
- Christopher Hall (mythmakr)
524528
- Paul Kamer (pkamer)
525529
- Rafał Wrzeszcz (rafalwrzeszcz)
526-
- Berny Cantos (xphere81)
527530
- Reen Lokum
528531
- Martin Parsiegla (spea)
529532
- Possum
@@ -542,17 +545,20 @@ Symfony is the result of the work of many people who made the code better
542545
- DQNEO
543546
- Emanuele Iannone
544547
- Tony Malzhacker
548+
- DUPUCH (bdupuch)
545549
- Cyril Quintin (cyqui)
546550
- Gerard van Helden (drm)
547551
- Johnny Peck (johnnypeck)
548552
- David Romaní
549553
- Patrick Allaert
550554
- Gustavo Falco (gfalco)
551555
- Matt Robinson (inanimatt)
556+
- Tristan Darricau (nicofuma)
552557
- Aleksey Podskrebyshev
553558
- David Marín Carreño (davefx)
554559
- Jörn Lang (j.lang)
555560
- Leo Feyer
561+
- John Bafford (jbafford)
556562
- mwsaz
557563
- Benoît Bourgeois
558564
- corphi
@@ -580,6 +586,7 @@ Symfony is the result of the work of many people who made the code better
580586
- Balazs Csaba (balazscsaba2006)
581587
- Harry Walter (haswalt)
582588
- Johnson Page (jwpage)
589+
- Tomáš Votruba (tomas_votruba)
583590
- Michael Roterman (wtfzdotnet)
584591
- Arno Geurts
585592
- Adán Lobato (adanlobato)
@@ -617,7 +624,6 @@ Symfony is the result of the work of many people who made the code better
617624
- Michael Tibben
618625
- Sander Marechal
619626
- Radosław Benkel
620-
- Gennady Telegin (gtelegin)
621627
- ttomor
622628
- Mei Gwilym (meigwilym)
623629
- Michael H. Arieli (excelwebzone)
@@ -719,7 +725,6 @@ Symfony is the result of the work of many people who made the code better
719725
- Yannick
720726
- Eduardo García Sanz (coma)
721727
- James Gilliland
722-
- Michael Lee (zerustech)
723728
- Roy Van Ginneken
724729
- David de Boer (ddeboer)
725730
- Gilles Doge (gido)
@@ -743,6 +748,7 @@ Symfony is the result of the work of many people who made the code better
743748
- Juan Traverso
744749
- Philipp Strube
745750
- Christian Sciberras
751+
- Anton Bakai
746752
- Clement Herreman (clemherreman)
747753
- Nyro (nyro)
748754
- Trent Steel (trsteel88)
@@ -819,7 +825,6 @@ Symfony is the result of the work of many people who made the code better
819825
- Tom Corrigan (tomcorrigan)
820826
- Martin Pärtel
821827
- Miroslav Sustek
822-
- Evgeniy (ewgraf)
823828
- Patrick Daley (padrig)
824829
- Xavier Briand (xavierbriand)
825830
- Max Summe
@@ -840,6 +845,7 @@ Symfony is the result of the work of many people who made the code better
840845
- Jay Severson
841846
- René Kerner
842847
- Nathaniel Catchpole
848+
- Jose Gonzalez
843849
- Adrien Samson (adriensamson)
844850
- Samuel Gordalina (gordalina)
845851
- Max Romanovsky (maxromanovsky)
@@ -862,6 +868,7 @@ Symfony is the result of the work of many people who made the code better
862868
- Thomas Chmielowiec (chmielot)
863869
- Jānis Lukss
864870
- rkerner
871+
- Rob Bast
865872
- Matthew J Mucklo
866873
- fdgdfg (psampaz)
867874
- Stéphane Seng
@@ -971,16 +978,18 @@ Symfony is the result of the work of many people who made the code better
971978
- avi123
972979
- alsar
973980
- Mike Meier
981+
- Kirill Saksin
974982
- michalmarcinkowski
975983
- Warwick
976984
- Chris
985+
- JakeFr
977986
- efeen
978987
- Michał Dąbrowski (defrag)
988+
- Nathanael Noblet (gnat)
979989
- Simone Fumagalli (hpatoio)
980990
- Brian Graham (incognito)
981991
- Kevin Vergauwen (innocenzo)
982992
- Alessio Baglio (ioalessio)
983-
- John Bafford (jbafford)
984993
- Jordi Llonch (jordillonch)
985994
- Cédric Dugat (ph3nol)
986995
- Philip Dahlstrøm (phidah)
@@ -1047,6 +1056,7 @@ Symfony is the result of the work of many people who made the code better
10471056
- Florian Pfitzer (marmelatze)
10481057
- Martin Mayer (martin)
10491058
- Grzegorz Łukaszewicz (newicz)
1059+
- Omar Yepez (oyepez003)
10501060
- Veres Lajos
10511061
- grifx
10521062
- Robert Campbell
@@ -1063,6 +1073,7 @@ Symfony is the result of the work of many people who made the code better
10631073
- Haritz
10641074
- Matthieu Prat
10651075
- Grummfy
1076+
- Thomas Landauer
10661077
- Filipe Guerra
10671078
- Gerben Wijnja
10681079
- Rowan Manning
@@ -1078,6 +1089,7 @@ Symfony is the result of the work of many people who made the code better
10781089
- Gerrit Drost
10791090
- Lenar Lõhmus
10801091
- Cristian Gonzalez
1092+
- AlberT
10811093
- Juan M Martínez
10821094
- Gilles Gauthier
10831095
- ddebree
@@ -1136,7 +1148,6 @@ Symfony is the result of the work of many people who made the code better
11361148
- Ismail Asci (ismailasci)
11371149
- Simon CONSTANS (kosssi)
11381150
- Kristof Van Cauwenbergh (kristofvc)
1139-
- Tristan Darricau (nicofuma)
11401151
- Ramon Henrique Ornelas (ramonornela)
11411152
- Markus S. (staabm)
11421153
- Till Klampaeckel (till)
@@ -1185,6 +1196,7 @@ Symfony is the result of the work of many people who made the code better
11851196
- Sam Williams
11861197
- Adrian Philipp
11871198
- James Michael DuPont
1199+
- Kasperki
11881200
- Tammy D
11891201
- Ondrej Slinták
11901202
- vlechemin
@@ -1227,6 +1239,7 @@ Symfony is the result of the work of many people who made the code better
12271239
- Oncle Tom
12281240
- Christian Stocker
12291241
- Dawid Nowak
1242+
- Richard Quadling
12301243
- Karolis Daužickas
12311244
- tirnanog06
12321245
- phc
@@ -1244,14 +1257,14 @@ Symfony is the result of the work of many people who made the code better
12441257
- Juan Ases García (ases)
12451258
- Siragusa (asiragusa)
12461259
- Daniel Basten (axhm3a)
1247-
- DUPUCH (bdupuch)
12481260
- Bill Hance (billhance)
12491261
- Bernd Matzner (bmatzner)
12501262
- Choong Wei Tjeng (choonge)
12511263
- Kousuke Ebihara (co3k)
12521264
- Loïc Vernet (coil)
12531265
- Christoph Schaefer (cvschaefer)
12541266
- Damon Jones (damon__jones)
1267+
- David Badura (davidbadura)
12551268
- Daniel Londero (dlondero)
12561269
- Adel ELHAIBA (eadel)
12571270
- Damián Nohales (eagleoneraptor)
@@ -1306,7 +1319,6 @@ Symfony is the result of the work of many people who made the code better
13061319
- Julien Sanchez (sumbobyboys)
13071320
- Guillermo Gisinger (t3chn0r)
13081321
- Markus Tacker (tacker)
1309-
- Tomáš Votruba (tomas_votruba)
13101322
- Tyler Stroud (tystr)
13111323
- Moritz Kraft (userfriendly)
13121324
- Víctor Mateo (victormateo)

UPGRADE-3.0.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -688,6 +688,43 @@ UPGRADE FROM 2.x to 3.0
688688
));
689689
```
690690

691+
* The `AbstractVoter::getSupportedAttributes()` and `AbstractVoter::getSupportedClasses()`
692+
methods have been removed in favor of `AbstractVoter::supports()`.
693+
694+
Before:
695+
696+
```php
697+
class MyVoter extends AbstractVoter
698+
{
699+
protected function getSupportedAttributes()
700+
{
701+
return array('CREATE', 'EDIT');
702+
}
703+
704+
protected function getSupportedClasses()
705+
{
706+
return array('AppBundle\Entity\Post');
707+
}
708+
709+
// ...
710+
}
711+
```
712+
713+
After:
714+
715+
```php
716+
class MyVoter extends AbstractVoter
717+
{
718+
protected function supports($attribute, $class)
719+
{
720+
return $this->isClassInstanceOf($class, 'AppBundle\Entity\Post')
721+
&& in_array($attribute, array('CREATE', 'EDIT'));
722+
}
723+
724+
// ...
725+
}
726+
```
727+
691728
### Translator
692729

693730
* The `Translator::setFallbackLocale()` method has been removed in favor of

0 commit comments

Comments
 (0)
0