phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth 1d1c55e250
Move test directory to tests
- Related to #18512

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-11-30 10:47:42 -03:00

38 lines
1.0 KiB
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
- 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:
- tests/classes/*
- tests/selenium/*
-
message: '#Dynamic call to static method PHPUnit\\Framework\\TestCase::[a-zA-Z]+\(\)\.#'
path: tests/classes/*