We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6c60332 commit 525d088Copy full SHA for 525d088
Tests/Validator/Constraints/UserPasswordValidatorTest.php
@@ -94,7 +94,9 @@ public function provideConstraints(): iterable
94
{
95
yield 'Doctrine style' => [new UserPassword(['message' => 'myMessage'])];
96
97
- yield 'named arguments' => [new UserPassword(message: "myMessage")];
+ if (\PHP_VERSION_ID >= 80000) {
98
+ yield 'named arguments' => [eval('return new \Symfony\Component\Security\Core\Validator\Constraints\UserPassword(message: "myMessage");')];
99
+ }
100
}
101
102
/**
0 commit comments