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",
"phan/phan": "^5.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": {
"allow-plugins": {

View File

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