Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 054a4bc

Browse filesBrowse files
Merge branch '5.3' into 5.4
* 5.3: Fix bad rebase
2 parents df898db + 74f5df8 commit 054a4bc
Copy full SHA for 054a4bc

File tree

Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-1
lines changed

‎src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php

Copy file name to clipboardExpand all lines: src/Symfony/Component/Security/Core/Tests/Validator/Constraints/UserPasswordValidatorTest.php
+3-1Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,9 @@ public function provideConstraints(): iterable
9494
{
9595
yield 'Doctrine style' => [new UserPassword(['message' => 'myMessage'])];
9696

97-
yield 'named arguments' => [new UserPassword(message: "myMessage")];
97+
if (\PHP_VERSION_ID >= 80000) {
98+
yield 'named arguments' => [eval('return new \Symfony\Component\Security\Core\Validator\Constraints\UserPassword(message: "myMessage");')];
99+
}
98100
}
99101

100102
/**

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.