This allows me to run phpstan on PHP 7.2 up to PHP 7.4 without baseline changes Signed-off-by: William Desportes <williamdes@wdes.fr>
32 lines
822 B
Plaintext
32 lines
822 B
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
parameters:
|
|
phpVersion: 70200 # PHP 7.2
|
|
level: max
|
|
paths:
|
|
- .
|
|
scanFiles:
|
|
- libraries/constants.php
|
|
bootstrapFiles:
|
|
- test/phpstan-constants.php
|
|
stubFiles:
|
|
- test/stubs/uploadprogress.stub
|
|
excludePaths:
|
|
- config.inc.php (?)
|
|
- config.sample.inc.php
|
|
- examples/config.manyhosts.inc.php
|
|
- node_modules/*
|
|
- libraries/cache/*
|
|
- test/doctum-config.php
|
|
- tmp/*
|
|
- twig-templates/*
|
|
- vendor/*
|
|
dynamicConstantNames:
|
|
- ROOT_PATH
|
|
- VERSION_SUFFIX
|
|
checkBenevolentUnionTypes: true
|
|
checkUninitializedProperties: true
|
|
checkDynamicProperties: true
|
|
checkTooWideReturnTypesInProtectedAndPublicMethods: true
|
|
checkImplicitMixed: true
|