-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Closed
Labels
ValidatorhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.
Description
Setup
Docs: https://symfony.com/doc/5.4/validation/custom_constraint.html#creating-the-constraint-class
Repo: https://github.com/maMykola/custom-validation-constraint
Name | Value |
---|---|
Symfony | 5.4.28 |
PHP | 8.2.10 |
Steps to reproduce
- clone the repository
git clone git@github.com:maMykola/custom-validation-constraint.git
- install packages
composer install
- execute the command
bin/console app:validate-entity
Actual Result
The error shown in console:
[critical] Error thrown while running command "app:validate-entity". Message: "Unknown named parameter $mode"
In AcmeEntity.php line 13:
Unknown named parameter $mode
app:validate-entity
2023-09-15T11:57:01+00:00 [critical] Uncaught Error: Unknown named parameter $mode
Expected Result
The command should be executed without errors.
Metadata
Metadata
Assignees
Labels
ValidatorhasPRA Pull Request has already been submitted for this issue.A Pull Request has already been submitted for this issue.