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
44 lines
793 B
JSON
44 lines
793 B
JSON
{
|
|
"name": "phpstan/phpstan-deprecation-rules",
|
|
"type": "phpstan-extension",
|
|
"description": "PHPStan rules for detecting usage of deprecated classes, methods, properties, constants and traits.",
|
|
"license": [
|
|
"MIT"
|
|
],
|
|
"require": {
|
|
"php": "^7.2 || ^8.0",
|
|
"phpstan/phpstan": "^1.10"
|
|
},
|
|
"require-dev": {
|
|
"php-parallel-lint/php-parallel-lint": "^1.2",
|
|
"phpstan/phpstan-phpunit": "^1.0",
|
|
"phpstan/phpstan-php-parser": "^1.1",
|
|
"phpunit/phpunit": "^9.5"
|
|
},
|
|
"config": {
|
|
"platform": {
|
|
"php": "7.4.6"
|
|
},
|
|
"sort-packages": true
|
|
},
|
|
"extra": {
|
|
"phpstan": {
|
|
"includes": [
|
|
"rules.neon"
|
|
]
|
|
}
|
|
},
|
|
"autoload": {
|
|
"psr-4": {
|
|
"PHPStan\\": "src/"
|
|
}
|
|
},
|
|
"autoload-dev": {
|
|
"classmap": [
|
|
"tests/"
|
|
]
|
|
},
|
|
"minimum-stability": "dev",
|
|
"prefer-stable": true
|
|
}
|