Files
librenms-librenms/phpstan.neon
T

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

45 lines
888 B
Plaintext
Raw Normal View History

2021-04-21 14:41:34 +02:00
includes:
- phpstan-baseline.neon
- tests/phpstan/ignore-by-php-version.neon.php
2024-03-03 22:45:09 +01:00
- vendor/larastan/larastan/extension.neon
2021-04-21 14:41:34 +02:00
- 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
2023-04-17 13:51:35 +02:00
level: 5
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
2023-04-17 13:51:35 +02:00
checkGenericClassInNonGenericObjectType: false
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