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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy