-
-
Notifications
You must be signed in to change notification settings - Fork 9.8k
[PropertyInfo] Deprecate Type
#59902
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
Conversation
|
I think your tests should expect deprecations as well by using the |
efaf7fe to
a9d3291
Compare
|
Indeed, that'll be great! Updated. |
src/Symfony/Bridge/Doctrine/Tests/PropertyInfo/DoctrineExtractorTest.php
Outdated
Show resolved
Hide resolved
chalasr
left a comment
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.
🎉 (2 minor comments)
a9d3291 to
3decf95
Compare
nicolas-grekas
left a comment
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.
rebase needed
3decf95 to
f819aed
Compare
|
Thank you @mtarld. |
This PR was merged into the 8.0 branch. Discussion ---------- [PropertyInfo] Remove PropertyInfo's `Type` | Q | A | ------------- | --- | Branch? | 8.0 | Bug fix? | no | New feature? | no | Deprecations? | no | Issues | | License | MIT Remove code deprecated in #59902 Commits ------- 2024789 [PropertyInfo] Remove deprecated code
A new attempt to #53160, now that
symfony/type-infois not experimental anymore.Deprecates:
Typeclass in favor of theTypeclass ofsymfony/type-infoPropertyTypeExtractorInterface::getTypes()in favor of thePropertyTypeExtractorInterface::getType()methodConstructorArgumentTypeExtractorInterface::getTypesFromConstructor()in favor of theConstructorArgumentTypeExtractorInterface::getTypeFromConstructor()methodThe work for upgrading dependent packages has begun already:
TypeofTypeInfoinstead ofPropertyInfoapi-platform/core#6979PropertyTypeExtractorInterface::getTypes()deprecation, use TypeInfo ^7.2Typeux#2607