If ACL\Login is used, the loginGetLocale() call should be used to fetch the locale data set during login Language\L10n now has new encoding/charset optional parameter 4 If the locale does not have a charset set the defautl charset is UTF-8 unless set via the new parameter or setOverrideEncoding() Because of the deprecation of the getLocales call the following methods do no longer need $locales - Admin\Backend - Admin\EditBase - Output\Form\Generate - Template\SmartyExtend They all use the new l10n->getLocaleAsArray() call to set all the local variables * Admin\EditBase has new parameter "options" to set - cache_id - compile_id which must be passed on the SmartyExtend class init
25 lines
1.1 KiB
Plaintext
25 lines
1.1 KiB
Plaintext
parameters:
|
|
deprecationRulesInstalled: true
|
|
|
|
services:
|
|
-
|
|
class: PHPStan\Rules\Deprecations\DeprecatedClassHelper
|
|
|
|
rules:
|
|
- PHPStan\Rules\Deprecations\AccessDeprecatedPropertyRule
|
|
- PHPStan\Rules\Deprecations\AccessDeprecatedStaticPropertyRule
|
|
- PHPStan\Rules\Deprecations\CallToDeprecatedFunctionRule
|
|
- PHPStan\Rules\Deprecations\CallToDeprecatedMethodRule
|
|
- PHPStan\Rules\Deprecations\CallToDeprecatedStaticMethodRule
|
|
- PHPStan\Rules\Deprecations\FetchingClassConstOfDeprecatedClassRule
|
|
- PHPStan\Rules\Deprecations\FetchingDeprecatedConstRule
|
|
- PHPStan\Rules\Deprecations\ImplementationOfDeprecatedInterfaceRule
|
|
- PHPStan\Rules\Deprecations\InheritanceOfDeprecatedClassRule
|
|
- PHPStan\Rules\Deprecations\InheritanceOfDeprecatedInterfaceRule
|
|
- PHPStan\Rules\Deprecations\InstantiationOfDeprecatedClassRule
|
|
- PHPStan\Rules\Deprecations\TypeHintDeprecatedInClassMethodSignatureRule
|
|
- PHPStan\Rules\Deprecations\TypeHintDeprecatedInClosureSignatureRule
|
|
- PHPStan\Rules\Deprecations\TypeHintDeprecatedInFunctionSignatureRule
|
|
- PHPStan\Rules\Deprecations\UsageOfDeprecatedCastRule
|
|
- PHPStan\Rules\Deprecations\UsageOfDeprecatedTraitRule
|