35 lines
922 B
Plaintext
35 lines
922 B
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
parameters:
|
|
level: max
|
|
paths:
|
|
- .
|
|
scanFiles:
|
|
- libraries/constants.php
|
|
bootstrapFiles:
|
|
- test/phpstan-constants.php
|
|
stubFiles:
|
|
- test/stubs/Query.stub
|
|
- test/stubs/uploadprogress.stub
|
|
excludePaths:
|
|
- examples/openid.php
|
|
- node_modules/*
|
|
- libraries/cache/*
|
|
- test/doctum-config.php
|
|
- tmp/*
|
|
- twig-templates/*
|
|
- vendor/*
|
|
dynamicConstantNames:
|
|
- ROOT_PATH
|
|
- VERSION_SUFFIX
|
|
strictRules:
|
|
# Allow non-booleans in conditions.
|
|
booleansInConditions: false
|
|
# Allow the empty() construct.
|
|
disallowedConstructs: false
|
|
# Allow dynamic calls to static methods.
|
|
strictCalls: false
|
|
checkBenevolentUnionTypes: true
|
|
checkAlwaysTrueCheckTypeFunctionCall: true
|
|
checkAlwaysTrueStrictComparison: true
|