8000 Merge branch '2.8' into 3.4 · symfony/symfony@855be6a · GitHub
[go: up one dir, main page]

Skip to content

Commit 855be6a

Browse files
Merge branch '2.8' into 3.4
* 2.8: update test for Twig performance optimizations [WebProfilerBundle] Increase retry delays between toolbarAction ajax calls support sapi_windows_vt100_support for php 7.2+ bumped Symfony version to 2.8.35 updated VERSION for 2.8.34 updated CHANGELOG for 2.8.34 bumped Symfony version to 2.7.42 updated VERSION for 2.7.41 update CONTRIBUTORS for 2.7.41 updated CHANGELOG for 2.7.41 [HttpFoundation] Added "null" type on Request::create docblock Allow trans filter to be safe
2 parents 0023f4e + 49b94cc commit 855be6a

File tree

8 files changed

+75
-48
lines changed

8 files changed

+75
-48
lines changed

CONTRIBUTORS.md

Lines changed: 35 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ Symfony is the result of the work of many people who made the code better
1616
- Kévin Dunglas (dunglas)
1717
- Jakub Zalas (jakubzalas)
1818
- Kris Wallsmith (kriswallsmith)
19-
- Ryan Weaver (weaverryan)
2019
- Robin Chalas (chalas_r)
20+
- Ryan Weaver (weaverryan)
2121
- Javier Eguiluz (javier.eguiluz)
2222
- Maxime Steinhausser (ogizanagi)
2323
- Hugo Hamon (hhamon)
@@ -58,21 +58,21 @@ Symfony is the result of the work of many people who made the code better
5858
- Diego Saint Esteben (dii3g0)
5959
- Dany Maillard (maidmaid)
6060
- Konstantin Kudryashov (everzet)
61+
- Amrouche Hamza (simperfit)
6162
- Kevin Bond (kbond)
62-
- Bilal Amarni (bamarni)
6363
- Pierre du Plessis (pierredup)
64+
- Bilal Amarni (bamarni)
6465
- Florin Patan (florinpatan)
6566
- Jérémy DERUSSÉ (jderusse)
66-
- Amrouche Hamza (simperfit)
67+
- Samuel ROZE (sroze)
6768
- Gábor Egyed (1ed)
69+
- Alexander M. Turek (derrabus)
6870
- Michel Weimerskirch (mweimerskirch)
6971
- Andrej Hudec (pulzarraider)
70-
- Alexander M. Turek (derrabus)
7172
- Eric Clemmons (ericclemmons)
7273
- Jáchym Toušek (enumag)
7374
- Charles Sarrazin (csarrazi)
7475
- Titouan Galopin (tgalopin)
75-
- Samuel ROZE (sroze)
7676
- Konstantin Myakshin (koc)
7777
- Christian Raue
7878
- Arnout Boks (aboks)
@@ -100,9 +100,9 @@ Symfony is the result of the work of many people who made the code better
100100
- Maxime STEINHAUSSER
101101
- Michal Piotrowski (eventhorizon)
102102
- Tim Nagel (merk)
103< A3E2 code class="diff-text syntax-highlighted-line addition">+
- David Maicher (dmaicher)
103104
- Vladimir Reznichenko (kalessil)
104105
- Brice BERNARD (brikou)
105-
- David Maicher (dmaicher)
106106
- Baptiste Clavié (talus)
107107
- marc.weistroff
108108
- lenar
@@ -112,17 +112,17 @@ Symfony is the result of the work of many people who made the code better
112112
- Florian Voutzinos (florianv)
113113
- Colin Frei
114114
- Adrien Brault (adrienbrault)
115+
- Tomáš Votruba (tomas_votruba)
115116
- Joshua Thijssen
116117
- Peter Kokot (maastermedia)
117118
- David Buchmann (dbu)
118119
- excelwebzone
119-
- Tomáš Votruba (tomas_votruba)
120+
- Grégoire Paris (greg0ire)
120121
- Fabien Pennequin (fabienpennequin)
121122
- Gordon Franke (gimler)
122123
- Eric GELOEN (gelo)
123124
- Daniel Wehner (dawehner)
124125
- Tugdual Saunier (tucksaun)
125-
- Grégoire Paris (greg0ire)
126126
- Théo FIDRY (theofidry)
127127
- Robert Schönthal (digitalkaoz)
128128
- Florian Lonqueu-Brochard (florianlb)
@@ -135,18 +135,19 @@ Symfony is the result of the work of many people who made the code better
135135
- Sebastian Hörl (blogsh)
136136
- Daniel Gomes (danielcsgomes)
137137
- Hidenori Goto (hidenorigoto)
138+
- Alex Pott
138139
- Guilherme Blanco (guilhermeblanco)
139140
- Pablo Godel (pgodel)
140141
- Jérémie Augustin (jaugustin)
141142
- Andréia Bohner (andreia)
142-
- Alex Pott
143143
- Julien Falque (julienfalque)
144144
- Rafael Dohms (rdohms)
145145
- Arnaud Kleinpeter (nanocom)
146146
- jwdeitch
147147
- Mikael Pajunen
148148
- Joel Wurtz (brouznouf)
149149
- Jérôme Vasseur (jvasseur)
150+
- Chris Wilkinson (thewilkybarkid)
150151
- Oleg Voronkovich
151152
- Philipp Wahala (hifi)
152153
- Vyacheslav Pavlov
@@ -169,7 +170,6 @@ Symfony is the result of the work of many people who made the code better
169170
- GDIBass
170171
- jeremyFreeAgent (Jérémy Romey) (jeremyfreeagent)
171172
- James Halsall (jaitsu)
172-
- Chris Wilkinson (thewilkybarkid)
173173
- Warnar Boekkooi (boekkooi)
174174
- Dmitrii Chekaliuk (lazyhammer)
175175
- Clément JOBEILI (dator)
@@ -213,8 +213,10 @@ Symfony is the result of the work of many people who made the code better
213213
- Tom Van Looy (tvlooy)
214214
- Sven Paulus (subsven)
215215
- Rui Marinho (ruimarinho)
216+
- Niels Keurentjes (curry684)
216217
- Eugene Wissner
217218
- Julien Brochet (mewt)
219+
- Gabriel Ostrolucký
218220
- Tristan Darricau (nicofuma)
219221
- Michaël Perrin (michael.perrin)
220222
- Marcel Beerta (mazen)
@@ -247,13 +249,11 @@ Symfony is the result of the work of many people who made the code better
247249
- Alessandro Chitolina
248250
- Kristen Gilden (kgilden)
249251
- Pierre-Yves LEBECQ (pylebecq)
250-
- Niels Keurentjes (curry684)
251252
- Jordan Samouh (jordansamouh)
252253
- Jakub Kucharovic (jkucharovic)
253254
- Uwe Jäger (uwej711)
254255
- Eugene Leonovich (rybakit)
255256
- Filippo Tessarotto
256-
- Gabriel Ostrolucký
257257
- Joseph Rouff (rouffj)
258258
- Félix Labrecque (woodspire)
259259
- GordonsLondon
@@ -285,6 +285,7 @@ Symfony is the result of the work of many people who made the code better
285285
- Robert Kiss (kepten)
286286
- Roumen Damianoff (roumen)
287287
- Antonio J. García Lagar (ajgarlag)
288+
- Benoît Burnichon (bburnichon)
288289
- Kim Hemsø Rasmussen (kimhemsoe)
289290
- Wouter Van Hecke
290291
- Jérôme Parmentier (lctrs)
@@ -293,6 +294,9 @@ Symfony is the result of the work of many people who made the code better
293294
- Michael Holm (hollo)
294295
- Marc Weistroff (futurecat)
295296
- Christian Schmidt
297+
- Yanick Witschi (toflar)
298+
- Edi Modrić (emodric)
299+
- Thomas Calvet (fancyweb)
296300
- Chad Sikorra (chadsikorra)
297301
- Chris Smith (cs278)
298302
- Florian Klein (docteurklein)
@@ -309,6 +313,7 @@ Symfony is the result of the work of many people who made the code better
309313
- Wouter J
310314
- Ismael Ambrosi (iambrosi)
311315
- Baptiste Lafontaine
316+
- François Pluchino (francoispluchino)
312317
- Aurelijus Valeiša (aurelijus)
313318
- Victor Bocharsky (bocharsky_bw)
314319
- Jan Decavele (jandc)
@@ -347,11 +352,9 @@ Symfony is the result of the work of many people who made the code better
347352
- Damien Alexandre (damienalexandre)
348353
- Felix Labrecque
349354
- Yaroslav Kiliba
355+
- Maxime Veber (nek-)
350356
- Terje Bråten
351-
- Yanick Witschi (toflar)
352357
- Robbert Klarenbeek (robbertkl)
353-
- Edi Modrić (emodric)
354-
- Thomas Calvet (fancyweb)
355358
- JhonnyL
356359
- David Badura (davidbadura)
357360
- hossein zolfi (ocean)
@@ -364,15 +367,13 @@ Symfony is the result of the work of many people who made the code better
364367
- Philipp Kräutli (pkraeutli)
365368
- Kirill chEbba Chebunin (chebba)
366369
- Greg Thornton (xdissent)
367-
- Benoît Burnichon (bburnichon)
368370
- Costin Bereveanu (schniper)
369371
- Loïc Chardonnet (gnusat)
370372
- Marek Kalnik (marekkalnik)
371373
- Vyacheslav Salakhutdinov (megazoll)
372374
- Hassan Amouhzi
373375
- Tamas Szijarto
374376
- Pavel Volokitin (pvolok)
375-
- François Pluchino (francoispluchino)
376377
- Arthur de Moulins (4rthem)
377378
- Nicolas Dewez (nicolas_dewez)
378379
- Endre Fejes
@@ -452,7 +453,6 @@ Symfony is the result of the work of many people who made the code better
452453
- Zander Baldwin
453454
- Adam Harvey
454455
- Anton Bakai
455-
- Maxime Veber (nek-)
456456
- Alex Bakhturin
457457
- Alexander Obuhovich (aik099)
458458
- boombatower
@@ -575,6 +575,7 @@ Symfony is the result of the work of many people who made the code better
575575
- Hany el-Kerdany
576576
- Wang Jingyu
577577
- Åsmund Garfors
578+
- Gunnstein Lye (glye)
578579
- Maxime Douailin
579580
- Jean Pasdeloup (pasdeloup)
580581
- Benjamin Cremer (bcremer)
@@ -587,6 +588,7 @@ Symfony is the result of the work of many people who made the code better
587588
- Sebastian Marek (proofek)
588589
- Erkhembayar Gantulga (erheme318)
589590
- Michal Trojanowski
591+
- Mateusz Sip
590592
- David Fuhr
591593
- Kamil Kokot (pamil)
592594
- Aurimas Niekis (gcds)
@@ -648,6 +650,8 @@ Symfony is the result of the work of many people who made the code better
648650
- Richard van den Brand (ricbra)
649651
- develop
650652
- VJ
653+
- Delf Tonder (leberknecht)
654+
- Sullivan SENECHAL (soullivaneuh)
651655
- Mark Sonnabaum
652656
- Richard Quadling
653657
- jochenvdv
@@ -801,6 +805,7 @@ Symfony is the result of the work of many people who made the code better
801805
- Jacques Moati
802806
- Balazs Csaba (balazscsaba2006)
803807
- Douglas Reith (douglas_reith)
808+
- Forfarle (forfarle)
804809
- Harry Walter (haswalt)
805810
- Johnson Page (jwpage)
806811
- Ruben Gonzalez (rubenruateltek)
@@ -930,6 +935,7 @@ Symfony is the result of the work of many people who made the code better
930935
- benatespina (benatespina)
931936
- Denis Kop
932937
- jfcixmedia
938+
- Nikita Konstantinov
933939
- Martijn Evers
934940
- Benjamin Paap (benjaminpaap)
935941
- Christian
@@ -975,6 +981,7 @@ Symfony is the result of the work of many people who made the code better
975981
- Jeremy Bush
976982
- wizhippo
977983
- Viacheslav Sychov
984+
- Matt Brunt
978985
- Carlos Ortega Huetos
979986
- rpg600
980987
- Péter Buri (burci)
@@ -1026,6 +1033,7 @@ Symfony is the result of the work of many people who made the code better
10261033
- Felicitus
10271034
- Krzysztof Przybyszewski
10281035
- Paul Matthews
1036+
- Vacheslav Silyutin
10291037
- Juan Traverso
10301038
- Alain Flaus (halundra)
10311039
- Tarjei Huse (tarjei)
@@ -1070,7 +1078,6 @@ Symfony is the result of the work of many people who made the code better
10701078
- Sebastian Göttschkes (sgoettschkes)
10711079
- Tatsuya Tsuruoka
10721080
- Ross Tuck
1073-
- Gunnstein Lye (glye)
10741081
- Kévin Gomez (kevin)
10751082
- azine
10761083
- Dawid Sajdak
@@ -1126,6 +1133,7 @@ Symfony is the result of the work of many people who made the code better
11261133
- Kim Laï Trinh
11271134
- Jason Desrosiers
11281135
- m.chwedziak
1136+
- Andreas Frömer
11291137
- Philip Frank
11301138
- Lance McNearney
11311139
- Gonzalo Vilaseca (gonzalovilaseca)
@@ -1144,7 +1152,6 @@ Symfony is the result of the work of many people who made the code better
11441152
- WedgeSama
11451153
- Felds Liscia
11461154
- Chihiro Adachi (chihiro-adachi)
1147-
- Sullivan SENECHAL
11481155
- Tadcka
11491156
- Beth Binkovitz
11501157
- Gonzalo Míguez
@@ -1202,6 +1209,7 @@ Symfony is the result of the work of many people who made the code better
12021209
- Simon Neidhold
12031210
- Xavier HAUSHERR
12041211
- Valentin VALCIU
1212+
- Jeremiah VALERIE
12051213
- Kevin Dew
12061214
- James Cowgill
12071215
- 1ma (jautenim)
@@ -1251,6 +1259,7 @@ Symfony is the result of the work of many people who made the code better
12511259
- natechicago
12521260
- Jonathan Poston
12531261
- Adrian Olek (adrianolek)
1262+
- Jody Mickey (jwmickey)
12541263
- Przemysław Piechota (kibao)
12551264
- Leonid Terentyev (li0n)
12561265
- ryunosuke
@@ -1260,6 +1269,7 @@ Symfony is the result of the work of many people who made the code better
12601269
- Iwan van Staveren (istaveren)
12611270
- Povilas S. (povilas)
12621271
- pborreli
1272+
- Boris Betzholz
12631273
- Eric Caron
12641274
- 2manypeople
12651275
- Wing
@@ -1409,6 +1419,7 @@ Symfony is the result of the work of many people who made the code better
14091419
- vlakoff
14101420
- bertillon
14111421
- Bertalan Attila
1422+
- AmsTaFF (amstaff)
14121423
- Yannick Bensacq (cibou)
14131424
- Frédéric G. Marand (fgm)
14141425
- Freek Van der Herten (freekmurze)
@@ -1514,6 +1525,7 @@ Symfony is the result of the work of many people who made the code better
15141525
- Javier Núñez Berrocoso (javiernuber)
15151526
- Jelle Bekker (jbekker)
15161527
- Ian Jenkins (jenkoian)
1528+
- Giovanni Albero (johntree)
15171529
- Jorge Martin (jorgemartind)
15181530
- Joeri Verdeyen (jverdeyen)
15191531
- Dmitrii Poddubnyi (karser)
@@ -1560,6 +1572,7 @@ Symfony is the result of the work of many people who made the code better
15601572
- Ismail Asci (ismailasci)
15611573
- Simon CONSTANS (kosssi)
15621574
- Kristof Van Cauwenbergh (kristofvc)
1575+
- Dennis Langen (nijusan)
15631576
- Paulius Jarmalavičius (pjarmalavicius)
15641577
- Ramon Henrique Ornelas (ramonornela)
15651578
- Ricardo de Vries (ricknox)
@@ -1598,6 +1611,7 @@ Symfony is the result of the work of many people who made the code better
15981611
- lol768
15991612
- jamogon
16001613
- Vyacheslav Slinko
1614+
- Jakub Chábek
16011615
- Johannes
16021616
- Jörg Rühl
16031617
- wesleyh
@@ -1606,6 +1620,7 @@ Symfony is the result of the work of many people who made the code better
16061620
- Michael Genereux
16071621
- patrick-mcdougle
16081622
- Dariusz Czech
1623+
- Jack Wright
16091624
- Anonymous User
16101625
- Paweł Tomulik
16111626
- Eric J. Duran
@@ -1728,7 +1743,6 @@ Symfony is the result of the work of many people who made the code better
17281743
- Fabien D. (fabd)
17291744
- Carsten Eilers (fnc)
17301745
- Sorin Gitlan (forapathy)
1731-
- Forfarle (forfarle)
17321746
- Yohan Giarelli (frequence-web)
17331747
- Gerry Vandermaesen (gerryvdm)
17341748
- Ghazy Ben Ahmed (ghazy)

src/Symfony/Bridge/PhpUnit/DeprecationErrorHandler.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,8 @@ private static function hasColorSupport()
281281
{
282282
if ('\\' === DIRECTORY_SEPARATOR) {
283283
return
284-
'10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
284+
defined('STDOUT') && function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support(STDOUT)
285+
|| '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
285286
|| false !== getenv('ANSICON')
286287
|| 'ON' === getenv('ConEmuANSI')
287288
|| 'xterm' === getenv('TERM');

src/Symfony/Bridge/Twig/Resources/views/Form/form_div_layout.html.twig

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -271,7 +271,13 @@
271271
{% set label = name|humanize %}
272272
{%- endif -%}
273273
{%- endif -%}
274-
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>{{ translation_domain is same as(false) ? label : label|trans({}, translation_domain) }}</{{ element|default('label') }}>
274+
<{{ element|default('label') }}{% if label_attr %}{% with { attr: label_attr } %}{{ block('attributes') }}{% endwith %}{% endif %}>
275+
{%- if translation_domain is same as(false) -%}
276+
{{- label -}}
277+
{%- else -%}
278+
{{- label|trans({}, translation_domain) -}}
279+
{%- endif -%}
280+
</{{ element|default('label') }}>
275281
{%- endif -%}
276282
{%- endblock form_label -%}
277283

src/Symfony/Bridge/Twig/Tests/Node/TransNodeTest.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ protected function getVariableGetterWithoutStrictCheck($name)
5353

5454
protected function getVariableGetterWithStrictCheck($name)
5555
{
56+
if (Environment::VERSION_ID > 20404) {
57+
return sprintf('(isset($context["%s"]) || array_key_exists("%1$s", $context) ? $context["%1$s"] : (function () { throw new Twig_Error_Runtime(\'Variable "%1$s" does not exist.\', 0, $this->source); })())', $name);
58+
}
59+
5660
if (Environment::MAJOR_VERSION >= 2) {
5761
return sprintf('(isset($context["%s"]) || array_key_exists("%1$s", $context) ? $context["%1$s"] : (function () { throw new Twig_Error_Runtime(\'Variable "%1$s" does not exist.\', 0, $this->getSourceContext()); })())', $name);
5862
}

src/Symfony/Bundle/WebProfilerBundle/Resources/views/Profiler/base_js.html.twig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
setTimeout(function(){
4040
options.maxTries--;
4141
request(url, onSuccess, onError, payload, options);
42-
}, 500);
42+
}, 1000);
4343
4444
return null;
4545
}

src/Symfony/Component/Console/Output/StreamOutput.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,8 @@ protected function hasColorSupport()
9292
{
9393
if (DIRECTORY_SEPARATOR === '\\') {
9494
return
95-
'10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
95+
function_exists('sapi_windows_vt100_support') && sapi_windows_vt100_support($this->stream)
96+
|| '10.0.10586' === PHP_WINDOWS_VERSION_MAJOR.'.'.PHP_WINDOWS_VERSION_MINOR.'.'.PHP_WINDOWS_VERSION_BUILD
9697
|| false !== getenv('ANSICON')
9798
|| 'ON' === getenv('ConEmuANSI')
9899
|| 'xterm' === getenv('TERM');

0 commit comments

Comments
 (0)
0