core composer install update

This commit is contained in:
Clemens Schwaighofer
2024-10-18 09:37:18 +09:00
parent 5fc55c53b8
commit e82929f512
2 changed files with 14 additions and 4 deletions

View File

@@ -10,7 +10,10 @@
"phpstan/phpstan": "^1.12", "phpstan/phpstan": "^1.12",
"phan/phan": "^5.4", "phan/phan": "^5.4",
"phpstan/extension-installer": "^1.4", "phpstan/extension-installer": "^1.4",
"phpstan/phpstan-strict-rules": "^1.6" "phpstan/phpstan-strict-rules": "^1.6",
"phpunit/phpunit": "^9",
"phpstan/phpstan-deprecation-rules": "^1.2",
"yamadashy/phpstan-friendly-formatter": "^1.1"
}, },
"config": { "config": {
"allow-plugins": { "allow-plugins": {

View File

@@ -1,9 +1,16 @@
# PHP Stan Config # PHP Stan Config
includes: includes:
- phpstan-conditional.php - phpstan-conditional.php
- ./vendor/yamadashy/phpstan-friendly-formatter/extension.neon
parameters: parameters:
tmpDir: %currentWorkingDirectory%/tmp/phpstan-corelibs tmpDir: %currentWorkingDirectory%/tmp/phpstan-corelibs
errorFormat: friendly
friendly:
lineBefore: 5
lineAfter: 3
level: 8 # max is now 9 level: 8 # max is now 9
# strictRules:
# allRules: true
checkMissingCallableSignature: true checkMissingCallableSignature: true
treatPhpDocTypesAsCertain: false treatPhpDocTypesAsCertain: false
paths: paths:
@@ -53,6 +60,6 @@ parameters:
# paths: # paths:
# - ... # - ...
# - ... # - ...
#- -
# message: "#^Call to deprecated method #" message: "#^Call to deprecated method #"
# path: www/admin/class_test*.php path: www/admin/class_test*.php