phpmyadmin/phpstan.neon.dist
Maurício Meneghini Fauth 210f02ce1e
Merge branch 'QA_5_2'
Signed-off-by: Maurício Meneghini Fauth <mauricio@mfauth.net>
2024-12-03 17:20:36 -03:00

29 lines
701 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/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