Skip to content

Commit d6211c4

Browse files
schlndhondrejmirtes
authored andcommitted
enable checkStrictPrintfPlaceholderTypes
1 parent 6b78d53 commit d6211c4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
],
88
"require": {
99
"php": "^7.4 || ^8.0",
10-
"phpstan/phpstan": "^2.0.4"
10+
"phpstan/phpstan": "^2.1.29"
1111
},
1212
"require-dev": {
1313
"php-parallel-lint/php-parallel-lint": "^1.2",

rules.neon

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ parameters:
1111
reportStaticMethodSignatures: true
1212
reportMaybesInPropertyPhpDocTypes: true
1313
reportWrongPhpDocTypeInVarTag: true
14+
checkStrictPrintfPlaceholderTypes: true
1415
strictRules:
1516
allRules: true
1617
disallowedLooseComparison: %strictRules.allRules%

0 commit comments

Comments
 (0)