Files
safekat/ci4/app/ThirdParty/DatatablesEditor/phpstan.neon.dist

29 lines
677 B
Plaintext
Executable File

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