PHPStan: Enable more checks (#14318)

* PHPStan: Enable more checks

* Fixes

* Fixes

* Deprecation fixes
This commit is contained in:
Jellyfrog
2022-09-09 14:08:06 +02:00
committed by GitHub
parent 6cc9694780
commit 152497a098
37 changed files with 92 additions and 110 deletions

View File

@@ -24,8 +24,19 @@ parameters:
checkMissingIterableValueType: false
treatPhpDocTypesAsCertain: false
checkFunctionNameCase: true
checkInternalClassCaseSensitivity: true
checkModelProperties: true
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
ignoreErrors:
- '#Unsafe usage of new static#'
parallel:
processTimeout: 300.0