Closed
Description
Symfony version(s) affected: 4.3
Description
When creating a new 4.3 application (or updating the recipes in an existing app) disable_not_compromised_password
gets added to config/packages/test/validator.yml
, if a functional test is run in that app it will fail with the error:
Symfony\Component\Config\Definition\Exception\InvalidConfigurationException: Unrecognized option "disable_not_compromised_password" under "framework.validation". Available options are "auto_mapping", "cache", "email_validation_mode", "enable_annotations", "enabled", "mapping", "not_compromised_password", "static_method", "strict_email", "translation_domain".
How to reproduce
Option 1:
- Create a new app
composer create-project symfony/website-skeleton new-symfony-43
- add a functional test
- run
bin/phpunit
.
I created a reproduction of this new app state at:
https://github.com/jrjohnson/symfony-43-validator-reproduction
This looks like a valid and correct 4.3 app to me, but I'm not very familiar with the new app blueprint or process.
Option 2:
- Add this configuration to an existing symfony app with functional tests
- run
bin/phpunit
.
Additional context
This option was added in #30932
Validator recipe was added in symfony/recipes#567
Metadata
Metadata
Assignees
Labels
No labels