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

Skip to content

[HttpFoundation] Clear invalid session cookie #32455

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1,847 commits into from
Aug 9, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1847 commits
Select commit Hold shift + click to select a range
16fc81f
fix test
xabbuh Jul 24, 2019
1ee775c
minor #32723 [Messenger] fix test (xabbuh)
xabbuh Jul 24, 2019
d320cbf
Merge branch '4.2' into 4.3
xabbuh Jul 24, 2019
9c263ff
[Messenger] Fix redis last error not cleared between calls
Jul 24, 2019
327fb95
Merge branch '4.2' into 4.3
xabbuh Jul 24, 2019
bf4c713
Fix bindings and tagged_locator
deguif Jul 24, 2019
bf608aa
Fix pluralizing "season"
norkunas Jul 25, 2019
7aee83a
[Messenger] expire delay queue and fix auto_setup logic
Tobion Jul 19, 2019
3c3bda5
[DI] fix perf issue with lazy autowire error messages
nicolas-grekas Jul 24, 2019
61b0f79
bug #32715 [DI] fix perf issue with lazy autowire error messages (nic…
Tobion Jul 26, 2019
9d6ca0d
bug #32730 [Inflector] Fix pluralizing words ending with "son" (norku…
fabpot Jul 27, 2019
3e8eaeb
Merge branch '4.2' into 4.3
fabpot Jul 27, 2019
e2a2dd9
minor #32654 Clarify deprecations for framework.templating (linaori)
fabpot Jul 27, 2019
90c6482
bug #32726 [Messenger] Fix redis last error not cleared between calls…
fabpot Jul 27, 2019
d4a9278
updated CHANGELOG for 3.4.30
fabpot Jul 27, 2019
b9cccd1
update CONTRIBUTORS for 3.4.30
fabpot Jul 27, 2019
dc59b6f
updated VERSION for 3.4.30
fabpot Jul 27, 2019
4d911e9
Merge pull request #32784 from fabpot/release-3.4.30
fabpot Jul 27, 2019
43e5e97
bumped Symfony version to 3.4.31
fabpot Jul 27, 2019
cdcf3b8
updated CHANGELOG for 4.3.3
fabpot Jul 28, 2019
3bb7424
updated VERSION for 4.3.3
fabpot Jul 28, 2019
dd4d355
Merge pull request #32788 from fabpot/release-4.3.3
fabpot Jul 28, 2019
a3cfa36
bumped Symfony version to 4.3.4
fabpot Jul 28, 2019
48e7b14
drop 4.2 branch from pull request template
xabbuh Jul 28, 2019
2113e67
minor #32789 drop 4.2 branch from pull request template (xabbuh)
fabpot Jul 28, 2019
93d0dc8
[Messenger] Retrieve table default options from the SchemaManager
vincenttouzet Jul 20, 2019
6003608
bug #32641 [Messenger] Retrieve table default options from the Schema…
Tobion Jul 28, 2019
d7d6d92
bug #32631 [Messenger] expire delay queue and fix auto_setup logic (T…
Tobion Jul 28, 2019
ee49144
Failing test case for complex near-circular situation + lazy
weaverryan Jun 24, 2019
66dc906
[Stopwatch] fix some phpdocs
Tobion Jul 28, 2019
8718cd1
[HttpKernel] do not stopwatch sections when profiler is disabled
Tobion Jul 29, 2019
aefc7f5
minor #32793 [Stopwatch] fix some phpdocs (Tobion)
Tobion Jul 29, 2019
de490b4
bug #32799 [HttpKernel] do not stopwatch sections when profiler is di…
Tobion Jul 29, 2019
e577226
Merge branch '3.4' into 4.3
Tobion Jul 29, 2019
a37f3e0
[DI] Fix dumping Doctrine-like service graphs (bis)
nicolas-grekas Feb 6, 2019
6763172
bug #30096 [DI] Fix dumping Doctrine-like service graphs (bis) (weave…
nicolas-grekas Jul 29, 2019
5196254
Merge branch '3.4' into 4.3
nicolas-grekas Jul 29, 2019
b80e9b8
Make sure trace_level is always defined
dbu Jul 29, 2019
7238bdf
bug #32802 Make sure trace_level is always defined (dbu)
fabpot Jul 30, 2019
dd945e3
fix(yml): fix comment in milti line value
soufianZantar Jul 26, 2019
a80e56c
Don't add value of (default/static) objects to the signature
arjenm Jul 30, 2019
7942082
bug #32722 [DependencyInjection] Fix bindings and tagged_locator (deg…
nicolas-grekas Jul 30, 2019
85827f3
bug #32708 Recompile container when translations directory changes (p…
nicolas-grekas Jul 30, 2019
5c67a67
bug #32809 Don't add object-value of static properties in the signatu…
nicolas-grekas Jul 30, 2019
5f451e6
[Console] fix warning on PHP 7.4
rez1dent3 Jul 30, 2019
3f43186
bug #32806 [Console] fix warning on PHP 7.4 (rez1dent3)
nicolas-grekas Jul 30, 2019
3324505
[Cache] fix warning on PHP 7.4
Jul 29, 2019
b706372
bug #32796 [Cache] fix warning on PHP 7.4 (jpauli)
nicolas-grekas Jul 30, 2019
54107ba
[HttpFoundation] Fix `getMaxFilesize`
bennyborn Jul 28, 2019
1143b02
bug #32790 [HttpFoundation] Fix `getMaxFilesize` (bennyborn)
nicolas-grekas Jul 30, 2019
f1cb4b5
bug #32767 [Yaml] fix comment in multi line value (soufianZantar)
nicolas-grekas Jul 30, 2019
8b2d67b
minor fix for wrong case
Jul 31, 2019
9ac85d5
[HttpClient] Preserve the case of headers when sending them
nicolas-grekas Jul 30, 2019
e4082fa
minor #32826 [Debug] minor fix for wrong method name case (Tobias Wei…
yceruto Jul 31, 2019
6d4dcad
[Form] update type of form $name arguments
nicolas-grekas Jul 31, 2019
dfce45b
Fix travis script
nicolas-grekas Jul 31, 2019
3592d69
Merge branch '3.4' into 4.3
nicolas-grekas Jul 31, 2019
bcfc7a4
minor #32828 [Form] update type of form $name arguments (nicolas-grekas)
nicolas-grekas Jul 31, 2019
307d172
Merge branch '3.4' into 4.3
nicolas-grekas Jul 31, 2019
9ac3552
bug #32823 [HttpClient] Preserve the case of headers when sending the…
nicolas-grekas Jul 31, 2019
1ca61d3
Allow Travis CI to build on PHP 7.4
phansys Jun 29, 2019
f0c6669
minor #32289 Allow Travis CI to build on PHP 7.4 (phansys)
nicolas-grekas Jul 31, 2019
9a950f5
Merge branch '3.4' into 4.3
nicolas-grekas Jul 31, 2019
81af97f
Make tests support phpunit 8
nicolas-grekas Jul 31, 2019
5fa9ed4
minor #32842 Make tests support phpunit 8 (nicolas-grekas)
nicolas-grekas Jul 31, 2019
629d217
[Cache] fix cs
nicolas-grekas Jul 31, 2019
bce1d5b
Merge branch '3.4' into 4.3
nicolas-grekas Jul 31, 2019
04c104c
fix merge
nicolas-grekas Jul 31, 2019
9e2d683
Micro-typo fix
BenMorel Jul 31, 2019
4af1fd6
minor #32843 Micro-typo fix (BenMorel)
nicolas-grekas Jul 31, 2019
2f79ccd
fix tests
nicolas-grekas Jul 31, 2019
4c84424
Fix assertInternalType deprecation in phpunit 9
jderusse Aug 1, 2019
1ad2682
minor #32846 [PhpUnitBridge] Fix deprecation assertInternalType (jder…
nicolas-grekas Aug 1, 2019
9babf9f
Merge branch '3.4' into 4.3
nicolas-grekas Aug 1, 2019
c064548
fix tests
nicolas-grekas Aug 1, 2019
6fb2b24
Merge branch '3.4' into 4.3
nicolas-grekas Aug 1, 2019
2523451
fix tests
nicolas-grekas Aug 1, 2019
97bcb5d
Ensure signatures for setUp|tearDown|setUpAfterClass|tearDownAfterCla…
luispabon Aug 1, 2019
0ebf7ee
minor #32854 Ensure signatures for setUp|tearDown|setUpAfterClass|tea…
nicolas-grekas Aug 1, 2019
aa58789
Fix assertInternalType deprecation in phpunit 9
jderusse Aug 1, 2019
1938a54
minor #32857 [PhpUnitBridge] Fix deprecation assertInternalType - 4.3…
nicolas-grekas Aug 1, 2019
c2c7ba8
Skip tests that fatal-error on PHP 7.4 because of missing parent classes
nicolas-grekas Aug 1, 2019
abcd45a
Add polyfill for TestCase::createMock()
nicolas-grekas Aug 1, 2019
f6fae1c
Sync "not implementing the method" deprecations messages
fancyweb Aug 1, 2019
1fca6c2
minor #32864 Skip tests that fatal-error on PHP 7.4 because of missin…
nicolas-grekas Aug 1, 2019
82aace3
minor #32865 Add polyfill for TestCase::createMock() (nicolas-grekas)
nicolas-grekas Aug 1, 2019
9f40b10
[Yaml] fix test for PHP 7.4
nicolas-grekas Aug 1, 2019
9bfc12a
Merge branch '3.4' into 4.3
nicolas-grekas Aug 1, 2019
8ea304d
minor #32866 Sync "not implementing the method" deprecations messages…
nicolas-grekas Aug 1, 2019
a0f68aa
Fix symfony/phpunit-bridge not up to date in phpunit 4.8 test suite
jderusse Aug 1, 2019
b5df881
bug #32868 [PhpUnitBridge] Allow symfony/phpunit-bridge > 4.2 to be i…
nicolas-grekas Aug 1, 2019
c3c233c
Merge branch '3.4' into 4.3
nicolas-grekas Aug 1, 2019
f53b42b
[Bridge/Twig] fix slow dep resolution on deps=low
nicolas-grekas Aug 1, 2019
41c02d7
Replace calls to setExpectedException by Pollyfill
jderusse Aug 1, 2019
6d49913
minor #32872 Replace calls to setExpectedException by Pollyfill (jder…
nicolas-grekas Aug 1, 2019
725187f
cs fix
nicolas-grekas Aug 1, 2019
e6e68e8
Merge branch '3.4' into 4.3
nicolas-grekas Aug 1, 2019
4b3d545
fix merge
nicolas-grekas Aug 1, 2019
3a626e8
Fix deprecated phpunit annotation
jderusse Aug 1, 2019
a22a9c4
Fix tests
jderusse Aug 1, 2019
5d73970
[Messenger] Fix incompatibility with FrameworkBundle <4.3.1
Jul 28, 2019
8173daf
minor #32875 [PhpUnitBridge] Remove @expectedException annotation (jd…
nicolas-grekas Aug 2, 2019
1b56d7f
Merge branch '3.4' into 4.3
nicolas-grekas Aug 2, 2019
7bdd8ff
Run the phpunit-bridge from a PR
nicolas-grekas Aug 2, 2019
5d0711f
minor #32887 Run the phpunit-bridge from a PR (nicolas-grekas)
nicolas-grekas Aug 2, 2019
8f1d9d2
Merge branch '3.4' into 4.3
nicolas-grekas Aug 2, 2019
2e7f43e
[Validator] Improve Fa translations
Arman-Hosseini Aug 2, 2019
0800e90
[Mailer] fixed the order of authenticators
fabpot Aug 3, 2019
15dbe4b
[Mailer] fixed error that is masked by another error
fabpot Aug 3, 2019
8e3161b
minor #32894 [Mailer] Change the order of authenticators (fabpot)
fabpot Aug 3, 2019
e248345
bug #32895 [Mailer] Fix error not being thrown properly (fabpot)
fabpot Aug 3, 2019
887f27d
[Mailer] fixed wrong error message when connection closes unexpectedly
fabpot Aug 3, 2019
0470ac3
bug #32899 [Mailer] fix wrong error message when connection closes un…
fabpot Aug 3, 2019
1451c0b
Allow sutFqcnResolver to return array
VincentLanglet Aug 3, 2019
9fb1c42
Adopt `@PHPUnit55Migration:risky` rule of php-cs-fixer
nicolas-grekas Aug 2, 2019
6189410
minor #32885 [PhpUnitBridge] Use PHPUnit75Migration in CS fixer (nico…
nicolas-grekas Aug 3, 2019
07bade0
Merge branch '3.4' into 4.3
nicolas-grekas Aug 3, 2019
d4e97c0
minor #32892 [Validator] Improve Fa translations (Arman-Hosseini)
fabpot Aug 3, 2019
faef738
[Yaml] PHP-8: Uncaught TypeError: abs() expects parameter 1 to be int…
Aug 1, 2019
114ec6c
Remove deprecated methods assertArraySubset
jderusse Aug 3, 2019
7cf9ed6
#32853 Check if $this->parameters is array.
ABGEO Aug 1, 2019
8890be6
bug #32870 #32853 Check if $this->parameters is array. (ABGEO07)
nicolas-grekas Aug 3, 2019
c7afa28
Merge branch '3.4' into 4.3
nicolas-grekas Aug 3, 2019
6604a3e
minor #32909 [PhpUnitBridge] Remove deprecated methods assertArraySub…
nicolas-grekas Aug 3, 2019
ac6242f
Remove use of ForwardCompatTrait
jderusse Aug 2, 2019
ce30848
minor #32889 [PhpUnitBridge] Remove use of ForwardCompatTrait (jderusse)
nicolas-grekas Aug 3, 2019
3b3582e
Fix path to phpunit binary
jderusse Aug 3, 2019
64e3a32
Merge branch '3.4' into 4.3
nicolas-grekas Aug 3, 2019
f1cb555
cs fix
nicolas-grekas Aug 3, 2019
9b41f67
minor #32913 [travis] Fix path to phpunit binary (jderusse)
nicolas-grekas Aug 3, 2019
9188261
bug #32910 [Yaml] PHP-8: Uncaught TypeError: abs() expects parameter …
nicolas-grekas Aug 3, 2019
bfd5d4e
Fix tests on console
jderusse Aug 3, 2019
8f87a85
minor #32914 [Console] Fix tests not executed (jderusse)
nicolas-grekas Aug 3, 2019
69ef436
Merge branch '3.4' into 4.3
nicolas-grekas Aug 3, 2019
2b0f2de
bug #32682 [HttpFoundation] Revert getClientIp @return docblock (ossi…
fabpot Aug 4, 2019
8863f06
[Routing] added a warning about the getRouteCollection() method
fabpot Aug 4, 2019
724f1f5
[Intl] Order alpha2 to alpha3 mapping
ro0NL Aug 4, 2019
867e3de
[Intl] Order alpha2 to alpha3 mapping + phpdoc fixes
ro0NL Aug 4, 2019
d098c11
Remove calls to deprecated function assertAttributeX
jderusse Aug 4, 2019
5d60221
minor #32915 [Routing] Add a warning about the getRouteCollection() m…
fabpot Aug 4, 2019
b500f92
Create mailBody with only attachments part present
srsbiz Jul 30, 2019
8b699ae
bug #32814 Create mailBody with only attachments part present (srsbiz)
fabpot Aug 4, 2019
dd814bf
minor #32923 [PhpUnitBridge] Remove calls to deprecated function asse…
nicolas-grekas Aug 4, 2019
926246b
bug #32902 [PhpUnitBridge] Allow sutFqcnResolver to return array (Vin…
nicolas-grekas Aug 4, 2019
d2c4bf0
[HttpClient] use "idle" instead of "inactivity" when telling about th…
nicolas-grekas Aug 4, 2019
226bdd1
Use PHPunit assertion
jderusse Aug 4, 2019
8ca5cfc
bug #32918 [Intl] Order alpha2 to alpha3 mapping (ro0NL)
fabpot Aug 5, 2019
ceaa1b3
[FrameworkBundle] Detect indirect env vars in routing
ro0NL Jul 31, 2019
828ce34
bug #32838 [FrameworkBundle] Detect indirect env vars in routing (ro0NL)
fabpot Aug 5, 2019
fc0e4ba
[Messenger] Removed named parameters and replaced with `?` placeholde…
Jul 31, 2019
c674042
bug #32836 [Messenger] Removed named parameters and replaced with `?`…
fabpot Aug 5, 2019
b13e6af
bug #32792 [Messenger] Fix incompatibility with FrameworkBundle <4.3.…
fabpot Aug 5, 2019
02c1dec
minor #32928 [HttpClient] use "idle" instead of "inactivity" when tel…
fabpot Aug 5, 2019
16a4620
Merge branch '3.4' into 4.3
fabpot Aug 5, 2019
2f97ab1
minor #32924 [cs-fixer] Use PhpUnit native assertions in filsystem ch…
fabpot Aug 5, 2019
5925e59
bug #32919 [Intl] Order alpha2 to alpha3 mapping + phpdoc fixes (ro0NL)
fabpot Aug 5, 2019
c7aad8d
fixed phpdocs
fabpot Aug 5, 2019
0c9539f
[PhpUnitBridge] fixed PHPUnit 8.3 compatibility: method handleError w…
karser Aug 2, 2019
b1e160c
Support DateTimeInterface in IntlDateFormatter::format
pierredup Aug 5, 2019
4cd60d6
[Form] remove leftover int child phpdoc
Tobion Aug 5, 2019
e929310
[Messenger] Fixed ConsumeMessagesCommand configuration
lyrixx Aug 5, 2019
b6d6c6b
minor #32946 [Messenger] Fixed ConsumeMessagesCommand configuration (…
fabpot Aug 5, 2019
cf459e5
minor #32949 [Form] remove leftover int child phpdoc (Tobion)
fabpot Aug 5, 2019
797ea2e
Use namespaced Phpunit classes
jderusse Aug 5, 2019
f752416
minor #32941 Use namespaced Phpunit classes (jderusse)
nicolas-grekas Aug 5, 2019
356341b
[HttpClient] Minor fixes
fancyweb Aug 5, 2019
f38f6e7
bug #32947 [Intl] Support DateTimeInterface in IntlDateFormatter::for…
nicolas-grekas Aug 5, 2019
b5e99f3
bug #32933 [PhpUnitBridge] fixed PHPUnit 8.3 compatibility: method ha…
nicolas-grekas Aug 5, 2019
3a185e2
minor #32948 [HttpClient] Minor fixes (fancyweb)
nicolas-grekas Aug 5, 2019
b131278
Minor fixes
nicolas-grekas Aug 5, 2019
d4df6cf
Merge branch '3.4' into 4.3
nicolas-grekas Aug 5, 2019
92bd9ec
Use Phpunit FQDN in tests comments
jderusse Aug 5, 2019
360711c
[Form] Fix inconsistencies
vudaltsov Aug 5, 2019
6dfeeb5
minor #32935 [Form] Fix inconsistencies (vudaltsov)
nicolas-grekas Aug 5, 2019
1c8b067
minor #32954 Use PHPUnit short class name in tests comments (jderusse)
nicolas-grekas Aug 5, 2019
ccb3a4c
Merge branch '3.4' into 4.3
nicolas-grekas Aug 5, 2019
3a0a901
Use assertEqualsWithDelta when required
jderusse Aug 5, 2019
f842e59
Use assert assertContainsEquals when needed
jderusse Aug 5, 2019
058ef39
Use assertStringContainsString when needed
jderusse Aug 5, 2019
611f57c
bump phpunit-bridge cache-id
nicolas-grekas Aug 6, 2019
08573a1
minor #32971 Use assertStringContainsString when needed (jderusse)
nicolas-grekas Aug 6, 2019
443e923
minor #32969 Use assertContainsEquals when needed (jderusse)
nicolas-grekas Aug 6, 2019
87c8561
minor #32968 Use assertEqualsWithDelta when needed (jderusse)
nicolas-grekas Aug 6, 2019
5f96c0d
Merge branch '3.4' into 4.3
nicolas-grekas Aug 6, 2019
36466a3
fix merge
nicolas-grekas Aug 6, 2019
3dab7c9
minor #32649 [Security] Improve fa (persian) translation (Arman-Hosse…
fabpot Aug 6, 2019
05ec8a0
Fix remaining tests
jderusse Aug 6, 2019
6af3c6b
[Config] fix test
nicolas-grekas Aug 6, 2019
dbd9b75
[FrameworkBundle][Config] Ignore exeptions thrown during reflection c…
fancyweb Jul 12, 2019
56345e1
Added correct plural for box -> boxes
cinamo Aug 6, 2019
4c80343
bug #32999 Added correct plural for box -> boxes (cinamo)
fabpot Aug 6, 2019
484668f
SCA: dropped unused mocks, duplicate import and a function alias usage
kalessil Aug 6, 2019
6d2e3ee
minor #32998 SCA: dropped unused mocks, duplicate import and a functi…
nicolas-grekas Aug 7, 2019
3d6eb40
[HttpClient] fix tests
nicolas-grekas Aug 7, 2019
dff5a7d
minor #33005 [HttpClient] fix tests (nicolas-grekas)
nicolas-grekas Aug 7, 2019
43acda6
Remove deprecated assertContains
MarioBlazek Aug 6, 2019
6d181ff
minor #32977 Remove deprecated assertContains (MarioBlazek)
nicolas-grekas Aug 7, 2019
ba030f0
[HttpClient] Declare `$active` first to prevent weird issue
Kocal Aug 6, 2019
465da03
bug #32989 [HttpClient] Declare `$active` first to prevent weird issu…
nicolas-grekas Aug 7, 2019
33f722d
[ProxyManagerBridge] Polyfill for unmaintained version
jderusse Aug 6, 2019
4123465
bug #32992 [ProxyManagerBridge] Polyfill for unmaintained version (jd…
nicolas-grekas Aug 7, 2019
3cd7726
Merge branch '3.4' into 4.3
nicolas-grekas Aug 7, 2019
e1722c5
[Mime] fixed wrong mimetype
rjwebdev Aug 6, 2019
a3aaaa1
bug #32986 [Mime] fixed wrong mimetype (rjwebdev)
fabpot Aug 7, 2019
daac024
pass translation parameters to the trans filter
xabbuh Aug 7, 2019
1a83f9b
Fix inconsistent return points.
derrabus Aug 7, 2019
c88d125
minor #33009 Fix inconsistent return points (derrabus)
nicolas-grekas Aug 7, 2019
b27c999
bug #32981 Fix tests/code for php 7.4 (jderusse)
nicolas-grekas Aug 7, 2019
381c995
Merge branch '3.4' into 4.3
nicolas-grekas Aug 7, 2019
b406466
bug #33010 [TwigBridge] pass translation parameters to the trans filt…
nicolas-grekas Aug 7, 2019
0a78dc0
Fix some return type annotations.
derrabus Aug 7, 2019
f8a3517
minor #33007 Fix some return type annotations (derrabus)
nicolas-grekas Aug 7, 2019
1aba480
Merge branch '3.4' into 4.3
nicolas-grekas Aug 7, 2019
48859fd
bug #32516 [FrameworkBundle][Config] Ignore exceptions thrown during …
nicolas-grekas Aug 7, 2019
f3f6b58
Merge branch '3.4' into 4.3
nicolas-grekas Aug 7, 2019
5892837
Resilience against file_get_contents() race conditions.
derrabus Aug 7, 2019
63b71b5
[Intl] fix nullable phpdocs and useless method visibility of internal…
Tobion Aug 7, 2019
3f51a55
remove deprecated cache pool arguments
xabbuh Aug 7, 2019
e8cd106
minor #33021 [FrameworkBundle] remove deprecated cache pool argument …
nicolas-grekas Aug 7, 2019
8fd16a6
Fix deprecation on 4.3
jderusse Aug 6, 2019
e289723
[HttpClient] Remove CURLOPT_CONNECTTIMEOUT_MS curl opt
lyrixx Aug 7, 2019
fda49e6
bug #33022 [HttpClient] Remove CURLOPT_CONNECTTIMEOUT_MS curl opt (ly…
nicolas-grekas Aug 8, 2019
4ee54f0
[HttpKernel] Clarify error handler restoring process again
fancyweb Aug 8, 2019
12b8c94
consistently throw NotSupportException
xabbuh Aug 8, 2019
854f5d1
bug #33033 [Lock] consistently throw NotSupportException (xabbuh)
nicolas-grekas Aug 8, 2019
e48d2c1
minor #33031 [HttpKernel] Clarify error handler restoring process aga…
nicolas-grekas Aug 8, 2019
ce09c31
minor #33016 [HttpKernel] Resilience against file_get_contents() race…
nicolas-grekas Aug 8, 2019
d936a70
minor #33020 [Intl] fix nullable phpdocs and useless method visibilit…
nicolas-grekas Aug 8, 2019
c0f416e
Merge branch '3.4' into 4.3
nicolas-grekas Aug 8, 2019
a5af6c4
Disable phpunit typehint patch on 4.3 branch
jderusse Aug 8, 2019
55daf15
Fix compatibility with PHPUnit 8
jderusse Aug 8, 2019
0abd64b
bug #33045 Make HttpClientTestCase compatible with PHPUnit8 (jderusse)
nicolas-grekas Aug 8, 2019
3ae9910
minor #33042 Disable typehint patch on PHPUnit (jderusse)
nicolas-grekas Aug 8, 2019
f773217
minor #33000 Fix deprecations on 4.3 (jderusse)
nicolas-grekas Aug 8, 2019
e95b8a3
[Cache] cs fix
nicolas-grekas Aug 8, 2019
f019b52
Fix s-maxage=3 transient test
jderusse Aug 8, 2019
bb3cb64
Fix test compatibility with 4.x components
jderusse Aug 8, 2019
889f454
minor #33055 [FrameworkBundle][TwigBridge] Fix test compatibility wit…
nicolas-grekas Aug 8, 2019
fab17a4
Improve some URLs
Arman-Hosseini Jul 29, 2019
e4bb3a2
minor #32800 Improve some URLs (Arman-Hosseini)
nicolas-grekas Aug 8, 2019
fdf6fc3
Merge branch '3.4' into 4.3
nicolas-grekas Aug 8, 2019
d84ee87
minor #33051 [HttpKernel] Fix s-maxage=3 transient test (jderusse)
nicolas-grekas Aug 8, 2019
02a90d2
[Intl] use strict comparisons
Tobion Aug 8, 2019
38f08ba
Merge branch '3.4' into 4.3
nicolas-grekas Aug 8, 2019
feaadd1
Fix tst patern to handle callstack with/without return typehint
jderusse Aug 8, 2019
9c45a8e
Replace warning by isolated test
jderusse Aug 8, 2019
7afc935
minor #33069 Replace warning by isolated test (jderusse)
nicolas-grekas Aug 8, 2019
85c5011
Merge branch '3.4' into 4.3
nicolas-grekas Aug 8, 2019
1b98df7
minor #33067 [VarDumper] Fix test patern to handle callstack with/wit…
nicolas-grekas Aug 8, 2019
b22a726
[HttpFoundation] Clear invalid session cookie
Toflar Jul 9, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
| Q | A
| ------------- | ---
| Branch? | 4.4 for features / 3.4, 4.2 or 4.3 for bug fixes <!-- see below -->
| Branch? | 4.4 for features / 3.4 or 4.3 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ vendor/
composer.lock
phpunit.xml
.php_cs.cache
.phpunit.result.cache
composer.phar
package.tar
/packages.json
Expand Down
5 changes: 3 additions & 2 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,9 @@ return PhpCsFixer\Config::create()
->setRules([
'@Symfony' => true,
'@Symfony:risky' => true,
'@PHPUnit48Migration:risky' => true,
'php_unit_no_expectation_annotation' => false, // part of `PHPUnitXYMigration:risky` ruleset, to be enabled when PHPUnit 4.x support will be dropped, as we don't want to rewrite exceptions handling twice
'@PHPUnit75Migration:risky' => true,
'php_unit_dedicate_assert' => ['target' => '5.6'],
'phpdoc_no_empty_return' => false, // triggers almost always false positive
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'ordered_imports' => true,
Expand Down
45 changes: 38 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ env:
- MIN_PHP=7.1.3
- SYMFONY_PROCESS_PHP_TEST_BINARY=~/.phpenv/shims/php
- MESSENGER_AMQP_DSN=amqp://localhost/%2f/messages
- MESSENGER_REDIS_DSN=redis://127.0.0.1:7001/messages

matrix:
include:
Expand All @@ -28,7 +29,9 @@ matrix:
env: deps=high
- php: 7.3
env: deps=low

- php: 7.4snapshot
allow_failures:
- php: 7.4snapshot
fast_finish: true

cache:
Expand Down Expand Up @@ -56,15 +59,18 @@ before_install:

- |
# Start Redis cluster
docker pull grokzen/redis-cluster:4.0.8
docker run -d -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 --name redis-cluster grokzen/redis-cluster:4.0.8
docker pull grokzen/redis-cluster:5.0.4
docker run -d -p 7000:7000 -p 7001:7001 -p 7002:7002 -p 7003:7003 -p 7004:7004 -p 7005:7005 --name redis-cluster grokzen/redis-cluster:5.0.4
export REDIS_CLUSTER_HOSTS='localhost:7000 localhost:7001 localhost:7002 localhost:7003 localhost:7004 localhost:7005'

- |
# General configuration
set -e
stty cols 120
mkdir /tmp/slapd
if [ ! -e /tmp/slapd-modules ]; then
[ -d /usr/lib/openldap ] && ln -s /usr/lib/openldap /tmp/slapd-modules || ln -s /usr/lib/ldap /tmp/slapd-modules
fi
slapd -f src/Symfony/Component/Ldap/Tests/Fixtures/conf/slapd.conf -h ldap://localhost:3389 &
[ -d ~/.composer ] || mkdir ~/.composer
cp .composer/* ~/.composer/
Expand Down Expand Up @@ -114,6 +120,7 @@ before_install:
local ext_name=$1
local ext_so=$2
local INI=$3
local input=${4:-yes}
local ext_dir=$(php -r "echo ini_get('extension_dir');")
local ext_cache=~/php-ext/$(basename $ext_dir)/$ext_name

Expand All @@ -122,7 +129,7 @@ before_install:
else
rm ~/.pearrc /tmp/pear 2>/dev/null || true
mkdir -p $ext_cache
echo yes | pecl install -f $ext_name &&
echo $input | pecl install -f $ext_name &&
cp $ext_dir/$ext_so $ext_cache
fi
}
Expand All @@ -145,7 +152,6 @@ before_install:
echo session.gc_probability = 0 >> $INI
echo opcache.enable_cli = 1 >> $INI
echo apc.enable_cli = 1 >> $INI
echo extension = redis.so >> $INI
echo extension = memcached.so >> $INI
done

Expand All @@ -159,12 +165,16 @@ before_install:
tfold ext.libsodium tpecl libsodium sodium.so $INI
fi

tfold ext.apcu tpecl apcu-5.1.16 apcu.so $INI
tfold ext.apcu tpecl apcu-5.1.17 apcu.so $INI
tfold ext.mongodb tpecl mongodb-1.6.0alpha1 mongodb.so $INI
tfold ext.igbinary tpecl igbinary-2.0.8 igbinary.so $INI
tfold ext.zookeeper tpecl zookeeper-0.7.1 zookeeper.so $INI
tfold ext.amqp tpecl amqp-1.9.4 amqp.so $INI
tfold ext.redis tpecl redis-4.3.0 redis.so $INI "no"
done
- |
# List all php extensions with versions
- php -r 'foreach (get_loaded_extensions() as $extension) echo $extension . " " . phpversion($extension) . PHP_EOL;'

- |
# Load fixtures
Expand All @@ -174,6 +184,23 @@ before_install:
fi

install:
- |
# Install the phpunit-bridge from a PR if required
#
# To run a PR with a patched phpunit-bridge, first submit the path for the
# phpunit-bridge as a separate PR against the next feature-branch then
# uncomment and update the following line with that PR number
#SYMFONY_PHPUNIT_BRIDGE_PR=32886

if [[ $SYMFONY_PHPUNIT_BRIDGE_PR ]]; then
git fetch origin refs/pull/$SYMFONY_PHPUNIT_BRIDGE_PR/head
git rm -rq src/Symfony/Bridge/PhpUnit
git checkout -q FETCH_HEAD -- src/Symfony/Bridge/PhpUnit
SYMFONY_VERSION=$(cat src/Symfony/Bridge/PhpUnit/composer.json | grep '^ *"dev-master". *"[1-9]' | grep -o '[0-9.]*')
sed -i 's/"symfony\/phpunit-bridge": ".*"/"symfony\/phpunit-bridge": "'$SYMFONY_VERSION'.x@dev"/' composer.json
rm -rf .phpunit
fi

- |
# Create local composer packages for each patched components and reference them in composer.json files when cross-testing components
if [[ ! $deps ]]; then
Expand All @@ -182,10 +209,14 @@ install:
export SYMFONY_DEPRECATIONS_HELPER=weak &&
cp composer.json composer.json.orig &&
echo -e '{\n"require":{'"$(grep phpunit-bridge composer.json)"'"php":"*"},"minimum-stability":"dev"}' > composer.json &&
php .github/build-packages.php HEAD^ $COMPONENTS &&
php .github/build-packages.php HEAD^ $(find src/Symfony -mindepth 3 -type f -name composer.json -printf '%h\n') &&
mv composer.json composer.json.phpunit &&
mv composer.json.orig composer.json
fi
if [[ $SYMFONY_PHPUNIT_BRIDGE_PR ]]; then
git rm -fq -- src/Symfony/Bridge/PhpUnit/composer.json
git diff --staged -- src/Symfony/Bridge/PhpUnit/ | git apply -R --index
fi

- |
# For the master branch, when deps=high, the version before master is checked out and tested with the locally patched components
Expand Down
Loading