8000 [Locale] Removed "Stub" prefixes in Intl component · symfony/symfony@9118b4a · GitHub
[go: up one dir, main page]

Skip to content

Commit 9118b4a

Browse files
committed
[Locale] Removed "Stub" prefixes in Intl component
1 parent b4cccfd commit 9118b4a

File tree

5 files changed

+20
-20
lines changed

5 files changed

+20
-20
lines changed

src/Symfony/Component/Locale/Stub/StubCollator.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111

1212
namespace Symfony\Component\Locale\Stub;
1313

14-
use Symfony\Component\Intl\Collator\StubCollator as BaseStubCollator;
14+
use Symfony\Component\Intl\Collator\Collator;
1515

1616
/**
17-
* Alias of {@link \Symfony\Component\Intl\Collator\StubCollator}.
17+
* Alias of {@link \Symfony\Component\Intl\Collator\Collator}.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
2020
*
2121
* @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
22-
* {@link \Symfony\Component\Intl\Collator\StubCollator} instead.
22+
* {@link \Symfony\Component\Intl\Collator\Collator} instead.
2323
*/
24-
class StubCollator extends BaseStubCollator
24+
class StubCollator extends Collator
2525
{
2626
}

src/Symfony/Component/Locale/Stub/StubIntl.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111

1212
namespace Symfony\Component\Locale\Stub;
1313

14-
use Symfony\Component\Intl\Globals\StubIntlGlobals;
14+
use Symfony\Component\Intl\Globals\IntlGlobals;
1515

1616
/**
17-
* Alias of {@link \Symfony\Component\Intl\Globals\StubIntlGlobals}.
17+
* Alias of {@link \Symfony\Component\Intl\Globals\IntlGlobals}.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
2020
*
2121
* @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
22-
* {@link \Symfony\Component\Intl\Globals\StubIntlGlobals} instead.
22+
* {@link \Symfony\Component\Intl\Globals\IntlGlobals} instead.
2323
*/
24-
abstract class StubIntl extends StubIntlGlobals
24+
abstract class StubIntl extends IntlGlobals
2525
{
2626
}

src/Symfony/Component/Locale/Stub/StubIntlDateFormatter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111

1212
namespace Symfony\Component\Locale\Stub;
1313

14-
use Symfony\Component\Intl\DateFormatter\StubIntlDateFormatter as BaseStubIntlDateFormatter;
14+
use Symfony\Component\Intl\DateFormatter\IntlDateFormatter;
1515

1616
/**
17-
* Alias of {@link \Symfony\Component\Intl\DateFormatter\StubIntlDateFormatter}.
17+
* Alias of {@link \Symfony\Component\Intl\DateFormatter\IntlDateFormatter}.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
2020
*
2121
* @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
22-
* {@link \Symfony\Component\Intl\DateFormatter\StubIntlDateFormatter}
22+
* {@link \Symfony\Component\Intl\DateFormatter\IntlDateFormatter}
2323
* instead.
2424
*/
25-
class StubIntlDateFormatter extends BaseStubIntlDateFormatter
25+
class StubIntlDateFormatter extends IntlDateFormatter
2626
{
2727
}

src/Symfony/Component/Locale/Stub/StubLocale.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,18 +13,18 @@
1313

1414
use Symfony\Component\Icu\IcuData;
1515
use Symfony\Component\Intl\Intl;
16-
use Symfony\Component\Intl\Locale\StubLocale as BaseStubLocale;
16+
use Symfony\Component\Intl\Locale\Locale;
1717

1818
/**
19-
* Alias of {@link \Symfony\Component\Intl\Locale\StubLocale}.
19+
* Alias of {@link \Symfony\Component\Intl\Locale\Locale}.
2020
*
2121
* @author Bernhard Schussek <bschussek@gmail.com>
2222
*
2323
* @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
24-
* {@link \Symfony\Component\Intl\Locale\StubLocale} and
24+
* {@link \Symfony\Component\Intl\Locale\Locale} and
2525
* {@link \Symfony\Component\Intl\Intl} instead.
2626
*/
27-
class StubLocale extends BaseStubLocale
27+
class StubLocale extends Locale
2828
{
2929
/**
3030
* Caches the currencies

src/Symfony/Component/Locale/Stub/StubNumberFormatter.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,17 +11,17 @@
1111

1212
namespace Symfony\Component\Locale\Stub;
1313

14-
use Symfony\Component\Intl\NumberFormatter\StubNumberFormatter as BaseStubNumberFormatter;
14+
use Symfony\Component\Intl\NumberFormatter\NumberFormatter;
1515

1616
/**
17-
* Alias of {@link \Symfony\Component\Intl\NumberFormatter\StubNumberFormatter}.
17+
* Alias of {@link \Symfony\Component\Intl\NumberFormatter\NumberFormatter}.
1818
*
1919
* @author Bernhard Schussek <bschussek@gmail.com>
2020
*
2121
* @deprecated Deprecated since version 2.3, to be removed in 3.0. Use
22-
* {@link \Symfony\Component\Intl\NumberFormatter\StubNumberFormatter}
22+
* {@link \Symfony\Component\Intl\NumberFormatter\NumberFormatter}
2323
* instead.
2424
*/
25-
class StubNumberFormatter extends BaseStubNumberFormatter
25+
class StubNumberFormatter extends NumberFormatter
2626
{
2727
}

0 commit comments

Comments
 (0)
0