phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth ba72f543fd
Call PHPUnit static methods using static calls
Replaces $this->method() with self::method().

Signed-off-by: Maurício Meneghini Fauth <mauricio@fauth.dev>
2024-01-31 17:17:38 -03:00

29 lines
695 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
- TEST_PATH
- VERSION_SUFFIX
checkBenevolentUnionTypes: true
checkUninitializedProperties: true
checkDynamicProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkImplicitMixed: true