Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 314ccdf

Browse files
Merge branch '2.7' into 2.8
* 2.7: [PhpUnitBridge] Revert 7f62133 bumped Symfony version to 2.3.40 set s-maxage only if all responses are cacheable updated VERSION for 2.3.39 update CONTRIBUTORS for 2.3.39 updated CHANGELOG for 2.3.39 Improved the "branch" row of the PR table [Debug] Replaced logic for detecting filesystem case sensitivity [Process] Wait a bit less on Windows Use debug member variable Fix typos #18090 1. PHPs session design to PHP's session design 2. Symfony HttpKernel offers to Symfony's HttpKernel offers 3. in which case it it should to in which case it should Fix for Isssue #18091 replace perfom by perform minor #18088 Fix typo for profiler [ci] remove token for composer now that rate limiting is off Conflicts: src/Symfony/Bridge/PhpUnit/composer.json
2 parents f5a7ad8 + 67e9ba0 commit 314ccdf

File tree

14 files changed

+173
-43
lines changed

14 files changed

+173
-43
lines changed

.composer/auth.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
| Q | A
22
| ------------- | ---
3-
| Branch | master for features and deprecations / lowest applicable and maintained version otherwise
3+
| Branch? | "master" for new features / 2.3, 2.7, 2.8 or 3.0 for fixes
44
| Bug fix? | yes/no
55
| New feature? | yes/no
66
| BC breaks? | yes/no

CHANGELOG-2.3.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,31 @@ in 2.3 minor versions.
77
To get the diff for a specific change, go to https://github.com/symfony/symfony/commit/XXX where XXX is the change hash
88
To get the diff between two versions, go to https://github.com/symfony/symfony/compare/v2.3.0...v2.3.1
99

10+
* 2.3.39 (2016-03-13)
11+
12+
* bug #18080 [HttpFoundation] Set the Content-Range header if the requested Range is unsatisfied (jakzal)
13+
* bug #18084 [HttpFoundation] Avoid warnings when checking malicious IPs (jakzal)
14+
* bug #18048 [HttpKernel] Fix mem usage when stripping the prod container (nicolas-grekas)
15+
* bug #18065 [Finder] Partially revert #17134 to fix a regression (jakzal)
16+
* bug #18018 [HttpFoundation] exception when registering bags for started sessions (xabbuh)
17+
* bug #18054 [Filesystem] Fix false positive in ->remove() (nicolas-grekas)
18+
* bug #18049 [Validator] Fix the locale validator so it treats a locale alias as a valid locale (jakzal)
19+
* bug #18019 [Intl] Update ICU to version 55 (jakzal)
20+
* bug #16656 [HttpFoundation] automatically generate safe fallback filename (xabbuh)
21+
* bug #15794 [Console] default to stderr in the console helpers (alcohol)
22+
* bug #17984 Allow to normalize \Traversable when serializing xml (Ener-Getick)
23+
* bug #17434 Improved the error message when a template is not found (rvanginneken, javiereguiluz)
24+
* bug #17894 [FrameworkBundle] Fix a regression in handling absolute template paths (jakzal)
25+
* bug #17595 [HttpKernel] Remove _path from query parameters when fragment is a subrequest (cmenning)
26+
* bug #17986 [DomCrawler] Dont use LIBXML_PARSEHUGE by default (nicolas-grekas)
27+
* bug #17668 add 'guid' to list of exception to filter out (garak)
28+
* bug #17615 Ensure backend slashes for symlinks on Windows systems (cpsitgmbh)
29+
* bug #17626 Try to delete broken symlinks (IchHabRecht)
30+
* bug #17978 [Yaml] ensure dump indentation to be greather than zero (xabbuh)
31+
* bug #17976 [WebProfilerBundle] fix debug toolbar rendering by removing inadvertently added links (craue)
32+
* bug #17971 Variadic controller params (NiR-, fabpot)
33+
* bug #17925 [Bridge] The WebProcessor now forwards the client IP (magnetik)
34+
1035
* 2.3.38 (2016-02-28)
1136

1237
* bug #17947 Fix - #17676 (backport #17919 to 2.3) (Ocramius)

CONTRIBUTORS.md

Lines changed: 29 additions & 17 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
- Kris Wallsmith (kriswallsmith)
1717
- Jakub Zalas (jakubzalas)
1818
- Ryan Weaver (weaverryan)
19-
- Hugo Hamon (hhamon)
2019
- Javier Eguiluz (javier.eguiluz)
20+
- Hugo Hamon (hhamon)
2121
- Abdellatif Ait boudad (aitboudad)
2222
- Pascal Borreli (pborreli)
2323
- Kévin Dunglas (dunglas)
@@ -35,8 +35,8 @@ Symfony is the result of the work of many people who made the code better
3535
- Eriksen Costa (eriksencosta)
3636
- Sarah Khalil (saro0h)
3737
- Jonathan Wage (jwage)
38-
- Maxime Steinhausser (ogizanagi)
3938
- Diego Saint Esteben (dosten)
39+
- Maxime Steinhausser (ogizanagi)
4040
- Alexandre Salomé (alexandresalome)
4141
- William Durand (couac)
4242
- ornicar
@@ -56,12 +56,12 @@ Symfony is the result of the work of many people who made the code better
5656
- Michel Weimerskirch (mweimerskirch)
5757
- Eric Clemmons (ericclemmons)
5858
- Andrej Hudec (pulzarraider)
59+
- Christian Raue
5960
- Matthias Pigulla (mpdude)
6061
- Peter Rehm (rpet)
6162
- Deni
6263
- Henrik Westphal (snc)
6364
- Dariusz Górecki (canni)
64-
- Christian Raue
6565
- Arnout Boks (aboks)
6666
- Douglas Greenshields (shieldo)
6767
- Lee McDermott
@@ -79,16 +79,18 @@ Symfony is the result of the work of many people who made the code better
7979
- Iltar van der Berg (kjarli)
8080
- Arnaud Le Blanc (arnaud-lb)
8181
- Jérôme Tamarelle (gromnan)
82+
- Jules Pietri (heah)
8283
- Michal Piotrowski (eventhorizon)
8384
- Tim Nagel (merk)
85+
- Paráda József (paradajozsef)
8486
- Brice BERNARD (brikou)
87+
- Ener-Getick (energetick)
8588
- Charles Sarrazin (csarrazi)
8689
- Alexander M. Turek (derrabus)
8790
- Dariusz Ruminski
8891
- marc.weistroff
8992
- lenar
9093
- Włodzimierz Gajda (gajdaw)
91-
- Paráda József (paradajozsef)
9294
- Alexander Schwenn (xelaris)
9395
- Florian Voutzinos (florianv)
9496
- Colin Frei
@@ -98,13 +100,12 @@ Symfony is the result of the work of many people who made the code better
98100
- Peter Kokot (maastermedia)
99101
- excelwebzone
100102
- Jacob Dreesen (jdreesen)
103+
- Konstantin Myakshin (koc)
101104
- Jérémy DERUSSÉ (jderusse)
102105
- Vladimir Reznichenko (kalessil)
103106
- Baptiste Clavié (talus)
104-
- Ener-Getick (energetick)
105107
- Fabien Pennequin (fabienpennequin)
106108
- Gordon Franke (gimler)
107-
- Konstantin Myakshin (koc)
108109
- Tomáš Votruba (tomas_votruba)
109110
- Jáchym Toušek
110111
- Robert Schönthal (digitalkaoz)
@@ -117,7 +118,6 @@ Symfony is the result of the work of many people who made the code better
117118
- Sebastian Hörl (blogsh)
118119
- Daniel Gomes (danielcsgomes)
119120
- Hidenori Goto (hidenorigoto)
120-
- Jules Pietri (heah)
121121
- Evgeniy (ewgraf)
122122
- Guilherme Blanco (guilhermeblanco)
123123
- Pablo Godel (pgodel)
@@ -146,6 +146,8 @@ Symfony is the result of the work of many people who made the code better
146146
- Dmitrii Chekaliuk (lazyhammer)
147147
- Clément JOBEILI (dator)
148148
- Daniel Wehner
149+
- Richard van Laak (rvanlaak)
150+
- Possum
149151
- Dorian Villet (gnutix)
150152
- Javier Spagnoletti (phansys)
151153
- Richard Miller (mr_r_miller)
@@ -154,11 +156,10 @@ Symfony is the result of the work of many people who made the code better
154156
- Benjamin Dulau (dbenjamin)
155157
- Andreas Hucks (meandmymonkey)
156158
- Noel Guilbert (noel)
157-
- Richard van Laak (rvanlaak)
159+
- Stepan Anchugov (kix)
158160
- bronze1man
159161
- sun (sun)
160162
- Larry Garfield (crell)
161-
- Possum
162163
- Martin Schuhfuß (usefulthink)
163164
- Matthieu Bontemps (mbontemps)
164165
- Pierre Minnieur (pminnieur)
@@ -177,7 +178,6 @@ Symfony is the result of the work of many people who made the code better
177178
- Sven Paulus (subsven)
178179
- Lars Strojny (lstrojny)
179180
- Rui Marinho (ruimarinho)
180-
- Stepan Anchugov (kix)
181181
- Eugene Wissner
182182
- Julien Brochet (mewt)
183183
- Sergey Linnik (linniksa)
@@ -186,6 +186,7 @@ Symfony is the result of the work of many people who made the code better
186186
- Titouan Galopin (tgalopin)
187187
- Loïc Faugeron
188188
- Jannik Zschiesche (apfelbox)
189+
- Marco Pivetta (ocramius)
189190
- julien pauli (jpauli)
190191
- Michael Lee (zerustech)
191192
- Lorenz Schori
@@ -265,11 +266,11 @@ Symfony is the result of the work of many people who made the code better
265266
- Bob den Otter (bopp)
266267
- Adrian Rudnik (kreischweide)
267268
- Francesc Rosàs (frosas)
269+
- Massimiliano Arione (garak)
268270
- Julien Galenski (ruian)
269271
- Bongiraud Dominique
270272
- janschoenherr
271273
- Thomas Schulz (king2500)
272-
- Marco Pivetta (ocramius)
273274
- Berny Cantos (xphere81)
274275
- Ricard Clau (ricardclau)
275276
- Mark Challoner (markchalloner)
@@ -314,6 +315,7 @@ Symfony is the result of the work of many people who made the code better
314315
- Endre Fejes
315316
- Tobias Naumann (tna)
316317
- Shein Alexey
318+
- Baptiste Lafontaine
317319
- Joe Lencioni
318320
- Daniel Tschinder
319321
- Kai
@@ -336,7 +338,6 @@ Symfony is the result of the work of many people who made the code better
336338
- Oscar Cubo Medina (ocubom)
337339
- Karel Souffriau
338340
- Christophe L. (christophelau)
339-
- Massimiliano Arione (garak)
340341
- Anthon Pang (robocoder)
341342
- Emanuele Gaspari (inmarelibero)
342343
- Dariusz Rumiński
@@ -388,6 +389,7 @@ Symfony is the result of the work of many people who made the code better
388389
- Roman Lapin (memphys)
389390
- Yoshio HANAWA
390391
- Gladhon
392+
- Benoît Burnichon (bburnichon)
391393
- Sebastian Bergmann
392394
- Pablo Díez (pablodip)
393395
- Kevin McBride
@@ -397,6 +399,7 @@ Symfony is the result of the work of many people who made the code better
397399
- Ilya Antipenko (aivus)
398400
- Iker Ibarguren (ikerib)
399401
- Ricardo Oliveira (ricardolotr)
402+
- Roy Van Ginneken (rvanginneken)
400403
- ondrowan
401404
- Barry vd. Heuvel (barryvdh)
402405
- Jerzy Zawadzki (jzawadzki)
@@ -458,7 +461,6 @@ Symfony is the result of the work of many people who made the code better
458461
- Johnny Robeson (johnny)
459462
- Disquedur
460463
- Michiel Boeckaert (milio)
461-
- Baptiste Lafontaine
462464
- Geoffrey Tran (geoff)
463465
- Jan Behrens
464466
- Mantas Var (mvar)
@@ -514,6 +516,7 @@ Symfony is the result of the work of many people who made the code better
514516
- Luc Vieillescazes (iamluc)
515517
- Johann Saunier (prophet777)
516518
- Antoine Corcy
519+
- Rob Bast
517520
- Artur Eshenbrener
518521
- Arturs Vonda
519522
- Sascha Grossenbacher
@@ -522,6 +525,7 @@ Symfony is the result of the work of many people who made the code better
522525
- Benjamin Zikarsky (bzikarsky)
523526
- Simon Schick (simonsimcity)
524527
- redstar504
528+
- Tristan Roussel
525529
- Hossein Bukhamsin
526530
- Disparity
527531
- origaminal
@@ -615,7 +619,6 @@ Symfony is the result of the work of many people who made the code better
615619
- Emanuele Iannone
616620
- Tony Malzhacker
617621
- Mathieu MARCHOIS
618-
- Benoît Burnichon (bburnichon)
619622
- Cyril Quintin (cyqui)
620623
- Gerard van Helden (drm)
621624
- Johnny Peck (johnnypeck)
@@ -719,17 +722,20 @@ Symfony is the result of the work of many people who made the code better
719722
- Danilo Silva
720723
- Zachary Tong (polyfractal)
721724
- Hryhorii Hrebiniuk
725+
- mcfedr (mcfedr)
722726
- dantleech
723727
- Xavier Leune
724728
- Tero Alén (tero)
725729
- DerManoMann
726730
- Guillaume Royer
727731
- Artem (digi)
732+
- boite
728733
- dantleech
729734
- Vadim Tyukov (vatson)
730735
- Sortex
731736
- chispita
732737
- Wojciech Sznapka
738+
- Arjan Keeman
733739
- Máximo Cuadros (mcuadros)
734740
- tamirvs
735741
- julien.galenski
@@ -807,7 +813,6 @@ Symfony is the result of the work of many people who made the code better
807813
- spdionis
808814
- Eduardo García Sanz (coma)
809815
- James Gilliland
810-
- Roy Van Ginneken
811816
- David de Boer (ddeboer)
812817
- Gilles Doge (gido)
813818
- abulford
@@ -869,6 +874,7 @@ Symfony is the result of the work of many people who made the code better
869874
- Ludek Stepan
870875
- Geoffrey Brier
871876
- Aaron Stephens (astephens)
877+
- Craig Menning (cmenning)
872878
- Balázs Benyó (duplabe)
873879
- Erika Heidi Reinaldo (erikaheidi)
874880
- Pierre Tachoire (krichprollsch)
@@ -881,6 +887,7 @@ Symfony is the result of the work of many people who made the code better
881887
- Karol Sójko (karolsojko)
882888
- sl_toto (sl_toto)
883889
- Walter Dal Mut (wdalmut)
890+
- Albin Kerouaton
884891
- Sébastien HOUZÉ
885892
- Jingyu Wang
886893
- Daniel Espendiller
@@ -900,6 +907,7 @@ Symfony is the result of the work of many people who made the code better
900907
- Daniel Richter (richtermeister)
901908
- ChrisC
902909
- Ilya Biryukov
910+
- Kim Laï Trinh
903911
- Jason Desrosiers
904912
- m.chwedziak
905913
- Philip Frank
@@ -958,7 +966,6 @@ Symfony is the result of the work of many people who made the code better
958966
- Jānis Lukss
959967
- rkerner
960968
- Alex Silcock
961-
- Rob Bast
962969
- Matthew J Mucklo
963970
- fdgdfg (psampaz)
964971
- Stéphane Seng
@@ -1024,6 +1031,7 @@ Symfony is the result of the work of many people who made the code better
10241031
- Alexandre Segura
10251032
- Josef Cech
10261033
- Arnau González (arnaugm)
1034+
- Simon Bouland (bouland)
10271035
- Nate (frickenate)
10281036
- Matthew Foster (mfoster)
10291037
- Paul Seiffert (seiffert)
@@ -1087,16 +1095,20 @@ Symfony is the result of the work of many people who made the code better
10871095
- Jordi Llonch (jordillonch)
10881096
- Cédric Dugat (ph3nol)
10891097
- Philip Dahlstrøm (phidah)
1098+
- Alex Rock Ancelet (pierstoval)
10901099
- Milos Colakovic (project2481)
10911100
- Rénald Casagraude (rcasagraude)
10921101
- Robin Duval (robin-duval)
10931102
- Grinbergs Reinis (shima5)
10941103
- Artem Lopata (bumz)
1104+
- Nicole Cordes
10951105
- Alexey Popkov
10961106
- Artyom Protaskin
10971107
- Nathanael d. Noblet
10981108
- helmer
1109+
- ged15
10991110
- Daan van Renterghem
1111+
- Nicole Cordes
11001112
- Bram Van der Sype (brammm)
11011113
- Julien Moulin (lizjulien)
11021114
- Nikita Nefedov (nikita2206)
@@ -1316,7 +1328,6 @@ Symfony is the result of the work of many people who made the code better
13161328
- Sema
13171329
- Elan Ruusamäe
13181330
- Thorsten Hallwas
1319-
- Tristan Roussel
13201331
- Michael Squires
13211332
- Norman Soetbeer
13221333
- zorn
@@ -1399,6 +1410,7 @@ Symfony is the result of the work of many people who made the code better
13991410
- Ala Eddine Khefifi (nayzo)
14001411
- emilienbouard (neime)
14011412
- Nicholas Byfleet (nickbyfleet)
1413+
- Tomas Norkūnas (norkunas)
14021414
- ollie harridge (ollietb)
14031415
- Paul Andrieux (paulandrieux)
14041416
- Paweł Szczepanek (pauluz)

src/Symfony/Bridge/PhpUnit/composer.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
}
1717
],
1818
"require": {
19+
"php": ">=5.3.3 EVEN ON LATEST SYMFONY VERSIONS TO ALLOW USING",
20+
"php": "THIS BRIDGE WHEN TESTING LOWEST SYMFONY VERSIONS.",
1921
"php": ">=5.3.3"
2022
},
2123
"suggest": {

src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Configuration.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ private function addAnnotationsSection(ArrayNodeDefinition $rootNode)
708708
->children()
709709
->scalarNode('cache')->defaultValue('file')->end()
710710
->scalarNode('file_cache_dir')->defaultValue('%kernel.cache_dir%/annotations')->end()
711-
->booleanNode('debug')->defaultValue('%kernel.debug%')->end()
711+
->booleanNode('debug')->defaultValue($this->debug)->end()
712712
->end()
713713
->end()
714714
->end()

src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/ConfigurationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ protected static function getBundleDefaultConfig()
170170
'annotations' => array(
171171
'cache' => 'file',
172172
'file_cache_dir' => '%kernel.cache_dir%/annotations',
173-
'debug' => '%kernel.debug%',
173+
'debug' => true,
174174
),
175175
'serializer' => array(
176176
'enabled' => false,

src/Symfony/Component/Debug/DebugClassLoader.php

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,16 @@ public function __construct($classLoader)
5151
}
5252

5353
if (!isset(self::$caseCheck)) {
54-
self::$caseCheck = false !== stripos(PHP_OS, 'win') ? (false !== stripos(PHP_OS, 'darwin') ? 2 : 1) : 0;
54+
if(!file_exists(strtolower(__FILE__))) {
55+
// filesystem is case sensitive
56+
self::$caseCheck = 0;
57+
} elseif(realpath(strtolower(__FILE__)) === __FILE__) {
58+
// filesystem is not case sensitive
59+
self::$caseCheck = 1;
60+
} else {
61+
// filesystem is not case sensitive AND realpath() fails to normalize case
62+
self::$caseCheck = 2;
63+
}
5564
}
5665
}
5766

0 commit comments

Comments
 (0)