-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Recursive denormalize using PropertyInfo #16143
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
mihai-stancu
wants to merge
650
commits into
symfony:2.8
from
mihai-stancu:recursive_denormalize_with_property_info
Closed
Changes from 1 commit
Commits
Show all changes
650 commits
Select commit
Hold shift + click to select a range
a3b921d
Merge branch '2.8'
fabpot 2925df5
[HttpKernel] removed deprecated profiler storages
fabpot 77da8ad
Merge branch '2.8'
fabpot 557e416
feature #16018 [HttpKernel] removed deprecated profiler storages (fab…
fabpot 763d478
feature #16019 [HttpFoundation] removed the ParameterBag::get() deep …
fabpot 4913362
Merge branch '2.8'
fabpot 4652a60
Merge branch '2.8'
fabpot 746ec84
Merge branch '2.8'
fabpot b02d3ab
Merge branch '2.8'
nicolas-grekas 437398d
[3.0][Security] Remove deprecated features (follow up of #15899)
Koc fc41cf0
[3.0][FrameworkBundle] Removed deprecated features
wouterj d226d35
feature #15904 [3.0][FrameworkBundle] Removed deprecated features (Wo…
fabpot 6dc3cf9
[3.0][DoctrineBridge] Removed deprecated features
wouterj 7bab317
feature #15900 [3.0][DoctrineBridge] Removed deprecated features (Wou…
fabpot 925ecaf
[Validator] removed deprecated features in Constraints
fabpot 2a6b629
[Validator] removed deprecated methods
fabpot 8fd32ba
[Validator] remove the API_VERSION
fabpot 17cedd3
[Form] removed usage of Validator deprecated features
fabpot bfba6ca
[Form] removed precision option
fabpot 582f3a3
[Form] removed deprecated FormType::getName()
fabpot 33f3400
[Form] removed deprecated features
fabpot 48d1169
feature #16024 [Validator] removed deprecated features in Validator a…
fabpot 721a267
Merge branch '2.8'
Tobion a2e154d
[HttpKernel] make RequestStack parameter required for classes that ne…
Tobion aff5af6
fix wrong merge
Tobion 215fdbe
Removed alias attribute usages
wouterj ffddafc
feature #15196 [HttpKernel] make RequestStack parameter required (Tob…
fabpot 905245f
bug #16046 [WIP][3.0][Form] Removed usage of deprecated form tag attr…
fabpot aa7d4e6
feature #16020 [CssSelector] removed the deprecated CssSelector class…
fabpot 5075e6c
[appveyor] Fix command line
nicolas-grekas 372be7e
Fix merge
nicolas-grekas a743fb6
[3.0] Remove more deprecated interfaces in Form and Validator
nicolas-grekas 5ab9954
feature #16067 [3.0] Remove more deprecated interfaces in Form and Va…
fabpot c3bad5a
Merge branch '2.8'
fabpot 7115c1e
[HttpFoundation] Request->getRequestFormat should only rely on the re…
pvandommelen 8fdb412
feature #8967 [HttpFoundation] Request->getRequestFormat should only …
fabpot 094ca41
Merge branch '2.8'
fabpot 7e3c4a6
feature #16035 [3.0][Security] Remove deprecated features (follow up …
fabpot 4067a5c
Merge branch '2.8'
fabpot e8d6764
[HttpFoundation] change precedence of parameters in Request::get
Tobion 4478cde
Merge branch '2.8'
fabpot abca2d6
[3.0] Clean Form, Validator, DowCrawler and some more
nicolas-grekas d606e76
feature #16075 [3.0] Clean Form, Validator, DowCrawler and some more …
fabpot 3b7cb33
fix validator test dependency
Tobion d128735
Fix the crawler refactoring
stof 91cab2e
bug #16086 fix validator test dependency (Tobion)
fabpot 38c059f
bug #16094 Fix the crawler refactoring (stof)
fabpot 88e2d70
feature #16076 [HttpFoundation] change precedence of parameters in Re…
fabpot 4e0c6e1
Replace is_callable checks with type hints
mpajunen 2b29602
Merge branch '2.8'
fabpot 7685cdd
Add more callable type hints
nicolas-grekas 8b15af9
feature #16125 Replace is_callable checks with type hints (mpajunen, …
fabpot 534a91c
[3.0] Various deprecations cleanups
nicolas-grekas f72a7c3
feature #16107 [3.0] Various deprecations cleanups (nicolas-grekas)
fabpot 6005fe5
Merge branch '2.8'
nicolas-grekas d5deec9
Fix merge, removing legacy TranslationSyncStatusTest
nicolas-grekas 7b80589
Merge branch '2.8'
nicolas-grekas 2da72cb
[Translation] Fix tests compat with 2.8
nicolas-grekas dc4a7df
minor #16162 [Translation] Fix tests compat with 2.8 (nicolas-grekas)
nicolas-grekas 2e11b8b
Merge branch '2.8'
nicolas-grekas 66a60f7
Merge branch '2.8'
nicolas-grekas 5b67819
Merge branch '2.8'
nicolas-grekas 133bd0a
Merge branch '2.8'
fabpot 5dbf6bc
[Yaml] removed parsing of non-escaped backslash in a double-quoted st…
fabpot c401e2a
[3.0][appveyor] load apcu and memcache
nicolas-grekas 77fcaf4
minor #16209 [3.0][appveyor] load apcu and memcache (nicolas-grekas)
nicolas-grekas 1d3a829
Merge branch '2.8'
nicolas-grekas 138654d
feature #16203 [Yaml] removed YAML parser \ escaping in double-quotes…
fabpot 38a70f3
Merge branch '2.8'
nicolas-grekas cfb15ff
Merge branch '2.8'
nicolas-grekas 2829239
Merge branch '2.8'
fabpot 82bfbf0
Merge branch '2.8'
fabpot abf389c
[Console] Add progress indicator helper
kbond 99de3fd
feature #12119 [Console] Add progress indicator helper (kbond)
fabpot f8019c8
add method getListenerPriority() to interface
xabbuh 6efcd8b
[Form] remove obsolete private method in factory
Tobion 47b64c2
minor #16308 [Form] remove obsolete private method in factory (Tobion)
fabpot 3bdcfb9
feature #16301 [EventDispatcher] add method getListenerPriority() to …
Tobion 48b25f5
Merge branch '2.8'
nicolas-grekas 3e923d0
Merge branch '2.8'
nicolas-grekas f863e6a
Fix merge
nicolas-grekas 7177080
[Form] remove deprecated `options` and `type` from CollectionType
nicolas-grekas fa78eac
minor #16230 [Form] remove deprecated `options` and `type` from Colle…
Tobion d0acda8
Merge branch '2.8'
Tobion fc2eff8
Merge branch '2.8'
Tobion 78512cc
remove polyfills for unsupported php versions
Tobion 87d5589
[Serializer] JsonEncoder: remove deprecated method
TomasVotruba cd62d17
[Security] remove deprecated SrtingUtils class
TomasVotruba b286890
fix merge. the acl is not automatically included in symfony/symfony i…
Tobion fdd70c9
feature #16390 [3.0] [Serializer] JsonEncoder: remove deprecated meth…
Tobion 87b62bb
feature #16392 [3.0] [Security] remove deprecated SrtingUtils class (…
Tobion 8ecbab9
[Security] remove obsolete test for removed StringUtils
Tobion 1db740e
feature #16381 remove polyfills for unsupported php versions (Tobion)
Tobion 358fb2d
HtmlDumperTest fixed after merge
TomasVotruba 5d4b5b4
PhpEngine: remove deprecated method
TomasVotruba bc0c8c1
Merge branch '2.8'
fabpot a42a872
minor #16396 [3.0] [VarDumper] Tests fixed (TomasVotruba)
Tobion d05023b
feature #16400 [3.0] [Templating] remove deprecated method (TomasVotr…
Tobion 04eda70
Merge branch '2.8'
fabpot 0f6e478
Merge branch '2.8'
nicolas-grekas 3f0bb90
Merge branch '2.8'
nicolas-grekas bceb2d9
Merge branch '2.8'
nicolas-grekas d67feb4
Merge branch '2.8'
nicolas-grekas 52c50e3
Remove abstract class and use Interface+Trait
blanchonvincent e337ce6
Remove deprecated ContainerAware class and make use of the trait in a…
Tobion 24ff770
[TwigBundle] use ContainerAwareTrait in commands
Tobion 2309901
[VarDumper] replace VarDumperTestCase by trait
Tobion f75a940
[VarDumper] fix filename
Tobion 2c9a417
Stop faking versions in the root composer.json
nicolas-grekas 697e6da
feature #16411 [3.0] use ContainerAwareTrait (blanchonvincent, Tobion)
nicolas-grekas e0146ed
minor #15432 Stop faking versions in the root composer.json (nicolas-…
nicolas-grekas 4a177d7
Merge branch '2.8'
nicolas-grekas 834218e
[Console] End of options (--) signal support
Seldaek 4acfc3e
feature #11431 [Console] End of options (--) signal support (Seldaek)
fabpot 53f4fd5
[FwB] Fix tests on Windows
nicolas-grekas 479a42d
minor #16475 [FrameworkBundle] Fix tests on Windows (nicolas-grekas)
fabpot b1ad623
Merge branch '2.8'
nicolas-grekas f763cc3
Merge branch '2.8'
nicolas-grekas d33879a
Merge branch '2.8'
nicolas-grekas 1c1c4e7
Merge branch '2.8'
nicolas-grekas 4e98d89
Merge branch '2.8'
nicolas-grekas 5aa4a3b
Remove some more legacy code
nicolas-grekas f37932c
feature #16516 Remove some more legacy code (nicolas-grekas)
fabpot 779833b
Merge branch '2.8'
fabpot 6f2782b
Revert removal of framework.csrf_protection section
wouterj e5928f7
bug #16521 [3.0] Revert removal of framework.csrf_protection section …
fabpot 8191541
Merge branch '2.8'
Tobion 803c8f1
updated CHANGELOG for 3.0.0-BETA1
fabpot d96ccf7
updated VERSION for 3.0.0-BETA1
fabpot bd54cb4
Merge pull request #16560 from fabpot/release-3.0.0-BETA1
fabpot 9835236
bumped Symfony version to 3.0.0
fabpot 2abbb8a
Merge branch '2.8'
nicolas-grekas dba51b4
Merge branch '2.8'
nicolas-grekas b06b93f
[HttpFoundation] Remove not existing class member
belka-ew 4d2ea16
Merge branch '2.8'
nicolas-grekas 4ffe14c
[HttpFoundation] Remove deprecated class method parameter
belka-ew 06959c0
bug #16607 [HttpFoundation] Delete not existing session handler proxy…
fabpot 45fe468
Merge branch '2.8'
fabpot 42c9a48
Removed unneeded polyfill from the master
GrahamCampbell c6f2b65
feature #16637 [3.0] Removed unneeded polyfill (GrahamCampbell)
Tobion b859d95
Merge branch '2.8'
nicolas-grekas a862e5e
[Debug] remove unused use statement
Tobion cc26454
fix type assignement
rande cd0ffc9
bug #16615 fix type assignement (rande)
fabpot 5183c88
Merge branch '2.8'
nicolas-grekas 327a52d
Merge branch '2.8'
nicolas-grekas 1ab7316
[DI] use try-finally for container
Tobion 8988409
minor #16663 [Debug] remove unused use statement (Tobion)
fabpot c9fbff0
minor #16686 [DI] use try-finally for container (Tobion)
fabpot fc66283
[SecurityBundle] make ACL an optional dependency
Tobion d258ee8
feature #16694 [SecurityBundle] make ACL an optional dependency (Tobion)
fabpot 0468f74
Merge branch '2.8'
fabpot 9b9fa3d
Merge branch '2.8'
fabpot 42a75bc
[Process] Remove PHP_BINARY existence check
ogizanagi aa4bc47
Merge branch '2.8'
nicolas-grekas 4603e64
feature #16629 [HttpFoundation] Remove deprecated class method parame…
nicolas-grekas 743e670
Merge branch '2.8'
nicolas-grekas ba3afdb
Merge branch '2.8'
nicolas-grekas 380ce60
Merge branch '2.8'
nicolas-grekas 5bc34d2
[Form] Drop remaing CsrfProviderAdapter/Interface mentions
nicolas-grekas ed0e26a
[Form] Remove choices_as_values option on ChoiceType
nicolas-grekas 812396d
[Security] remove deprecated HTTP digest auth key
xabbuh 0108cd4
remove unused abstract test classes
xabbuh c4501c5
feature #16719 [Security] remove deprecated HTTP digest auth key (xa…
fabpot 2a22d86
minor #16721 [DoctrineBridge] remove unused abstract test classes (xa…
fabpot 26c17f6
feature #16692 [Form] Drop remaing CsrfProviderAdapter/Interface ment…
fabpot 8334952
feature #16715 [Form] Remove choices_as_values option on ChoiceType (…
fabpot 7ba5f7a
Merge branch '2.8'
fabpot d834cd3
Added getBlockPrefix to FormTypeInterface
wouterj 8add405
[Form] Removed useless code
webmozart c2b54bb
Merge branch '2.8'
nicolas-grekas b5b1d50
minor #16707 [Process] Remove PHP_BINARY existence check (ogizanagi)
fabpot 4a2aea0
[Form] remove deprecated getTimezones() method
xabbuh 4e1effe
feature #16727 [Form] remove deprecated getTimezones() method (xabbuh)
fabpot f2ee561
feature #16724 [3.0] Added getBlockPrefix to FormTypeInterface (WouterJ)
fabpot 6e6ac49
Merge branch '2.8'
fabpot d641fc5
[Form] remove deprecated CSRF options
xabbuh 445bdad
feature #16725 [Form] Removed useless code (webmozart)
Tobion 07ac122
feature #16723 [Form] remove deprecated CSRF options (xabbuh)
Tobion fa9fd26
[Form] removed unused base test case
xabbuh 2cb7498
minor #16728 [Form] removed unused base test case (xabbuh)
nicolas-grekas a3f48a5
[Bridge/Twig] Fix legacy test
nicolas-grekas 9952ef9
Merge branch '2.8'
nicolas-grekas ab2044f
Merge branch '2.8'
nicolas-grekas 7e89345
[Form] Added getBlockPrefix() to ResolvedFormTypeInterface
webmozart bcfacac
minor #16749 [Form] Added getBlockPrefix() to ResolvedFormTypeInterfa…
Tobion a23444a
Merge branch '2.8'
fabpot 9054bdf
allow arbitrary types in VoterInterface::vote()
xabbuh 70f7b1c
feature #16754 [Security] allow arbitrary types in VoterInterface::vo…
fabpot f20f2f0
Merge branch '2.8'
fabpot fdb419e
Merge branch '2.8'
nicolas-grekas 1ea281f
Merge branch '2.8'
nicolas-grekas ee739ae
fixed EOM/EOL dates
fabpot 2e3f1cc
Merge branch '2.8'
fabpot af74da5
updated CHANGELOG for 3.0.0
fabpot a882401
updated CHANGELOG for 3.0.0
fabpot 72c6b83
updated VERSION for 3.0.0
fabpot eb2a4f5
Merge pull request #16766 from fabpot/release-3.0.0
fabpot 7b8865b
bumped Symfony version to 3.0.1
fabpot 582f475
updated version to 3.1
fabpot e80e5dc
[DomCrawler] add upgrade hint on interface changes
havvg d9393d8
Reapply the Yaml bugfix of #16745
stof 1552a70
bug #16788 Reapply the Yaml bugfix of #16745 (stof)
stof bc20af2
[Config] Throw an exception when using cannotBeEmpty() on numeric or …
GuilhemN 32d5c78
bug #16816 [Config] Throw an exception when using cannotBeEmpty() wit…
stof 77b1ab2
minor #16774 [DomCrawler] add upgrade hint on interface changes (havvg)
stof b297a0c
[Form] document changes to form type interfaces
xabbuh 39ed359
minor #16752 [Form] document changes to form type interfaces (xabbuh)
stof e0eb6d4
Merge branch '2.8' into 3.0
stof 115b745
Merge branch '3.0'
stof d553264
Merge branch '2.8' into 3.0
stof d859e0e
Merge branch '3.0'
stof 05aff6a
Merge branch '2.8' into 3.0
stof c3b60a9
Merge branch '3.0'
stof 99884c7
Merge branch '2.8' into 3.0
nicolas-grekas b1c774f
simplify debug error_reporting levels given php version > 5.3
Tobion c1bfa46
Merge branch '2.8' into 3.0
nicolas-grekas 45e26ca
Merge branch '3.0'
nicolas-grekas 8a2c757
return ajax collector to collectors.php
NothingWeAre bb1c6f6
bug #16953 return ajax collector to collectors.php (NothingWeAre)
stof 7528134
Removed ESI instance check
voronkovich 605e133
bug #16970 [HttpKernel] HttpCache: remove an ESI instance checking (v…
Tobion ac15454
[FrameworkBundle][HttpKernel] Remove remaining $triggerDeprecation flag
ogizanagi be381af
minor #16992 [FrameworkBundle][HttpKernel] Remove remaining $triggerD…
Tobion 9aa5507
[Form] Deprecate the "choices_as_values" option of ChoiceType
nicolas-grekas 06dd574
Merge branch '2.8' into 3.0
Tobion e612b92
Merge branch '3.0'
Tobion 3d0c4dd
[FrameworkBundle] fixes outdated phpdoc on Controller::createForm() m…
2a99121
feature #16994 [Form] Deprecate the "choices_as_values" option of Cho…
nicolas-grekas a6c0025
minor #17033 [FrameworkBundle] fixes outdated phpdoc on Controller::c…
nicolas-grekas f6f8819
Merge branch '2.8' into 3.0
nicolas-grekas 28e0f7b
Merge branch '3.0'
nicolas-grekas 1ccdf66
minor #16916 [Debug] simplify error_reporting levels given php versio…
fabpot f9ba2cd
Merge branch '2.8' into 3.0
nicolas-grekas 1509ec9
Merge branch '3.0'
nicolas-grekas 6508b3d
Fix typo in changelog
EVODelavega 7491c25
minor #17083 Fix typo in changelog (EVODelavega)
fabpot 3a32b03
[Serializer] Add a MaxDepth option
dunglas dd25bc1
[Serializer] Fix annotation loader
dunglas e2b5db2
[Serializer] Fix some comments
dunglas c327e6e
[Serializer] Remove crap from AbstractNormalizer
dunglas e18584d
[Serializer] One more elseif
dunglas 98ff26a
[Serializer] Add missing typehint
dunglas 328795d
Greater than 0
dunglas a783ffa
Exception wording
dunglas 9e87f51
Comment typo
dunglas ff45c63
Remove coopTilleuls value
dunglas a714e5c
Recursive denormalize using PropertyInfo
bbc0adf
Recursive denormalize using PropertyInfo
56a575f
Recursive denormalize using PropertyInfo
mihai-stancu File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Recursive denormalize using PropertyInfo
- Refactoring: - Extract method for property denormalization - Guard clauses - Avoid else/elseif - 2 indents per function - CS fix
- Loading branch information
There are no files selected for viewing
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
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
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be merged above check:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm trying to limit the indenting depth and avoid deeply nested logic. The refactoring was targeted at this.