Skip to content

[Serializer] Serialization versioning #31033

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

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6171 commits
Select commit Hold shift + click to select a range
8773ccf
bug #35429 [DI] CheckTypeDeclarationsPass now checks if value is typ…
nicolas-grekas Jan 27, 2020
592a31a
bug #35438 [SecurityBundle] fix ldap_bind service arguments (Ioni14)
nicolas-grekas Jan 27, 2020
5182135
feature #35402 [Console] Set Command::setHidden() final for adding de…
nicolas-grekas Jan 27, 2020
c966016
minor #35375 [Lock] Don't allow mysqli to be used as it doesn't work …
nicolas-grekas Jan 27, 2020
b22a584
feature #35362 [Cache] Add LRU + max-lifetime capabilities to ArrayCa…
nicolas-grekas Jan 27, 2020
ed11d52
[CssSelector] Added cache on top of CssSelectorConverter
lyrixx Jan 21, 2020
1cfadb4
feature #35425 [CssSelector] Added cache on top of CssSelectorConvert…
fabpot Jan 27, 2020
ae0c634
Fix exception message in Doctrine Messenger
jderusse Jan 27, 2020
2e4f2ac
[Validator] add Validation::createCallable()
janvernieuwe May 13, 2019
5f87c7b
minor #35487 [Messenger] Fix messenger argument (jderusse)
Jan 27, 2020
2990c8f
[Messenger] Move Transports to separate packages
Nyholm Jan 21, 2020
3945a5c
feature #35422 [Messenger] Move Transports to separate packages (Nyholm)
fabpot Jan 28, 2020
0a92dab
Rebase, fix tests, review & update CHANGELOG
Korbeil Jan 6, 2020
98c7d30
[Dotenv] Add Dotenv::bootEnv() to check for .env.local.php before cal…
nicolas-grekas Jan 11, 2020
dafb057
[Mailer] read default timeout from ini configurations
azjezz Jan 3, 2020
f0fbdee
feature #35194 [Mailer] read default timeout from ini configurations …
fabpot Jan 28, 2020
4b854da
[Mailer] add ability to disable the TLS peer verification via DSN
Livda Jan 8, 2020
f0748f8
feature #35262 [Mailer] add ability to disable the TLS peer verificat…
fabpot Jan 29, 2020
9cbfad5
[DependencyInjection] #35505 Fix typo in test name
signor-pedro Jan 29, 2020
09ec907
[Messenger] Add TLS option to Redis transport's DSN
Nyholm Jan 29, 2020
8769c7a
feature #35503 [Messenger] Add TLS option to Redis transport's DSN (N…
fabpot Jan 29, 2020
a2a606e
[Messenger] Fix bug when using single route with XML config
Nyholm Jan 28, 2020
c573787
bug #35502 [Messenger] Fix bug when using single route with XML confi…
fabpot Jan 29, 2020
5f6a1ac
[Console] Add constants for main exit codes
Chi-teck Jan 26, 2020
5b38f70
feature #35478 [Console] Add constants for main exit codes (Chi-teck)
fabpot Jan 29, 2020
21fffca
[Messenger] Check for all serialization exceptions during message dec…
Jan 27, 2020
c55a89e
[PHPUnitBridge] Improved deprecations display
greg0ire Jan 8, 2020
7ecb5aa
feature #35271 [PHPUnitBridge] Improved deprecations display (greg0ire)
fabpot Jan 29, 2020
14c3555
bug #35480 [Messenger] Check for all serialization exceptions during …
Tobion Jan 29, 2020
737a3e5
Merge branch '4.3' into 4.4
Tobion Jan 29, 2020
44b27c6
[Mailer] Fix STARTTLS support for Postmark and Mandrill
fabpot Jan 30, 2020
6b0103e
bug #35518 [Mailer] Fix STARTTLS support for Postmark and Mandrill (f…
fabpot Jan 30, 2020
29badef
minor #35189 [Mailer] add tests for http transports (azjezz)
fabpot Jan 30, 2020
c9863c6
[Mailer] Make default factories public
fabpot Jan 30, 2020
8b337fc
feature #35308 [Dotenv] Add Dotenv::bootEnv() to check for .env.local…
fabpot Jan 30, 2020
a447cba
Sort the KernelEvents constants to match the lifecycle of the framework
hermann8u Jan 22, 2020
e493752
minor #35440 Sort the KernelEvents constants to match the lifecycle o…
fabpot Jan 30, 2020
75fc3fa
feature #35156 [String] Made AbstractString::width() follow POSIX.1-2…
fabpot Jan 30, 2020
fbc3dc8
feature #35519 [Mailer] Make default factories public (fabpot)
fabpot Jan 30, 2020
6ebe83c
[Mailer] Randomize the first transport used by the RoundRobin transport
fabpot Jan 30, 2020
27cc120
[Intl] Provide more locale translations
ro0NL Jan 29, 2020
9803f3e
bug #35517 [Intl] Provide more locale translations (ro0NL)
fabpot Jan 30, 2020
c16ee4a
[Notifier] Fix infinite loop on round robin transport
alirezamirsepassi Jan 21, 2020
a916c61
bug #35408 [Notifier] Fix infinite loop on round robin transport (ali…
fabpot Jan 30, 2020
ee9aacd
feature #35514 [DI][Routing] add wither to configure the path of PHP-…
fabpot Jan 30, 2020
46e8da3
bug #34808 [PhpUnitBridge] Properly handle phpunit arguments for conf…
fabpot Jan 30, 2020
549afaa
[HttpFoundation] added withers to Cookie class
ns3777k Jan 4, 2020
a2b6085
feature #35215 [HttpFoundation] added withers to Cookie class (ns3777k)
fabpot Jan 30, 2020
f2cdafc
[Mailer] added tag/metadata support
kbond Dec 19, 2019
ad5f427
[HttpKernel] Fix stale-if-error behavior, add tests
mpdude Jan 10, 2020
e50db1f
bug #35305 [HttpKernel] Fix stale-if-error behavior, add tests (mpdude)
fabpot Jan 30, 2020
81abb4e
feature #35050 [Mailer] added tag/metadata support (kbond)
fabpot Jan 30, 2020
fdb13c8
[Translator] Default value for 'sort' option in translation:update sh…
Jan 27, 2020
55df55e
bug #35486 [Translator] Default value for 'sort' option in translatio…
fabpot Jan 30, 2020
cd0db78
[HttpClient] Fix regex bearer
noniagriconomie Jan 30, 2020
a36797d
Allow pass array of callable to the mocking http client
Koc Dec 7, 2019
0baafd8
[FrameworkBundle][TranslationDebug] Return non-zero exit code on failure
DAcodedBEAT Jul 11, 2019
94efc95
feature #29139 [FrameworkBundle][TranslationDebug] Return non-zero ex…
fabpot Jan 31, 2020
d6f34a5
[Validator] Add alpha3 option to country constraint
maxperrimond Dec 27, 2019
1bb485b
feature #35116 [Validator] Add alpha3 option to country constraint (m…
fabpot Jan 31, 2020
09bdaf5
feature #35525 [Mailer] Randomize the first transport used by the Rou…
fabpot Jan 31, 2020
1edecf7
[Validator] fix access to uninitialized property when getting value
greedyivan Jan 30, 2020
aeea451
bug #35532 [Validator] fix access to uninitialized property when gett…
fabpot Jan 31, 2020
e39d66e
bug #35530 [HttpClient] Fix regex bearer (noniagriconomie)
nicolas-grekas Jan 31, 2020
0f13d5a
Merge branch '3.4' into 4.3
nicolas-grekas Jan 31, 2020
f24320d
Merge branch '4.3' into 4.4
nicolas-grekas Jan 31, 2020
b0fc564
Merge branch '4.4' into 5.0
nicolas-grekas Jan 31, 2020
c3ad3ee
Merge branch '5.0'
nicolas-grekas Jan 31, 2020
103c460
[DI] fix CheckTypeDeclarationsPass
nicolas-grekas Jan 31, 2020
ecf3a53
Merge branch '4.4' into 5.0
nicolas-grekas Jan 31, 2020
44e86a3
Merge branch '5.0'
nicolas-grekas Jan 31, 2020
b2339b5
Bump phpunit-bridge cache
nicolas-grekas Jan 31, 2020
6514fa3
Merge branch '3.4' into 4.3
nicolas-grekas Jan 31, 2020
3a69b8c
Merge branch '4.3' into 4.4
nicolas-grekas Jan 31, 2020
ec587f4
Merge branch '4.4' into 5.0
nicolas-grekas Jan 31, 2020
9b0a75c
Merge branch '5.0'
nicolas-grekas Jan 31, 2020
1b1ab29
[FrameworkBundle] Use MailerAssertionsTrait in KernelTestCase
adrienfr Jan 31, 2020
134129b
[FrameworkBundle] fixed suggesting deprecated WebServerBundle
jrushlow Jan 31, 2020
9d7e622
bug #35538 [FrameworkBundle] fixed suggesting deprecated WebServerBun…
fabpot Jan 31, 2020
f7021e4
updated CHANGELOG for 4.4.4
fabpot Jan 31, 2020
eac640a
updated VERSION for 4.4.4
fabpot Jan 31, 2020
488093b
Merge pull request #35540 from fabpot/release-4.4.4
fabpot Jan 31, 2020
e3561cc
bumped Symfony version to 4.4.5
fabpot Jan 31, 2020
dca60a1
updated CHANGELOG for 5.0.4
fabpot Jan 31, 2020
3c21b02
updated VERSION for 5.0.4
fabpot Jan 31, 2020
03e6126
Merge pull request #35541 from fabpot/release-5.0.4
fabpot Jan 31, 2020
5a96cf1
bumped Symfony version to 5.0.5
fabpot Jan 31, 2020
a1e4222
feature #30704 [PropertyInfo] Add accessor and mutator extractor inte…
lyrixx Jan 31, 2020
e02e74d
Update PR template
nicolas-grekas Feb 1, 2020
6f29d8d
Merge branch '3.4' into 4.4
nicolas-grekas Feb 1, 2020
bf6d384
Merge branch '4.4' into 5.0
nicolas-grekas Feb 1, 2020
ec8163d
Merge branch '5.0'
nicolas-grekas Feb 1, 2020
fb732df
[FrameworkBundle] CS fix
nicolas-grekas Feb 1, 2020
963d0cc
Fix HTTP client config handling
julienfalque Feb 1, 2020
4cce23d
[Bridge/PhpUnit] dont conflict with phpunit 4.8
nicolas-grekas Feb 1, 2020
985f64b
Merge branch '5.0'
nicolas-grekas Feb 1, 2020
f462285
Show both missing packages in the same error message
wouterj Feb 1, 2020
00b6846
feature #34871 [HttpClient] Allow pass array of callable to the mocki…
nicolas-grekas Feb 2, 2020
6620f8a
[FrameworkBundle] remove mention of the old Controller class
nicolas-grekas Feb 2, 2020
94bc1f7
[HttpKernel] allow using public aliases to reference controllers
nicolas-grekas Feb 2, 2020
36536c9
[HttpClient] dont display any content when none has been collected
nicolas-grekas Feb 2, 2020
303f9e5
[HttpClient] fix HttpClientDataCollector when handling canceled respo…
nicolas-grekas Feb 2, 2020
6bb6473
minor #35559 [FrameworkBundle] remove mention of the old Controller c…
nicolas-grekas Feb 3, 2020
a2d6d11
bug #35562 [HttpClient] fix HttpClientDataCollector when handling can…
nicolas-grekas Feb 3, 2020
5da9cf3
minor #35561 [HttpClient] dont display any content when none has been…
nicolas-grekas Feb 3, 2020
e94c3fb
[Config] dont catch instances of Error
nicolas-grekas Feb 2, 2020
78641e0
bug #35557 [Config] dont catch instances of Error (nicolas-grekas)
nicolas-grekas Feb 3, 2020
a9b5fd2
Merge branch '3.4' into 4.4
nicolas-grekas Feb 3, 2020
774a161
Fix merge
nicolas-grekas Feb 3, 2020
a536342
bug #34114 [Console] SymonfyStyle - Check value isset to avoid PHP no…
fabpot Feb 3, 2020
6c96706
bug #34059 [DomCrawler] Skip disabled fields processing in Form (sbogx)
fabpot Feb 3, 2020
5144487
bug #35161 [FrameworkBundle] Check non-null type for numeric type (Ar…
fabpot Feb 3, 2020
6b02362
[Phpunit] Fix running skipped tests expecting only deprecations
chalasr Jan 28, 2020
1f053f9
bug #35489 [PhpUnitBridge] Fix running skipped tests expecting only d…
nicolas-grekas Feb 3, 2020
f758eca
bug #35332 [Yaml][Inline] Fail properly on empty object tag and empty…
nicolas-grekas Feb 3, 2020
af46fd6
minor #35507 [DependencyInjection] Fix typo in test name (signor-pedro)
nicolas-grekas Feb 3, 2020
427bc3a
[Validator] try to call __get method if property is uninitialized
alekitto Jan 31, 2020
ed7bb82
Merge branch '3.4' into 4.4
nicolas-grekas Feb 3, 2020
ef4dcdb
bug #35546 [Validator] check for __get method existence if property i…
fabpot Feb 3, 2020
5da1bcf
Merge branch '4.4' into 5.0
chalasr Feb 3, 2020
12ca646
Merge branch '5.0'
chalasr Feb 3, 2020
b52b7b9
[Translation][Debug] Add installation and minimal example to README
wouterj Feb 1, 2020
5b1a9cb
minor #35552 [Translation][Debug] Add installation and minimal exampl…
fabpot Feb 3, 2020
64f9111
[HttpClient] make response stream functionality consistent
kbond Feb 3, 2020
ff4892b
bug #35573 [HttpClient] make response stream functionality consistent…
nicolas-grekas Feb 3, 2020
4d920f0
Fail on empty password verification (without warning on any implement…
Jan 28, 2020
72f9e98
bug #35497 Fail on empty password verification (without warning on an…
fabpot Feb 3, 2020
327ee1a
Fix CS
fabpot Feb 3, 2020
59f0980
feature #35560 [HttpKernel] allow using public aliases to reference c…
fabpot Feb 3, 2020
63fec80
[HttpClient] adding NoPrivateNetworkHttpClient decorator
hallboav Jan 12, 2020
74ac542
feature #35566 [HttpClient] adding NoPrivateNetworkHttpClient decorat…
nicolas-grekas Feb 3, 2020
87c11c2
minor #35555 [DX][TwigBridge] Show both missing packages for Notifica…
fabpot Feb 3, 2020
a4544c2
Fix CS
fabpot Feb 3, 2020
b72b7d3
[Translation] prefer intl domain when adding messages to catalogue
Guite Jan 22, 2020
7dc5d64
bug #35430 [Translation] prefer intl domain when adding messages to c…
fabpot Feb 3, 2020
fbfe1ed
[Mailer] Fix broken mandrill http send for recipients with names
vilius-g Jan 6, 2020
435f4d5
bug #35227 [Mailer] Fix broken mandrill http send for recipients with…
fabpot Feb 3, 2020
e8ba15e
[Config][XmlReferenceDumper] Prevent potential \TypeError
fancyweb Jan 31, 2020
c29989d
bug #35537 [Config][XmlReferenceDumper] Prevent potential \TypeError …
nicolas-grekas Feb 3, 2020
89062b9
[Yaml] Deprecate using the object and const tag without a value
fancyweb Jan 16, 2020
80b003f
feature #35368 [Yaml] Deprecate using the object and const tag withou…
fabpot Feb 3, 2020
4bb19c6
[String] add LazyString to provide generic stringable objects
nicolas-grekas Nov 8, 2019
7bfc27e
[Form] Add "is empty callback" to form config
fancyweb Jul 25, 2019
fafe576
feature #34298 [String] add LazyString to provide memoizing stringabl…
fabpot Feb 3, 2020
28eedb8
bug #34123 [Form] Fix handling of empty_data's \Closure value in Date…
fabpot Feb 3, 2020
e2e6bd0
[WebProfiler] Improve HttpClient Panel
ismail1432 Aug 23, 2019
fc30e61
feature #33315 [WebProfiler] Improve HttpClient Panel (ismail1432)
nicolas-grekas Feb 3, 2020
bc4f7d7
Messenger: validate options for AMQP and Redis Connections
nikophil Dec 10, 2019
981a771
feature #34925 Messenger: validate options for AMQP and Redis Connect…
fabpot Feb 4, 2020
00baa29
[Translation] Add missing use statement
fabpot Feb 4, 2020
45f5564
bug #35582 Missing use statement 4.4 (fabpot)
fabpot Feb 4, 2020
ce29631
[Translation] Add missing use statement
fabpot Feb 4, 2020
cd27b9d
Add missing use statements
fabpot Feb 4, 2020
647a6fe
bug #35583 Add missing use statements (fabpot)
fabpot Feb 4, 2020
cb16fe7
Merge branch '3.4' into 4.4
fabpot Feb 4, 2020
85f793b
Merge branch '4.4' into 5.0
fabpot Feb 4, 2020
c6d0a2a
Merge branch '5.0'
fabpot Feb 4, 2020
6cd1235
Add a RdKafka caster to Var-Dumper
romainneutron Jan 15, 2020
8e22719
feature #35347 [VarDumper] Add a RdKafka caster (romainneutron)
nicolas-grekas Feb 4, 2020
a3e49f3
Fix CS
fabpot Feb 4, 2020
ef12069
[Filesystem] Add $suffix argument to tempnam()
jdufresne Aug 7, 2019
7784d9f
feature #33003 [Filesystem] Add $suffix argument to tempnam() (jdufre…
fabpot Feb 4, 2020
2e27353
minor #35584 Fix CS (fabpot)
fabpot Feb 4, 2020
3ee39e7
Merge branch '3.4' into 4.4
fabpot Feb 4, 2020
de8348a
Fix CS
fabpot Feb 4, 2020
03181ee
minor #35586 Fix CS (fabpot)
fabpot Feb 4, 2020
bb4e394
Merge branch '4.4' into 5.0
fabpot Feb 4, 2020
f64f59a
Fix CS
fabpot Feb 4, 2020
7322985
minor #35587 Fix CS (fabpot)
fabpot Feb 4, 2020
d5bbdca
Merge branch '5.0'
fabpot Feb 4, 2020
629d21b
Escape variable in Exception Template
jderusse Feb 4, 2020
7658434
[Translation] Introduce a way to configure the enabled locales
javiereguiluz Jul 8, 2019
c2e0aab
cs fix
nicolas-grekas Feb 4, 2020
a196d05
Fix bad merge
fabpot Feb 4, 2020
2f5047e
Merge branch '5.0'
fabpot Feb 4, 2020
a841a3e
Fix CS
fabpot Feb 4, 2020
a416a66
Fix bad merge
fabpot Feb 4, 2020
61774e6
Fix CS
fabpot Feb 4, 2020
f23aa96
feature #32433 [Translation] Introduce a way to configure the enabled…
fabpot Feb 4, 2020
f312e3c
Merge branch '3.4' into 4.4
nicolas-grekas Feb 4, 2020
6b18e70
Merge branch '4.4' into 5.0
nicolas-grekas Feb 4, 2020
eaec5d6
bug #35588 [ErrorHandler] Escape variable in Exception template (jder…
fabpot Feb 4, 2020
f88d1bb
[Mailer] Fix MandrillHttpTransport::getRecipients()'s call
chalasr Feb 4, 2020
244c347
Merge branch '4.4' into 5.0
nicolas-grekas Feb 4, 2020
1e2b88f
Merge branch '5.0'
nicolas-grekas Feb 4, 2020
1ae7dd5
[Cache] Add couchbase cache adapter
ajcerezo Jun 13, 2019
cf9f5a0
feature #32039 [Cache] Add couchbase cache adapter (ajcerezo)
fabpot Feb 4, 2020
9613f84
minor #35589 [Mailer] Fix MandrillHttpTransport::getRecipients()'s ca…
fabpot Feb 4, 2020
3750988
bug #35553 Fix HTTP client config handling (julienfalque)
fabpot Feb 4, 2020
01f33c3
[Messenger] Add support for PostgreSQL LISTEN/NOTIFY
dunglas Jan 27, 2020
e3fa80a
feature #35485 [Messenger] Add support for PostgreSQL LISTEN/NOTIFY (…
fabpot Feb 4, 2020
ef30ef5
Fix CS
fabpot Feb 4, 2020
0c499c6
Extracted code to expand an URI to `UriExpanderTrait`
lyrixx Jan 21, 2020
9b69b08
feature #35415 Extracted code to expand an URI to `UriExpander` (lyrixx)
fabpot Feb 4, 2020
c8725bf
feature #35167 [Notifier] Remove superfluous parameters in *Message::…
fabpot Feb 4, 2020
5eebd37
[FrameworkBundle] use framework.translator.enabled_locales to build r…
nicolas-grekas Feb 4, 2020
7a4637e
feature #35590 [FrameworkBundle] use framework.translator.enabled_loc…
fabpot Feb 4, 2020
626999c
feature #35534 [FrameworkBundle] Use MailerAssertionsTrait in KernelT…
fabpot Feb 4, 2020
753d4a2
feature #34747 [Notifier] Added possibility to extract path from prov…
fabpot Feb 4, 2020
a66b645
feature #31466 [Validator] add Validation::createCallable() (janverni…
fabpot Feb 4, 2020
22e59f3
[Messenger] fix support for abstract handlers
timiTao May 30, 2019
2aca43f
feature #31429 [Messenger] add support for abstract handlers (timiTao)
nicolas-grekas Feb 4, 2020
bbf7421
[SecurityBundle] add "service" option in remember_me firewall
Pchol Apr 28, 2019
71de431
feature #31309 [SecurityBundle] add "service" option in remember_me f…
nicolas-grekas Feb 4, 2020
056d598
[PhpUnitBridge] Fix some errors when using serialized deprecations
l-vo May 6, 2019
84d32ac
bug #33820 [PhpUnitBridge] Fix some errors when using serialized depr…
nicolas-grekas Feb 4, 2020
b1b724f
Update bootstrap_4_layout.html.twig
CoalaJoe Nov 7, 2019
fc20461
feature #34278 Update bootstrap_4_layout.html.twig (CoalaJoe)
fabpot Feb 4, 2020
6fc91eb
[DI] Fix support for multiple tags for locators and iterators
alex-dev Jan 14, 2020
a59ce75
bug #35342 [DI] Fix support for multiple tags for locators and iterat…
nicolas-grekas Feb 4, 2020
550819a
[DI] Unknown env prefix not regornized as such
ro0NL Oct 11, 2019
b1b64c1
bug #33960 [DI] Unknown env prefix not recognized as such (ro0NL)
nicolas-grekas Feb 4, 2020
5ae1384
[Messenger] fix typo
nicolas-grekas Feb 4, 2020
88b4579
[Mailer] fix typos
nicolas-grekas Feb 4, 2020
74a42d1
Merge branch '4.4' into 5.0
nicolas-grekas Feb 4, 2020
0db2b0a
Merge branch '5.0'
nicolas-grekas Feb 4, 2020
abeee5f
[Mailer] fix merge
nicolas-grekas Feb 4, 2020
7f28ff0
Merge branch '4.4' into 5.0
nicolas-grekas Feb 4, 2020
33e2735
Merge branch '5.0'
nicolas-grekas Feb 4, 2020
d7bca80
[Serializer] Add support for stdClass
dunglas Feb 5, 2020
99ca1ab
feature #35596 [Serializer] Add support for stdClass (dunglas)
chalasr Feb 5, 2020
2646fa9
[Serializer] Added missing changelog entry
chalasr Feb 5, 2020
d5302cb
Provide current file as file path
greg0ire Feb 5, 2020
b6acfae
bug #35597 [PHPunit bridge] Provide current file as file path (greg0ire)
nicolas-grekas Feb 5, 2020
b0cb757
Merge branch '4.4' into 5.0
nicolas-grekas Feb 5, 2020
115de5a
Merge branch '5.0'
nicolas-grekas Feb 5, 2020
cd8a386
[Messenger] Made final class really final
lyrixx Feb 5, 2020
0b8adc9
minor #35600 [Messenger] Made final class really final (lyrixx)
chalasr Feb 5, 2020
341dd5d
[PhpUnitBridge] fix getting the vendor/ dir for tests
nicolas-grekas Feb 5, 2020
e2dbff5
minor #35601 [PhpUnitBridge] fix getting the vendor/ dir for tests (n…
nicolas-grekas Feb 5, 2020
4350185
Merge branch '4.4' into 5.0
nicolas-grekas Feb 5, 2020
33c294f
Merge branch '5.0'
nicolas-grekas Feb 5, 2020
3bcf8cb
feature #34884 [DI] Enable auto alias compiler pass by default (X-Cod…
fabpot Feb 5, 2020
73bc793
Replace 403 with 401 in onAuthenticationFailure method
alanpoulain Feb 5, 2020
8657314
feature #32747 [Form] Add "is empty callback" to form config (fancyweb)
nicolas-grekas Feb 5, 2020
8522a83
[Routing] add priority option to annotated routes
nicolas-grekas Feb 5, 2020
f0f41cb
[Contracts/Deprecation] Provide a generic function and convention to …
nicolas-grekas Jan 30, 2020
adacae6
minor #35606 [Security] Replace 403 with 401 in `onAuthenticationFail…
nicolas-grekas Feb 5, 2020
625ec1b
Merge branch '3.4' into 4.4
nicolas-grekas Feb 5, 2020
8c596bc
feature #35526 [Contracts/Deprecation] Provide a generic function and…
fabpot Feb 5, 2020
829fc72
feature #35608 [Routing] add priority option to annotated routes (nic…
fabpot Feb 5, 2020
c31ce63
[Bridge/PhpUnit] fix parse error on PHP5
nicolas-grekas Feb 5, 2020
63bdce4
Merge branch '4.4' into 5.0
nicolas-grekas Feb 5, 2020
32f2374
Merge branch '5.0'
nicolas-grekas Feb 5, 2020
cacb503
[Bridge/PhpUnit] fix compat with recent versions of phpunit
nicolas-grekas Feb 5, 2020
29e5222
Merge branch '4.4' into 5.0
nicolas-grekas Feb 5, 2020
1db7005
Merge branch '5.0'
nicolas-grekas Feb 5, 2020
4205deb
fix conflicts
ArnaudTarroux Feb 5, 2020
2f30357
Pass since and until directly to the method parameters
ArnaudTarroux Feb 5, 2020
cedf757
Use Semver comparator
ArnaudTarroux Feb 5, 2020
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.
25 changes: 15 additions & 10 deletions .appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,25 +9,27 @@ cache:
init:
- SET PATH=c:\php;%PATH%
- SET COMPOSER_NO_INTERACTION=1
- SET SYMFONY_DEPRECATIONS_HELPER=strict
- SET "SYMFONY_REQUIRE=>=4.2"
- SET SYMFONY_DEPRECATIONS_HELPER=max[indirect]=7
- SET "SYMFONY_REQUIRE=>=4.4"
- SET ANSICON=121x90 (121x90)
- SET SYMFONY_PHPUNIT_DISABLE_RESULT_CACHE=1
- REG ADD "HKEY_CURRENT_USER\Software\Microsoft\Command Processor" /v DelayedExpansion /t REG_DWORD /d 1 /f

install:
- mkdir c:\php && cd c:\php
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.1.3-Win32-VC14-x86.zip
- 7z x php-7.1.3-Win32-VC14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php-7.2.5-Win32-VC15-x86.zip
- 7z x php-7.2.5-Win32-VC15-x86.zip -y >nul
- cd ext
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.8-7.1-ts-vc14-x86.zip
- 7z x php_apcu-5.1.8-7.1-ts-vc14-x86.zip -y >nul
- appveyor DownloadFile https://github.com/symfony/binary-utils/releases/download/v0.1/php_apcu-5.1.17-7.2-ts-vc15-x86.zip
- 7z x php_apcu-5.1.17-7.2-ts-vc15-x86.zip -y >nul
- cd ..
- copy /Y php.ini-development php.ini-min
- echo memory_limit=-1 >> php.ini-min
- echo serialize_precision=14 >> php.ini-min
- echo max_execution_time=1200 >> php.ini-min
- echo date.timezone="America/Los_Angeles" >> php.ini-min
- echo extension_dir=ext >> php.ini-min
- echo extension=php_xsl.dll >> php.ini-min
- copy /Y php.ini-min php.ini-max
- echo zend_extension=php_opcache.dll >> php.ini-max
- echo opcache.enable_cli=1 >> php.ini-max
Expand All @@ -41,10 +43,12 @@ install:
- echo extension=php_curl.dll >> php.ini-max
- copy /Y php.ini-max php.ini
- cd c:\projects\symfony
- IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/download/1.7.1/composer.phar)
- IF NOT EXIST composer.phar (appveyor DownloadFile https://github.com/composer/composer/releases/download/1.9.0/composer.phar)
- php composer.phar self-update
- copy /Y .composer\* %APPDATA%\Composer\
- copy /Y .github\composer-config.json %APPDATA%\Composer\config.json
- php composer.phar global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
- git config --global user.email ""
- git config --global user.name "Symfony"
- php .github/build-packages.php "HEAD^" src\Symfony\Bridge\PhpUnit src\Symfony\Contracts
- IF %APPVEYOR_REPO_BRANCH%==master (SET COMPOSER_ROOT_VERSION=dev-master) ELSE (SET COMPOSER_ROOT_VERSION=%APPVEYOR_REPO_BRANCH%.x-dev)
- php composer.phar update --no-progress --no-suggest --ansi
Expand All @@ -54,7 +58,8 @@ test_script:
- SET X=0
- SET SYMFONY_PHPUNIT_SKIPPED_TESTS=phpunit.skipped
- copy /Y c:\php\php.ini-min c:\php\php.ini
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
- IF %APPVEYOR_REPO_BRANCH% neq master (rm -Rf src\Symfony\Bridge\PhpUnit)
- php phpunit src\Symfony --exclude-group tty,benchmark,intl-data || SET X=!errorlevel!
- copy /Y c:\php\php.ini-max c:\php\php.ini
- php phpunit src\Symfony --exclude-group benchmark,intl-data || SET X=!errorlevel!
- php phpunit src\Symfony --exclude-group tty,benchmark,intl-data || SET X=!errorlevel!
- exit %X%
7 changes: 0 additions & 7 deletions .composer/config.json

This file was deleted.

30 changes: 17 additions & 13 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@
/src/Symfony/Component/Console/Logger/ConsoleLogger.php @dunglas
# DependencyInjection
/src/Symfony/Component/DependencyInjection/Compiler/AutowirePass.php @dunglas
# ErrorRenderer
/src/Symfony/Component/ErrorRenderer/* @yceruto
# Form
/src/Symfony/Bridge/Twig/Extension/FormExtension.php @xabbuh
/src/Symfony/Bridge/Twig/Form/* @xabbuh
/src/Symfony/Bridge/Twig/Form/ @xabbuh
/src/Symfony/Bridge/Twig/Node/FormThemeNode.php @xabbuh
/src/Symfony/Bridge/Twig/Node/RenderBlockNode.php @xabbuh
/src/Symfony/Bridge/Twig/Node/SearchAndRenderBlockNode.php @xabbuh
Expand All @@ -13,34 +15,36 @@
/src/Symfony/Bridge/Twig/Tests/TokenParser/FormThemeTokenParserTest.php @xabbuh
/src/Symfony/Bridge/Twig/TokenParser/FormThemeTokenParser.php @xabbuh
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/FormPass.php @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Resources/views/* @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Resources/views/ @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Templating/Helper/FormHelper.php @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Tests/DependencyInjection/Compiler/FormPassTest.php @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/FormHelperTableLayoutTest.php @xabbuh
/src/Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/FormHelperDivLayoutTest.php @xabbuh
/src/Symfony/Component/Form/* @xabbuh
/src/Symfony/Component/Form/ @xabbuh
# HttpKernel
/src/Symfony/Component/HttpKernel/Log/Logger.php @dunglas
# LDAP
/src/Symfony/Component/Ldap/* @csarrazi
/src/Symfony/Component/Ldap/ @csarrazi
# Lock
/src/Symfony/Component/Lock/* @jderusse
/src/Symfony/Component/Lock/ @jderusse
# Messenger
/src/Symfony/Bridge/Doctrine/Messenger/* @sroze
/src/Symfony/Component/Messenger/* @sroze
/src/Symfony/Bridge/Doctrine/Messenger/ @sroze
/src/Symfony/Component/Messenger/ @sroze
# PropertyInfo
/src/Symfony/Component/PropertyInfo/* @dunglas
/src/Symfony/Bridge/Doctrine/PropertyInfo/* @dunglas
/src/Symfony/Component/PropertyInfo/ @dunglas
/src/Symfony/Bridge/Doctrine/PropertyInfo/ @dunglas
# Serializer
/src/Symfony/Component/Serializer/* @dunglas
/src/Symfony/Component/Serializer/ @dunglas
# TwigBundle
/src/Symfony/Bundle/TwigBundle/ErrorRenderer/TwigHtmlErrorRenderer.php @yceruto
# WebLink
/src/Symfony/Component/WebLink/* @dunglas
/src/Symfony/Component/WebLink/ @dunglas
# Workflow
/src/Symfony/Bridge/Twig/Extension/WorkflowExtension.php @lyrixx
/src/Symfony/Bridge/Twig/Tests/Extension/WorkflowExtensionTest.php @lyrixx
/src/Symfony/Bundle/FrameworkBundle/Command/WorkflowDumpCommand.php @lyrixx
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/ValidateWorkflowsPass.php @lyrixx
/src/Symfony/Bundle/FrameworkBundle/DependencyInjection/Compiler/WorkflowGuardListenerPass.php @lyrixx
/src/Symfony/Component/Workflow/* @lyrixx
/src/Symfony/Component/Workflow/ @lyrixx
# Yaml
/src/Symfony/Component/Yaml/* @xabbuh
/src/Symfony/Component/Yaml/ @xabbuh
13 changes: 0 additions & 13 deletions .github/ISSUE_TEMPLATE/5_Security_issue.md

This file was deleted.

26 changes: 13 additions & 13 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
| Q | A
| ------------- | ---
| Branch? | master for features / 3.4 up to 4.2 for bug fixes <!-- see below -->
| Branch? | master for features / 3.4, 4.4 or 5.0 for bug fixes <!-- see below -->
| Bug fix? | yes/no
| New feature? | yes/no <!-- don't forget to update src/**/CHANGELOG.md files -->
| BC breaks? | no <!-- see https://symfony.com/bc -->
| Deprecations? | yes/no <!-- don't forget to update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tests pass? | yes <!-- please add some, will be required by reviewers -->
| Fixed tickets | #... <!-- #-prefixed issue number(s), if any -->
| New feature? | yes/no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | yes/no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets | Fix #... <!-- prefix each issue number with "Fix #", if any -->
| License | MIT
| Doc PR | symfony/symfony-docs#... <!-- required for new features -->

<!--
Write a short README entry for your feature/bugfix here (replace this comment block.)
This will help people understand your PR and can be used as a start of the Doc PR.
Additionally:
- Bug fixes must be submitted against the lowest branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too).
- Features and deprecations must be submitted against the master branch.
Replace this notice by a short README for your feature/bugfix. This will help people
understand your PR and can be used as a start for the documentation.

Additionally (see https://symfony.com/roadmap):
- Always add tests and ensure they pass.
- Never break backward compatibility (see https://symfony.com/bc).
- Bug fixes must be submitted against the lowest maintained branch where they apply
(lowest branches are regularly merged to upper ones so they get the fixes too.)
- Features and deprecations must be submitted against branch master.
-->
10 changes: 10 additions & 0 deletions .github/SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
Security Policy
===============

If you found any issues that might have security implications,
please send a report to security[at]symfony.com
DO NOT PUBLISH SECURITY REPORTS PUBLICLY.

The full [Security Policy][1] is described in the official documentation.

[1]: https://symfony.com/security
10 changes: 8 additions & 2 deletions .github/build-packages.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@

$packages = array();
$flags = JSON_PRETTY_PRINT | JSON_UNESCAPED_SLASHES | JSON_UNESCAPED_UNICODE;
$preferredInstall = json_decode(file_get_contents(__DIR__.'/composer-config.json'), true)['config']['preferred-install'];

foreach ($dirs as $k => $dir) {
if (!system("git diff --name-only $mergeBase -- $dir", $exitStatus)) {
Expand All @@ -42,7 +43,12 @@
$json = rtrim(json_encode(array('repositories' => $package->repositories), $flags), "\n}").','.substr($json, 1);
file_put_contents($dir.'/composer.json', $json);
}
passthru("cd $dir && tar -cf package.tar --exclude='package.tar' *");

if (isset($preferredInstall[$package->name]) && 'source' === $preferredInstall[$package->name]) {
passthru("cd $dir && tar -cf package.tar --exclude='package.tar' *");
} else {
passthru("cd $dir && git init && git add . && git commit -q -m - && git archive -o package.tar HEAD && rm .git/ -Rf");
}

if (!isset($package->extra->{'branch-alias'}->{'dev-master'})) {
echo "Missing \"dev-master\" branch-alias in composer.json extra.\n";
Expand All @@ -57,7 +63,7 @@
$versions = @file_get_contents('https://repo.packagist.org/p/'.$package->name.'.json') ?: sprintf('{"packages":{"%s":{"dev-master":%s}}}', $package->name, file_get_contents($dir.'/composer.json'));
$versions = json_decode($versions)->packages->{$package->name};

if ($package->version === str_replace('-dev', '.x-dev', $versions->{'dev-master'}->extra->{'branch-alias'}->{'dev-master'})) {
if (isset($versions->{'dev-master'}) && $package->version === str_replace('-dev', '.x-dev', $versions->{'dev-master'}->extra->{'branch-alias'}->{'dev-master'})) {
unset($versions->{'dev-master'});
}

Expand Down
10 changes: 10 additions & 0 deletions .github/composer-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"config": {
"preferred-install": {
"symfony/form": "source",
"symfony/http-kernel": "source",
"symfony/validator": "source",
"*": "dist"
}
}
}
39 changes: 39 additions & 0 deletions .github/patch-types.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<?php

if (false === getenv('SYMFONY_PATCH_TYPE_DECLARATIONS')) {
echo "Please define the SYMFONY_PATCH_TYPE_DECLARATIONS env var when running this script.\n";
exit(1);
}

require __DIR__.'/../.phpunit/phpunit-8.3-0/vendor/autoload.php';

$loader = require __DIR__.'/../vendor/autoload.php';

Symfony\Component\ErrorHandler\DebugClassLoader::enable();

foreach ($loader->getClassMap() as $class => $file) {
switch (true) {
case false !== strpos(realpath($file), '/vendor/'):
case false !== strpos($file, '/src/Symfony/Bridge/PhpUnit/'):
case false !== strpos($file, '/src/Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Validation/Article.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/BadFileName.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/BadParent.php'):
case false !== strpos($file, '/src/Symfony/Component/Config/Tests/Fixtures/ParseError.php'):
case false !== strpos($file, '/src/Symfony/Component/Debug/Tests/Fixtures/'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Compiler/OptionalServiceClass.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/ParentNotExists.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/Prototype/BadClasses/MissingParent.php'):
case false !== strpos($file, '/src/Symfony/Component/DependencyInjection/Tests/Fixtures/php/'):
case false !== strpos($file, '/src/Symfony/Component/ErrorHandler/Tests/Fixtures/'):
case false !== strpos($file, '/src/Symfony/Component/PropertyInfo/Tests/Fixtures/Dummy.php'):
case false !== strpos($file, '/src/Symfony/Component/PropertyInfo/Tests/Fixtures/ParentDummy.php'):
case false !== strpos($file, '/src/Symfony/Component/Serializer/Tests/Normalizer/Features/ObjectOuter.php'):
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/NotLoadableClass.php'):
case false !== strpos($file, '/src/Symfony/Component/VarDumper/Tests/Fixtures/Php74.php') && \PHP_VERSION_ID < 70400:
continue 2;
}

class_exists($class);
}

Symfony\Component\ErrorHandler\DebugClassLoader::checkClasses();
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
27 changes: 7 additions & 20 deletions .php_cs.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,50 +8,37 @@ 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'],
'array_syntax' => ['syntax' => 'short'],
'fopen_flags' => false,
'ordered_imports' => true,
'protected_to_private' => false,
// Part of @Symfony:risky in PHP-CS-Fixer 2.13.0. To be removed from the config file once upgrading
'native_function_invocation' => ['include' => ['@compiler_optimized'], 'scope' => 'namespaced'],
// Part of future @Symfony ruleset in PHP-CS-Fixer To be removed from the config file once upgrading
'phpdoc_types_order' => ['null_adjustment' => 'always_last', 'sort_algorithm' => 'none'],
'combine_nested_dirname' => true,
])
->setRiskyAllowed(true)
->setFinder(
PhpCsFixer\Finder::create()
->in(__DIR__.'/src')
->append([__FILE__])
->notPath('#/Fixtures/#')
->exclude([
'Symfony/Bridge/ProxyManager/Tests/LazyProxy/PhpDumper/Fixtures',
// directories containing files with content that is autogenerated by `var_export`, which breaks CS in output code
'Symfony/Component/DependencyInjection/Tests/Fixtures',
'Symfony/Component/Routing/Tests/Fixtures/dumper',
// fixture templates
'Symfony/Component/Templating/Tests/Fixtures/templates',
'Symfony/Bundle/FrameworkBundle/Tests/Fixtures/TemplatePathsCache',
'Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom',
// generated fixtures
'Symfony/Component/VarDumper/Tests/Fixtures',
'Symfony/Component/VarExporter/Tests/Fixtures',
// resource templates
'Symfony/Bundle/FrameworkBundle/Resources/views/Form',
// explicit trigger_error tests
'Symfony/Bridge/PhpUnit/Tests/DeprecationErrorHandler/',
])
// Support for older PHPunit version
->notPath('Symfony/Bridge/PhpUnit/SymfonyTestsListener.php')
->notPath('#Symfony/Bridge/PhpUnit/.*Mock\.php#')
->notPath('#Symfony/Bridge/PhpUnit/.*Legacy#')
// file content autogenerated by `var_export`
->notPath('Symfony/Component/Translation/Tests/fixtures/resources.php')
// test template
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Templating/Helper/Resources/Custom/_name_entry_label.html.php')
// explicit heredoc test
->notPath('Symfony/Bundle/FrameworkBundle/Tests/Fixtures/Resources/views/translation.html.php')
// explicit trigger_error tests
->notPath('Symfony/Component/Debug/Tests/DebugClassLoaderTest.php')
// invalid annotations on purpose
->notPath('Symfony/Component/DependencyInjection/Tests/Fixtures/includes/autowiring_classes.php')
->notPath('Symfony/Component/ErrorHandler/Tests/DebugClassLoaderTest.php')
)
;
Loading