aboutsummaryrefslogtreecommitdiff
path: root/phpstan.dist.neon
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2025-08-07 22:19:45 +0200
committerGravatar GitHub <noreply@github.com> 2025-08-07 22:19:45 +0200
commit62f32ccadff77594f5b8e3ad24c4c2541ff35885 (patch)
tree29689e66fd16fcbeb385cda554890d45d66e58c2 /phpstan.dist.neon
parent149136fbe252cca4cb8dcdb463df135094bc0f87 (diff)
PHPStan: finalise strictArrayFilter (#7794)
As well as reportPossiblyNonexistentConstantArrayOffset. And disable PHPStan-next from GitHub Action, since the work is completed for now.
Diffstat (limited to 'phpstan.dist.neon')
-rw-r--r--phpstan.dist.neon5
1 files changed, 3 insertions, 2 deletions
diff --git a/phpstan.dist.neon b/phpstan.dist.neon
index 4235be800..4cde7f8ab 100644
--- a/phpstan.dist.neon
+++ b/phpstan.dist.neon
@@ -41,15 +41,16 @@ parameters:
checkMissingOverrideMethodAttribute: true
checkTooWideReturnTypesInProtectedAndPublicMethods: true
reportAnyTypeWideningInVarTag: true
+ reportPossiblyNonexistentConstantArrayOffset: true
treatPhpDocTypesAsCertain: false
strictRules:
disallowedEmpty: false
disallowedLooseComparison: false
disallowedShortTernary: false
- strictArrayFilter: false # TODO pass
+ strictArrayFilter: true
exceptions:
check:
- missingCheckedExceptionInThrows: false # TODO pass
+ missingCheckedExceptionInThrows: false # TODO pass maybe
tooWideThrowType: true
implicitThrows: false
checkedExceptionClasses: