mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
29 lines
677 B
Plaintext
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
|