Files
safekat/ci4/app/ThirdParty/DatatablesEditor/phpstan.neon.dist
2023-06-12 14:27:57 +02:00

29 lines
677 B
Plaintext

includes:
- phpstan-baseline.neon
parameters:
level: 2
paths:
- ./
excludePaths:
- vendor/
treatPhpDocTypesAsCertain: false
# some extra rules
checkAlwaysTrueCheckTypeFunctionCall: true
checkAlwaysTrueInstanceof: true
checkAlwaysTrueStrictComparison: true
checkExplicitMixedMissingReturn: true
checkFunctionNameCase: true
reportMaybesInMethodSignatures: true
reportStaticMethodSignatures: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
ignoreErrors:
# - '~^Unsafe usage of new static\(\)\.$~'
-
message: '~^.+$~'
path: HtmLawed/Htmlawed.php