2021-04-21 14:41:34 +02:00
|
|
|
includes:
|
|
|
|
- phpstan-baseline.neon
|
2022-09-06 23:43:51 +02:00
|
|
|
- tests/phpstan/ignore-by-php-version.neon.php
|
2021-04-21 14:41:34 +02:00
|
|
|
- vendor/nunomaduro/larastan/extension.neon
|
|
|
|
- vendor/phpstan/phpstan-mockery/extension.neon
|
|
|
|
|
|
|
|
parameters:
|
|
|
|
paths:
|
|
|
|
- app
|
|
|
|
- config
|
|
|
|
- database
|
|
|
|
- LibreNMS
|
|
|
|
- resources
|
|
|
|
- tests
|
|
|
|
|
2022-09-06 23:43:51 +02:00
|
|
|
excludePaths:
|
|
|
|
- tests/phpstan/
|
|
|
|
|
2021-04-21 14:41:34 +02:00
|
|
|
scanDirectories:
|
|
|
|
- includes
|
|
|
|
|
2021-10-28 14:54:29 +02:00
|
|
|
level: 6
|
2021-04-21 14:41:34 +02:00
|
|
|
|
|
|
|
checkMissingIterableValueType: false
|
|
|
|
treatPhpDocTypesAsCertain: false
|
|
|
|
|
2022-09-09 14:08:06 +02:00
|
|
|
checkFunctionNameCase: true
|
|
|
|
checkInternalClassCaseSensitivity: true
|
|
|
|
|
|
|
|
checkModelProperties: true
|
|
|
|
|
|
|
|
checkAlwaysTrueCheckTypeFunctionCall: true
|
|
|
|
checkAlwaysTrueInstanceof: true
|
|
|
|
checkAlwaysTrueStrictComparison: true
|
|
|
|
|
2021-04-21 14:41:34 +02:00
|
|
|
ignoreErrors:
|
|
|
|
- '#Unsafe usage of new static#'
|
|
|
|
|
|
|
|
parallel:
|
|
|
|
processTimeout: 300.0
|
2022-09-09 14:08:06 +02:00
|
|
|
|
|
|
|
|