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
converts
* @Assert\Length( * max="255", * maxMessage="some Message" * )
to
#[Assert\Length(max: '255', maxMessage: 'some Message')]
but correct is
#[Assert\Length(max: 255, maxMessage: 'some Message')]
thrown error
TypeError : Symfony\Component\Validator\Constraints\Length::__construct(): Argument #3 ($max) must be of type ?int, string given
Ruleset $containerConfigurator->import(SymfonySetList::SYMFONY_54);
Used Versions SF 5.4 PHP 8.0 rector/rector: 0.12.5
The text was updated successfully, but these errors were encountered:
Hi, thanks for reporting. I'll look into the fix
Sorry, something went wrong.
TomasVotruba
Successfully merging a pull request may close this issue.
converts
to
but correct is
thrown error
Ruleset
$containerConfigurator->import(SymfonySetList::SYMFONY_54);
Used Versions
SF 5.4
PHP 8.0
rector/rector: 0.12.5
The text was updated successfully, but these errors were encountered: