mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
4039d88b3b
* Update dependencies * fix new phpstan errors * Update phpstan.neon
45 lines
888 B
Plaintext
45 lines
888 B
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
- tests/phpstan/ignore-by-php-version.neon.php
|
|
- vendor/larastan/larastan/extension.neon
|
|
- vendor/phpstan/phpstan-mockery/extension.neon
|
|
|
|
parameters:
|
|
paths:
|
|
- app
|
|
- config
|
|
- database
|
|
- LibreNMS
|
|
- resources
|
|
- tests
|
|
|
|
excludePaths:
|
|
- tests/phpstan/
|
|
|
|
scanDirectories:
|
|
- includes
|
|
|
|
level: 5
|
|
|
|
checkMissingIterableValueType: false
|
|
treatPhpDocTypesAsCertain: false
|
|
|
|
checkFunctionNameCase: true
|
|
checkInternalClassCaseSensitivity: true
|
|
|
|
checkModelProperties: true
|
|
|
|
checkAlwaysTrueCheckTypeFunctionCall: true
|
|
checkAlwaysTrueInstanceof: true
|
|
checkAlwaysTrueStrictComparison: true
|
|
|
|
checkGenericClassInNonGenericObjectType: false
|
|
|
|
ignoreErrors:
|
|
- '#Unsafe usage of new static#'
|
|
|
|
parallel:
|
|
processTimeout: 300.0
|
|
|
|
|