We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
Maybe somebody has an idea in order to avoid this false positive (found by https://github.com/symfony-tools/code-block-checker/blob/main/src/Service/CodeRunner/ClassExist.php)
https://github.com/symfony/symfony-docs/actions/runs/7431226718/job/20221747353?pr=19383
// src/Entity/Author.php namespace App\Entity; use Symfony\Component\Validator\Constraints as Assert; # False positive here use Symfony\Component\Validator\Mapping\ClassMetadata; class Author { // ... public static function loadValidatorMetadata(ClassMetadata $metadata): void { $metadata->addPropertyConstraint('mac', new Assert\MacAddress()); } }
[Missing class] Class, interface or trait with name "Symfony\Component\Validator\Constraints" does not exist
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello,
Maybe somebody has an idea in order to avoid this false positive (found by https://github.com/symfony-tools/code-block-checker/blob/main/src/Service/CodeRunner/ClassExist.php)
https://github.com/symfony/symfony-docs/actions/runs/7431226718/job/20221747353?pr=19383
The text was updated successfully, but these errors were encountered: