Skip to content

Commit 1aba28b

Browse files
committed
Bleeding edge - set reportNonIntStringArrayKey to true
1 parent b94a0b1 commit 1aba28b

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"keywords": ["static analysis"],
99
"require": {
1010
"php": "^7.4 || ^8.0",
11-
"phpstan/phpstan": "^2.1.29"
11+
"phpstan/phpstan": "^2.1.39"
1212
},
1313
"require-dev": {
1414
"php-parallel-lint/php-parallel-lint": "^1.2",

rules.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ parameters:
1212
reportMaybesInPropertyPhpDocTypes: true
1313
reportWrongPhpDocTypeInVarTag: true
1414
checkStrictPrintfPlaceholderTypes: true
15+
reportNonIntStringArrayKey: %featureToggles.bleedingEdge%
1516
strictRules:
1617
allRules: true
1718
disallowedLooseComparison: %strictRules.allRules%

0 commit comments

Comments
 (0)