Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
838 B
Plaintext
Raw Permalink Normal View History

2021-04-21 14:41:34 +02:00
includes:
- phpstan-baseline.neon
- 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
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