phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth 87c494fa5f
Rename ./libraries directory to ./app
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-10-24 16:58:48 -03:00

38 lines
1.0 KiB
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: max
paths:
- app
- public
- src
- test
scanFiles:
- app/constants.php
- examples/signon-script.php
bootstrapFiles:
- test/phpstan-constants.php
stubFiles:
- test/stubs/uploadprogress.stub
excludePaths:
- cache/*
- test/doctum-config.php
dynamicConstantNames:
- ROOT_PATH
- TEST_PATH
- VERSION_SUFFIX
checkBenevolentUnionTypes: true
checkUninitializedProperties: true
checkDynamicProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkImplicitMixed: true
ignoreErrors:
-
message: '#Dynamic call to static method PHPUnit\\Framework\\Assert::[a-zA-Z]+\(\)\.#'
paths:
- test/classes/*
- test/selenium/*
-
message: '#Dynamic call to static method PHPUnit\\Framework\\TestCase::[a-zA-Z]+\(\)\.#'
path: test/classes/*