Replace the TEST_PATH constant with __DIR__ to make the tests more portable. Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
28 lines
675 B
Plaintext
28 lines
675 B
Plaintext
includes:
|
|
- phpstan-baseline.neon
|
|
parameters:
|
|
level: max
|
|
paths:
|
|
- app
|
|
- public
|
|
- src
|
|
- tests
|
|
scanFiles:
|
|
- app/constants.php
|
|
- examples/signon-script.php
|
|
bootstrapFiles:
|
|
- tests/phpstan-constants.php
|
|
stubFiles:
|
|
- tests/stubs/uploadprogress.stub
|
|
excludePaths:
|
|
- app/cache/*
|
|
- tests/doctum-config.php
|
|
dynamicConstantNames:
|
|
- ROOT_PATH
|
|
- VERSION_SUFFIX
|
|
checkBenevolentUnionTypes: true
|
|
checkUninitializedProperties: true
|
|
checkDynamicProperties: true
|
|
checkTooWideReturnTypesInProtectedAndPublicMethods: true
|
|
checkImplicitMixed: true
|