phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth b338c1851d
Remove SqlParser\Utils\Query::getAll() stub
Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2023-09-28 12:57:03 -03:00

38 lines
1.0 KiB
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: max
paths:
- libraries
- public
- src
- test
scanFiles:
- libraries/constants.php
- examples/signon-script.php
bootstrapFiles:
- test/phpstan-constants.php
stubFiles:
- test/stubs/uploadprogress.stub
excludePaths:
- libraries/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/*