From 0e0edab6479356fd1a2321bf9fb5c8f7137d0ad6 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Sat, 30 May 2026 10:44:59 +0200 Subject: [PATCH] improve strict: true message --- src/Configuration/ECSConfigBuilder.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Configuration/ECSConfigBuilder.php b/src/Configuration/ECSConfigBuilder.php index e866df6d14..ea4985cf56 100644 --- a/src/Configuration/ECSConfigBuilder.php +++ b/src/Configuration/ECSConfigBuilder.php @@ -328,7 +328,7 @@ public function withPreparedSets( if ($strict) { // throw exception, as deprecated throw new DeprecatedException( - 'The "strict" set is deprecated as it is dangerous without context. Use Rector instead to make sure you are not breaking your code' + 'The "strict" set is deprecated as it is dangerous without context. Remove the "strict: true" from ->withPreparedSets(strict: true, ...) call in "ecs.php" and use Rector instead to make sure you are not breaking your code.' ); }