mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
PHPStan: Enable more checks (#14318)
* PHPStan: Enable more checks * Fixes * Fixes * Deprecation fixes
This commit is contained in:
11
phpstan.neon
11
phpstan.neon
@@ -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
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user