-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Validator] Fix regression with class metadatada on parent classes #50788
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
rmikalkenas
commented
Jun 27, 2023
Q | A |
---|---|
Branch? | 5.4 |
Bug fix? | yes |
New feature? | no |
Deprecations? | no |
Tickets | Fix #50780 |
License | MIT |
488b254
to
e17a862
Compare
05b8978
to
60bd664
Compare
|
60bd664
to
2ba0f57
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.
For deps=high, the failure is a false positive.
For deps=low, it's something we need to figure out.
I force-pushed a minor change, see https://github.com/symfony/symfony/compare/60bd66422334099482c110206619eb54cd187c0a..2ba0f57c655ab9921cbaeeb2c60bdb7de781f23c
You can reproduce the issue locally by requiring orm ~2.15.0
:
COMPOSER_ROOT_VERSION=5.4.x-dev composer require --dev doctrine/orm:~2.15.0
./phpunit src/Symfony/Bridge/Doctrine/ --filter testLoadClassMetadata
Does this help?
2ba0f57
to
ffdc177
Compare
ffdc177
to
e98f5f2
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.
I figured out the proper fix on DoctrineLoader.
Thank you @rmikalkenas. |