phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth 67a5c14e81
Remove TEST_PATH constant
Replace the TEST_PATH constant with __DIR__ to make the tests more
portable.

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-07-16 14:10:16 -03:00

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