maker-bundle icon indicating copy to clipboard operation
maker-bundle copied to clipboard

[make:registration-form][make:reset-password] Refactor constraints to use named arguments

Open octoseth opened this issue 6 months ago • 0 comments

When generating registration or reset password forms using the MakerBundle, some validation constraints are still passed using arrays. This triggers deprecation warnings in Symfony 7.3+:

Passing an array of options to configure the "%s" constraint is deprecated, use named arguments instead.

This PR updates the generated code to use named arguments for these constraints, removing the deprecations and ensuring compatibility with future Symfony versions.

octoseth avatar Aug 04 '25 19:08 octoseth