From bc8c65424accdb627256f1b5cfcae1d98f3e2f2d Mon Sep 17 00:00:00 2001 From: schlndh Date: Fri, 26 Sep 2025 12:50:51 +0200 Subject: [PATCH] enable checkStrictPrintfPlaceholderTypes --- composer.json | 2 +- rules.neon | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 2bbc44d..bc72c58 100644 --- a/composer.json +++ b/composer.json @@ -7,7 +7,7 @@ ], "require": { "php": "^7.4 || ^8.0", - "phpstan/phpstan": "^2.0.4" + "phpstan/phpstan": "^2.1.29" }, "require-dev": { "php-parallel-lint/php-parallel-lint": "^1.2", diff --git a/rules.neon b/rules.neon index 7a63c4e..0def6d8 100644 --- a/rules.neon +++ b/rules.neon @@ -11,6 +11,7 @@ parameters: reportStaticMethodSignatures: true reportMaybesInPropertyPhpDocTypes: true reportWrongPhpDocTypeInVarTag: true + checkStrictPrintfPlaceholderTypes: true strictRules: allRules: true disallowedLooseComparison: %strictRules.allRules%