core composer install update
This commit is contained in:
@@ -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": {
|
||||
|
||||
13
phpstan.neon
13
phpstan.neon
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user