Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Symfony\Component\Locale\Locale class is deprecated #175

Closed
ghost opened this issue Nov 12, 2015 · 9 comments
Closed

Symfony\Component\Locale\Locale class is deprecated #175

ghost opened this issue Nov 12, 2015 · 9 comments

Comments

@ghost
Copy link

ghost commented Nov 12, 2015

The Symfony\Component\Locale\Locale class is deprecated since version 2.7, to be removed in Symfony 3.0. Use the methods provided by the \Symfony\Component\Intl\Intl class instead.

Called from require() at line 150
Called from DebugClassLoader::loadClass()
Called from spl_autoload_call() at line 82
Called from LocaleValidator::validate() at line 872
Called from RecursiveContextualValidator::validateInGroup() at line 711
Called from RecursiveContextualValidator::validateGenericNode() at line 138
Called from RecursiveContextualValidator::validate() at line 134
Called from RecursiveValidator::validate() at line 166
Called from RecursiveValidator::validateValue() at line 45
Called from MetaValidator::isAllowed() at line 62
Called from SessionLocaleGuesser::guessLocale() at line 120
Called from LocaleGuesserManager::runLocaleGuessing() at line 88
Called from LocaleListener::onKernelRequest()
Called from call_user_func() at line 61
Called from WrappedListener::__invoke()
Called from call_user_func() at line 1853
Called from EventDispatcher::doDispatch() at line 1771
Called from EventDispatcher::dispatch() at line 132
Called from TraceableEventDispatcher::dispatch() at line 120
Called from HttpKernel::handleRaw() at line 62
Called from HttpKernel::handle() at line 69
Called from ContainerAwareHttpKernel::handle() at line 190
Called from Kernel::handle() at line 30
Called from require() at line 36
@ghost
Copy link
Author

ghost commented Nov 12, 2015

I think this deprecation warning is about some other code but the same deprecated class is used here too:
https://github.com/lunetics/LocaleBundle/blob/6149a024be34afc7e7e9af362ad020037d0ab87f/Form/Extension/ChoiceList/LocaleChoiceList.php#L14

@dbu
Copy link
Collaborator

dbu commented Nov 12, 2015 via email

@ghost
Copy link
Author

ghost commented Nov 12, 2015

@dbu I don't have time for it. Anybody can do it :-)

@dbu
Copy link
Collaborator

dbu commented Nov 12, 2015 via email

@ghost ghost mentioned this issue Nov 20, 2015
@Ma27
Copy link
Contributor

Ma27 commented Dec 4, 2015

to be fixed in #179

Ma27 added a commit to Sententiaregum/LocaleBundle that referenced this issue Dec 4, 2015
@fkrauthan
Copy link

Any news on when you plan to release a SF3 compatible version?

@Ma27
Copy link
Contributor

Ma27 commented Dec 30, 2016

@fkrauthan
Copy link

Oh perfect. I just looked at the tickets and they are still all open^^

@dbu
Copy link
Collaborator

dbu commented Nov 18, 2017

fixed in #179

@dbu dbu closed this as completed Nov 18, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants