-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Translation] Fix for resolving Constraint Validator FQCN defined as %foo.bar.class% parameters #48846
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
[Translation] Fix for resolving Constraint Validator FQCN defined as %foo.bar.class% parameters #48846
Conversation
Hey! Thanks for your PR. You are targeting branch "6.3" but it seems your PR description refers to branch "6.2". Cheers! Carsonbot |
1de47b6
to
991aed9
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.
Please add a test that covers your change.
src/Symfony/Component/Translation/DependencyInjection/TranslatorPass.php
Outdated
Show resolved
Hide resolved
Is this bug present in Symfony 6.2 only or is 5.4 affected as well? |
991aed9
to
802ed1e
Compare
src/Symfony/Component/Translation/DependencyInjection/TranslatorPass.php
Outdated
Show resolved
Hide resolved
…%foo.bar.class% parameters
802ed1e
to
c965b03
Compare
I think it is an S6.2 enhancement for extracting |
Right, this piece of code has been introduced with #46161. |
Thank you @gassan. |
For example
Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntityValidator
is defined as%doctrine.orm.validator.unique.class%
and must be properly resolved.