phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth a82b8e22a8
Add static analysis stub for PSR ContainerInterface
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2025-07-15 18:37:24 -03:00

30 lines
732 B
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: max
paths:
- app
- examples
- public
- src
- tests
scanFiles:
- app/constants.php
bootstrapFiles:
- tests/phpstan-constants.php
stubFiles:
- tests/stubs/psr.stub
- tests/stubs/uploadprogress.stub
excludePaths:
- app/cache/*
- examples/config.manyhosts.inc.php
- tests/doctum-config.php
dynamicConstantNames:
- ROOT_PATH
- VERSION_SUFFIX
checkBenevolentUnionTypes: true
checkUninitializedProperties: true
checkDynamicProperties: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
checkImplicitMixed: true