8000 fix merge · symfony/symfony@55111bb · GitHub
[go: up one dir, main page]

Skip to content

Commit 55111bb

Browse files
committed
fix merge
1 parent a636741 commit 55111bb

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/Symfony/Component/Validator/Tests/Constraints/LocaleValidatorTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -91,9 +91,7 @@ public static function getInvalidLocales()
9191

9292
public function testTooLongLocale()
9393
{
94-
$constraint = new Locale([
95-
'message' => 'myMessage',
96-
]);
94+
$constraint = new Locale(message: 'myMessage');
9795

9896
$locale = str_repeat('a', (\defined('INTL_MAX_LOCALE_LEN') ? \INTL_MAX_LOCALE_LEN : 85) + 1);
9997
$this->validator->validate($locale, $constraint);

0 commit comments

Comments
 (0)
0