diff --git a/src/Symfony/Component/Locale/Locale.php b/src/Symfony/Component/Locale/Locale.php index cfed2396620b..ac036bcb3377 100644 --- a/src/Symfony/Component/Locale/Locale.php +++ b/src/Symfony/Component/Locale/Locale.php @@ -11,6 +11,8 @@ namespace Symfony\Component\Locale; +trigger_error('\Symfony\Component\Locale\Locale is deprecated since version 2.7, to be removed in Symfony 3.0. Use the methods provided by \Symfony\Component\Intl\Intl instead.', E_USER_DEPRECATED); + use Symfony\Component\Icu\IcuData; use Symfony\Component\Intl\Intl; @@ -19,8 +21,8 @@ * * @author Bernhard Schussek * - * @deprecated Deprecated since version 2.3, to be removed in 3.0. Use - * {@link \Locale} and {@link \Symfony\Component\Intl\Intl} instead. + * @deprecated Deprecated since version 2.3, to be removed in 3.0. + * Use {@link \Locale} and {@link \Symfony\Component\Intl\Intl} instead. */ class Locale extends \Locale {