[Locale] fixed CS

This commit is contained in:
Julien Brochet 2011-06-24 01:49:48 +02:00
parent bc2f9479e3
commit 272e07fb6d
5 changed files with 29 additions and 7 deletions

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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
{
}

View File

@ -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();
}