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.' ); }