pawaclawczyk / SymfonyUpgradeHelper

This tool will helps you upgrade your Symfony2 project.
1 stars 0 forks source link

Locale management was moved from the Session class to the Request class. #4

Open pawaclawczyk opened 10 years ago

pawaclawczyk commented 10 years ago
pawaclawczyk commented 10 years ago

Yaml configuration - SessionConfigurationFixer detects occurance of default_locale: pl, probably it is fixable.

Twig templates - SessionLocaleTwigFixer replaces occurances of completa path, and add info about calls to locale method. So I think it's done.

PHP templates - Not implemented.

getLocale() method calls - SessionLocalePhpFixer adds info about existing calls like getLocale(). Needs more discussion.