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