[Form] Add `LocaleTypeTest::testInvalidLocaleMessage()`

by @phansys

Some issues have been detected in this pull request

Issues that can be fixed by applying a patch

Review the proposed patch then download it to apply it manually or execute the following command from the repository root directory:

$ curl https://fabbot.io/patch/symfony/symfony/29828/e760446d36b58c5f1b1164ca1cb20cb9f92e8b8b/cs.diff | patch -p0
diff -ru src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php
--- src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php	2019-01-09 19:58:36.564224211 +0000
+++ src/Symfony/Component/Form/Tests/Extension/Core/Type/LocaleTypeTest.php	2019-01-09 19:58:36.817218634 +0000
@@ -51,7 +51,7 @@
     {
         $type = new LocaleType();
 
-        $this->assertSame(array(), $type->loadChoicesForValues(array('foo')));
+        $this->assertSame([], $type->loadChoicesForValues(['foo']));
     }
 
     public function testInvalidLocaleMessage()

0
Common Typos

0
License Headers

0
Pull Request Contributor Headers

0
File Permissions