You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running a test suite in a Symfony 6.1 application throws a deprecation notice:
The "Symfony\Bridge\Doctrine\Validator\Constraints\UniqueEntity::$service" property is considered final. You should not override it in "Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique".
This is because Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique class overrides $service property with a different default value.
Another way to override it would be to copy the constructor parameters and set the default value there.
Running a test suite in a Symfony 6.1 application throws a deprecation notice:
This is because
Doctrine\Bundle\MongoDBBundle\Validator\Constraints\Unique
class overrides$service
property with a different default value.Another way to override it would be to copy the constructor parameters and set the default value there.
https://github.com/doctrine/DoctrineMongoDBBundle/blob/4.6.x/Validator/Constraints/Unique.php
The text was updated successfully, but these errors were encountered: