- Notifications
You must be signed in to change notification settings - Fork9.7k
[WIP] [Serializer] Allow deserializingunion types properly#45824
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Closed
Uh oh!
There was an error while loading.Please reload this page.
Closed
Changes from2 commits
Commits
Show all changes
9180 commits Select commitHold shift + click to select a range
5760694 [Notifier] Fix encoding of messages with FreeMobileTransport
94noni4565edb bug #45185 [Notifier] Fix encoding of messages with FreeMobileTranspo…
nicolas-grekas27d9eff [Serializer] Fix AbstractObjectNormalizer not considering pseudo type…
ThomasNunninger1199672 bug #45154 [Serializer] Fix AbstractObjectNormalizer not considering …
nicolas-grekase108a7f Merge branch '4.4' into 5.3
nicolas-grekas1f29087 [Dotenv] Fix bootEnv() override with .env.local.php when the env key …
fancyweb3174426 Merge branch '4.4' into 5.3
nicolas-grekasccd85fe Fix Choice constraint with associative choices array
derrabus5044a0a bug #44860 [Validator] Fix Choice constraint with associative choices…
nicolas-grekas06ada78 Merge branch '5.3' into 5.4
nicolas-grekas5cad3b6 bug #44987 [DoctrineBridge] [5.4] Fix automapping (mbabker)
nicolas-grekas4153af6 [Yaml] Improve the deprecation warnings for octal numbers to suggest …
stof34a0893 minor #45085 [Yaml] Improve the deprecation warnings for octal number…
nicolas-grekasd108ac5 [Finder] Fix finding VCS re-included files in excluded directory
julienfalque79d1101 bug #45095 [Finder] Fix finding VCS re-included files in excluded dir…
nicolas-grekas9b7aac3 bug #45188 [Dotenv] Fix bootEnv() override with .env.local.php when t…
nicolas-grekasd9c291a Merge branch '5.4' into 6.0
nicolas-grekascf40864 cs fix
nicolas-grekas0eeb392 Merge branch '5.3' into 5.4
nicolas-grekasaf01fde [Cache] fix merge
nicolas-grekas0460f81 [Runtime] Fix --env and --no-debug with dotenv_overload
fancyweb5bb11d5 bug #44997 [Runtime] Fix --env and --no-debug with dotenv_overload (f…
nicolas-grekas2e1defc Merge branch '5.4' into 6.0
nicolas-grekas1855798 [FrameworkBundle] Fix missing arguments when a serialization default …
ArnoudThibaut111459e bug #45193 [FrameworkBundle] Fix missing arguments when a serializati…
nicolas-grekasb047a2d [HttpKernel] Fix session test cases for symfony
alexander-schranzbca341f minor #45192 [HttpKernel] Fix session test cases for symfony (alexand…
nicolas-grekasab0f31d [DoctrineBridge] fix tests
nicolas-grekas062868b Merge branch '5.4' into 6.0
nicolas-grekas28e5b42 [HttpKernel] fix tests
nicolas-grekasdf05836 [Lock] fix transient test
nicolas-grekas96215b1 Merge branch '5.4' into 6.0
nicolas-grekasa4af465 [Lock] fix transient test
nicolas-grekas47cd37a Merge branch '5.4' into 6.0
nicolas-grekasd0be783 Update CHANGELOG for 5.3.14
fabpot094b462 Update VERSION for 5.3.14
fabpot61aa4c2 Merge pull request #45216 from fabpot/release-5.3.14
fabpot224eb7d Bump Symfony version to 5.3.15
fabpot15c6c16 Update CHANGELOG for 5.4.3
fabpot83c7e70 Update VERSION for 5.4.3
fabpot74f3355 Merge pull request #45217 from fabpot/release-5.4.3
fabpotbba4c8d Bump Symfony version to 5.4.4
fabpota0fd3b3 Update CHANGELOG for 6.0.3
fabpot3ddec04 Update VERSION for 6.0.3
fabpotc0f8717 Merge pull request #45220 from fabpot/release-6.0.3
fabpotb2c742d Bump Symfony version to 6.0.4
fabpotf0ffb77 Enable CSRF in FORM by default
jderusse0c7f80a Merge branch '5.3' into 5.4
nicolas-grekas288a4b2 Merge branch '5.4' into 6.0
nicolas-grekasdcfb493 security #cve-2022-xxxx [FrameworkBundle] Enable CSRF in FORM by defa…
nicolas-grekas184026d Merge branch '5.3' into 5.4
nicolas-grekas2015ac8 Merge branch '5.4' into 6.0
nicolas-grekas2798217 Update CHANGELOG for 5.3.15
fabpot053d5bb Update VERSION for 5.3.15
fabpot9447827 Merge pull request #45237 from fabpot/release-5.3.15
fabpot0ea401c Update CHANGELOG for 5.4.4
fabpot460e905 Update VERSION for 5.4.4
fabpotd7915d0 Merge pull request #45238 from fabpot/release-5.4.4
fabpotd6cf082 Bump Symfony version to 5.4.5
fabpot2284cc2 Update CHANGELOG for 6.0.4
fabpot22118d2 Update VERSION for 6.0.4
fabpot82e8d23 Merge pull request #45239 from fabpot/release-6.0.4
fabpot39195b7 Bump Symfony version to 6.0.5
fabpotc0eede4 [DoctrineBridge] Fix compatibility with doctrine/orm 3 in Id generators
ostroluckya02a8e3 bug #45243 [DoctrineBridge] Fix compatibility with doctrine/orm 3 in …
derrabus1fc7a60 Merge branch '4.4' into 5.4
derrabus3f168c7 Merge branch '5.3' into 5.4
derrabus61cf298 Merge branch '5.4' into 6.0
derrabus4335056 Merge branch '4.4' into 5.4
nicolas-grekas4a31c29 Merge branch '5.4' into 6.0
nicolas-grekasef0efcc fix merge
nicolas-grekas0771187 Merge branch '5.4' into 6.0
nicolas-grekas6b8839d [Routing] AnnotationDirectoryLoader::load() may return null
mhujer8588f4b cs fix
nicolas-grekas9de4c0d Merge branch '5.4' into 6.0
nicolas-grekas98e6d82 fix merge
nicolas-grekas90e24fb Merge branch '5.4' into 6.0
nicolas-grekasd54ef8c bug #45263 [Routing] AnnotationDirectoryLoader::load() may return nul…
derrabusae62a78 [Mailer] allow Mailchimp to handle multiple TagHeader's
kbond84b7cb4 [Postmark] ensure only a single tag can be used with Postmark
kbond6413b64 bug #45275 [Mailer] ensure only a single tag can be used with Postmar…
fabpotd7da823 bug #45274 [Mailer] allow Mailchimp to handle multiple TagHeader's (k…
fabpot9f7909b [Notifier] fix Microsoft Teams webhook url
christophkoenigb400f80 bug #45290 [Notifier] fix Microsoft Teams webhook url (christophkoenig)
fabpot96b67b2 [WebProfilerBundle] Fixes weird spacing in log message context/trace …
jennevdmeer56dd927 bug #45219 [WebProfilerBundle] Fixes weird spacing in log message con…
fabpot1c60a5a [HttpKernel] Fix FileLinkFormatter with empty xdebug.file_link_format
fancyweb5fbb217 Added `kernel.event_listener` to the default list of behavior describ…
LANGERGabrielle5e1a2cb [HttpKernel] Fixed error count by log not displayed in WebProfilerBundle
SVillette5cb5880 bug #45302 [HttpKernel][WebProfilerBundle] Fixed error count by log n…
fabpot45a09a8 bug #45299 [DependencyInjection] Fix AsEventListener not working on d…
fabpot8db1135 bug #45298 [HttpKernel] Fix FileLinkFormatter with empty xdebug.file_…
fabpote0b5ce1 Merge branch '4.4' into 5.4
nicolas-grekas643fa65 Merge branch '4.4' into 5.4
nicolas-grekasa6627af [Semaphore] fix tests
nicolas-grekas4bcd943 Merge branch '5.4' into 6.0
nicolas-grekasc1311c6 Fix merge
nicolas-grekascf8db14 Fix generic type for FormErrorIterator
akalineskou2e32f2f bug #45322 Fix generic type for FormErrorIterator (akalineskou)
fabpot49352e0 [Security] Fix wrong authenticator class in debug logs
chalasr0fc8f7a bug #45331 [Security] Fix wrong authenticator class in debug logs (c…
fabpota44c70e Merge branch '4.4' into 5.4
derrabusa53af95 Merge branch '5.4' into 6.0
derrabusc3b7bf2 [Console] Fix typo in completion command help text
DAcodedBEAT89d04a9 Merge branch '4.4' into 5.4
nicolas-grekas2626d8b Merge branch '5.4' into 6.0
nicolas-grekas163a65c Merge branch '4.4' into 5.4
nicolas-grekasa050d32 minor #45362 [Console] Fix typo in completion command help text (DAco…
nicolas-grekasccd9916 [Console] fix tests
nicolas-grekas554980c Merge branch '5.4' into 6.0
nicolas-grekas402fdd0 Merge branch '4.4' into 5.4
nicolas-grekasba413e1 Merge branch '5.4' into 6.0
nicolas-grekase831aa7 [Serializer] Ensuring end of line character apply with constructor se…
c5be706 bug #45391 [Serializer] Ensuring end of line character apply with con…
nicolas-grekas1189063 Merge branch '4.4' into 5.4
nicolas-grekas698019d Merge branch '4.4' into 5.4
nicolas-grekas6f81bf8 Merge branch '5.4' into 6.0
nicolas-grekas3784dbc Merge branch '4.4' into 5.4
nicolas-grekas9045ad4 Merge branch '5.4' into 6.0
nicolas-grekas4075269 [Runtime] Fix dotenv_overload with commands
fancyweb20111d2 bug #45426 [Runtime] Fix dotenv_overload with commands (fancyweb)
nicolas-grekas5a9399f [Serializer] Remove unnecessary break
fancyweb376abbe [Dotenv] Fix reading config for symfony/runtime when running dump com…
nicolas-grekasadb7a40 minor #45428 [Serializer] Remove unnecessary break (fancyweb)
fancywebb244a06 [Security/Http] Fix getting password-upgrader when user-loader is a c…
nicolas-grekas579ed91 bug #45463 [Security/Http] Fix getting password-upgrader when user-lo…
nicolas-grekas2131224 bug #45430 [Dotenv] Fix reading config for symfony/runtime when runni…
nicolas-grekas92d183e Merge branch '4.4' into 5.4
nicolas-grekasd27eab5 [Filesystem] Update some PHPDoc of the Path class
javiereguiluz8eb1af3 minor #45497 [Filesystem] Update some PHPDoc of the Path class (javie…
nicolas-grekasfe6a247 Merge branch '4.4' into 5.4
nicolas-grekasccacbf2 [Messenger] Fix dealing with unexpected payload in Redis transport
nicoalonso49b6d7f bug #45279 [Messenger] Fix dealing with unexpected payload in Redis t…
nicolas-grekas42cef49 Merge branch '5.4' into 6.0
nicolas-grekasfe1cedf Merge branch '4.4' into 5.4
nicolas-grekas32a0f50 [Lock] Release Locks from Internal Store on Postgres waitAndSave*
chrisguitarguy87a1a34 bug #45526 [Lock] Release Locks from Internal Store on Postgres waitA…
nicolas-grekas8b623e6 Merge branch '5.4' into 6.0
nicolas-grekasaaa5237 [Validator] Fix AssertingContextualValidator when there is no expecta…
fancyweb255dacc minor #45543 [Validator] Fix AssertingContextualValidator when there …
nicolas-grekas83d6393 Merge branch '5.4' into 6.0
nicolas-grekas74719e7 [Console] Fix null handling in formatAndWrap()
derrabus98b46a6 Extend Symfony 6.0 EOL
fabpotc7daac4 minor #45550 Extend Symfony 6.0 EOL (fabpot)
fabpot1765f3f bug #45546 [Console] Fix null handling in formatAndWrap() (derrabus)
fabpotb6e8cf7 [Validator] Multi decimal to alpha for CssColor validator
d2ab9cf bug #44967 [Validator] Multi decimal to alpha for CssColor validator …
fabpot98a7937 Merge branch '4.4' into 5.4
nicolas-grekasafa6b85 Merge branch '5.4' into 6.0
nicolas-grekas12aec87 Fix link not present
94noni1c3b266 [WebProfilerBundle] Log section minor fixes (missing "notice" filter,…
Amunak30aeb85 bug #45351 [WebProfilerBundle] Log section minor fixes (missing "noti…
fabpot9bc4468 minor #45558 [Intl] Fix link not present (94noni)
fabpot80bd630 Merge branch '4.4' into 5.4
nicolas-grekasfdfa40e Merge branch '4.4' into 5.4
nicolas-grekasb8e310e Merge branch '5.4' into 6.0
nicolas-grekasc83febc [Filesystem] Replace occurrences of `operation system` to `operating …
alexandre-daubois45b6020 minor #45568 [Filesystem] Replace occurrences of `operation system` t…
fabpotdcd4c1b Merge branch '5.4' into 6.0
fabpotd330a04 Update CHANGELOG for 5.4.5
fabpot09e2ee6 Update VERSION for 5.4.5
fabpot54cd033 Merge pull request #45577 from fabpot/release-5.4.5
fabpot7338258 Bump Symfony version to 5.4.6
fabpotb4bba32 Update CHANGELOG for 6.0.5
fabpota49d523 Update VERSION for 6.0.5
fabpota9c2c8a Merge pull request #45578 from fabpot/release-6.0.5
fabpot731a1db Bump Symfony version to 6.0.6
fabpota6cb053 Merge branch '4.4' into 5.4
derrabusb4b87d2 Merge branch '5.4' into 6.0
derrabusb5b86dd [FrameworkBundle] require ext-sodium in tests
nicolas-grekas6d440d5 Merge branch '4.4' into 5.4
nicolas-grekas1f68723 minor #45584 [FrameworkBundle] require ext-sodium in tests (nicolas-g…
nicolas-grekase978194 [Console] Revert StringInput bc break from #45088
bobthecow84f0d0e bug #45590 [Console] Revert StringInput bc break from #45088 (bobthecow)
fabpotc337670 Update CHANGELOG for 5.3.16
fabpot0116b3c Update VERSION for 5.3.16
fabpota57252f Merge pull request #45591 from fabpot/release-5.3.16
fabpot5af3392 Merge branch '5.3' into 5.4
derrabuse212fd9 Merge branch '5.4' into 6.0
derrabus6553e07 Merge branch '4.4' into 5.4
nicolas-grekasc028b50 Fix merge
nicolas-grekas8ae5487 Merge branch '5.4' into 6.0
nicolas-grekas64fd29f Merge branch '4.4' into 5.4
nicolas-grekas83d32b1 Fix merge
nicolas-grekasad308c1 Merge branch '5.4' into 6.0
nicolas-grekas1f37bb8 Fix merge
nicolas-grekas96c8e7a -
nicolas-grekas4ae613e -
nicolas-grekasa7e1a27 Merge branch '5.4' into 6.0
nicolas-grekas3e209c3 [HttpKernel] Fix advertizing deprecations for *TestSessionListener
nicolas-grekas1027465 do not pass DBAL connections to PDO adapters
xabbuh7cecf52 bug #45637 [Cache] do not pass DBAL connections to PDO adapters (xabbuh)
nicolas-grekas758539a [redis-messenger] remove undefined array key warnings
PhilETaylore091d74 bug #45619 [redis-messenger] remove undefined array key warnings (Phi…
nicolas-grekas309998b [FrameworkBundle] Fix compiler passes processing a container twice wh…
LANGERGabrielle924b5ba Merge branch '4.4' into 5.4
fabpote7030ad Merge branch '5.4' into 6.0
fabpote073bfc Update CHANGELOG for 5.4.6
fabpot11bb129 Update VERSION for 5.4.6
fabpot9c76074 Merge pull request #45654 from fabpot/release-5.4.6
fabpotca27974 Bump Symfony version to 5.4.7
fabpot0f25256 Update CHANGELOG for 6.0.6
fabpot07e8500 Update VERSION for 6.0.6
fabpot4d1a5fd Merge pull request #45655 from fabpot/release-6.0.6
fabpota14ccba Bump Symfony version to 6.0.7
fabpota3730d7 Fix tests
nicolas-grekas30a6a71 Merge branch '4.4' into 5.4
nicolas-grekase4b3a32 Merge branch '5.4' into 6.0
nicolas-grekasc4d5b04 reflect Cache component version dependent default value in test
xabbuh8a3de22 minor #45659 reflect Cache component version dependent default value …
xabbuh757d62b Merge branch '5.4' into 6.0
xabbuh2da78ce minor #45615 [HttpKernel] Fix advertizing deprecations for *TestSessi…
nicolas-grekas448cc3a [HttpKernel] fix using Target with controller args
kbond2aa63d1 bug #45572 [HttpKernel] fix using Target attribute with controller ar…
nicolas-grekasa39f4f3 [Runtime] Fix passing $debug parameter to `ErrorHandler`
Kocal5f1e0c8 bug #45629 [FrameworkBundle] Fix container:lint and #[Autoconfigure(b…
nicolas-grekasdaa8283 bug #45675 [Runtime] Fix passing $debug parameter to `ErrorHandler` (…
nicolas-grekas1a13a57 Merge branch '4.4' into 5.4
fabpot3f2870e Merge branch '5.4' into 6.0
fabpotb30675a Revert "Fix colors for 4.4"
fabpotc58b038 Merge branch '5.4' into 6.0
fabpot978d1a0 [Serializer] Fix nested deserialization_path computation when there i…
fancywebd892a51 Fix return value of `NullToken::getUser()`
chalasr1468c5b typehint of DkimOptions algorithm wrong
markusramsakb51ce8e bug #45719 typehint of DkimOptions algorithm wrong (markusramsak)
fabpot486a39c bug #45697 [Security] Fix return value of `NullToken::getUser()` (cha…
fabpotaa1e12c [symfony/mailjet-mailer] Fix invalid mailjet error managment
alamiraultb7e878c bug #45564 [symfony/mailjet-mailer] Fix invalid mailjet error managme…
fabpot08ddac5 Make FormErrorIterator generic
VincentLangletfc4700f bug #45696 Make FormErrorIterator generic (VincentLanglet)
fabpotd63e0fe Merge branch '4.4' into 5.4
derrabus480ab47 Merge branch '5.4' into 6.0
derrabus69c1bdb fix: stringify from address for ses+api transport
everyxed9f973 bug #45691 [Mailer] fix: stringify from address for ses+api transport…
fabpot5b46cb9 bug #45684 [Serializer] Fix nested deserialization_path computation w…
nicolas-grekas4810066 [RateLimiter] Fix rate serialization for long intervals (monthly and …
smelesh5b56d4e bug #45764 [RateLimiter] Fix rate serialization for long intervals (m…
fabpot3b87ef9 Merge branch '4.4' into 5.4
nicolas-grekas2ed7d0d Merge branch '5.4' into 6.0
nicolas-grekas1a2def3 Merge branch '4.4' into 5.4
nicolas-grekas326944d bug #45043 [ErrorHandler] ignore ``@return`` when there is an ``@temp…
nicolas-grekas5e4151f Merge branch '5.4' into 6.0
nicolas-grekas1264225 [Config] Fix using null values with config builders
HypeMC183d676 Merge branch '4.4' into 5.4
nicolas-grekas6afaa8c bug #45789 [Config] Fix using null values with config builders (HypeMC)
nicolas-grekas5439bf2 [FrameworkBundle] Fix exit codes in debug:translation command
gndk21cd0af bug #45787 [FrameworkBundle] Fix exit codes in debug:translation comm…
nicolas-grekas2de0ebe Merge branch '4.4' into 5.4
nicolas-grekasee2c59b Merge branch '5.4' into 6.0
nicolas-grekas18df2f6 [Serializer] Allow denormalizing `union` types properly
T-bondFile filter
Filter by extension
Conversations
Failed to load comments.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Jump to
Jump to file
Failed to load files.
Loading
Uh oh!
There was an error while loading.Please reload this page.
Diff view
Diff view
There are no files selected for viewing
15 changes: 10 additions & 5 deletionssrc/Symfony/Bundle/FrameworkBundle/Command/TranslationDebugCommand.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
31 changes: 24 additions & 7 deletionssrc/Symfony/Bundle/FrameworkBundle/Tests/Command/TranslationDebugCommandTest.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.