Explorar o código

[Locale] fixed CS

Julien Brochet %!s(int64=14) %!d(string=hai) anos
pai
achega
272e07fb6d

+ 6 - 1
src/Symfony/Component/Locale/Resources/stubs/Collator.php

@@ -15,4 +15,9 @@
  * @author Bernhard Schussek <bernhard.schussek@symfony.com>
  * @see Symfony\Component\Collator\Stub\StubCollator
  */
-class Collator extends \Symfony\Component\Locale\Stub\StubCollator {}
+
+use Symfony\Component\Locale\Stub\StubCollator;
+
+class Collator extends StubCollator
+{
+}

+ 6 - 1
src/Symfony/Component/Locale/Resources/stubs/IntlDateFormatter.php

@@ -15,4 +15,9 @@
  * @author Bernhard Schussek <bernhard.schussek@symfony.com>
  * @see Symfony\Component\IntlDateFormatter\Stub\StubIntlDateFormatter
  */
-class IntlDateFormatter extends \Symfony\Component\Locale\Stub\StubIntlDateFormatter {}
+
+use Symfony\Component\Locale\Stub\StubIntlDateFormatter;
+
+class IntlDateFormatter extends StubIntlDateFormatter
+{
+}

+ 6 - 1
src/Symfony/Component/Locale/Resources/stubs/Locale.php

@@ -15,4 +15,9 @@
  * @author Bernhard Schussek <bernhard.schussek@symfony.com>
  * @see Symfony\Component\Locale\Stub\StubLocale
  */
-class Locale extends \Symfony\Component\Locale\Stub\StubLocale {}
+
+use Symfony\Component\Locale\Stub\StubLocale;
+
+class Locale extends StubLocale
+{
+}

+ 6 - 1
src/Symfony/Component/Locale/Resources/stubs/NumberFormatter.php

@@ -15,4 +15,9 @@
  * @author Bernhard Schussek <bernhard.schussek@symfony.com>
  * @see Symfony\Component\Locale\Stub\StubNumberFormatter
  */
-class NumberFormatter extends \Symfony\Component\Locale\Stub\StubNumberFormatter {}
+
+use Symfony\Component\Locale\Stub\StubNumberFormatter;
+
+class NumberFormatter extends StubNumberFormatter
+{
+}

+ 5 - 3
src/Symfony/Component/Locale/Resources/stubs/functions.php

@@ -9,6 +9,8 @@
  * file that was distributed with this source code.
  */
 
+use Symfony\Component\Locale\Stub\StubIntl;
+
 /**
  * Stub implementation for the intl_is_failure function of the intl extension
  *
@@ -18,7 +20,7 @@
  * @see    Symfony\Component\Locale\Stub\StubIntl::isFailure
  */
 function intl_is_failure($errorCode) {
-    return \Symfony\Component\Locale\Stub\StubIntl::isFailure($errorCode);
+    return StubIntl::isFailure($errorCode);
 }
 
 /**
@@ -30,7 +32,7 @@ function intl_is_failure($errorCode) {
  * @see    Symfony\Component\Locale\Stub\StubIntl::getErrorCode
  */
 function intl_get_error_code() {
-    return \Symfony\Component\Locale\Stub\StubIntl::getErrorCode();
+    return StubIntl::getErrorCode();
 }
 /**
  * Stub implementation for the intl_get_error_code function of the intl extension
@@ -41,5 +43,5 @@ function intl_get_error_code() {
  * @see    Symfony\Component\Locale\Stub\StubIntl::getErrorMessage
  */
 function intl_get_error_message() {
-    return \Symfony\Component\Locale\Stub\StubIntl::getErrorMessage();
+    return StubIntl::getErrorMessage();
 }