-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[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
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
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. |
A new attempt to #53160, now that
symfony/type-info
is not experimental anymore.Deprecates:
Type
class in favor of theType
class ofsymfony/type-info
PropertyTypeExtractorInterface::getTypes()
in favor of thePropertyTypeExtractorInterface::getType()
methodConstructorArgumentTypeExtractorInterface::getTypesFromConstructor()
in favor of theConstructorArgumentTypeExtractorInterface::getTypeFromConstructor()
methodThe work for upgrading dependent packages has begun already:
Type
ofTypeInfo
instead ofPropertyInfo
api-platform/core#6979Type
ux#2607