From 15bcbe31570a6238c9be3c72c28e6b751545f09c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= <25648755+M-arcus@users.noreply.github.com> Date: Tue, 5 May 2026 10:23:27 +0200 Subject: [PATCH 1/2] Improve deprecation message for strict set Updated the deprecation message to clarify the use of Rector rule. --- config/set/common/strict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/set/common/strict.php b/config/set/common/strict.php index 6d3110ccb0..51cee27016 100644 --- a/config/set/common/strict.php +++ b/config/set/common/strict.php @@ -4,4 +4,4 @@ namespace ECSPrefix202605; use Symplify\EasyCodingStandard\Exception\DeprecatedException; -throw new DeprecatedException('The "strict" set is deprecated as dangerous to run withou propper context. Please use Rector instead.'); +throw new DeprecatedException('The "strict" set is deprecated as it is dangerous to run without proper context. Please use the Rector rule "DeclareStrictTypesRector" instead.'); From 3f5b2bd9faf49c218c547293594f1a7a90679a8e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marcus=20M=C3=BCller?= <25648755+M-arcus@users.noreply.github.com> Date: Tue, 5 May 2026 10:31:07 +0200 Subject: [PATCH 2/2] Update deprecation message for strict set --- config/set/common/strict.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/set/common/strict.php b/config/set/common/strict.php index 51cee27016..50d93a5d6f 100644 --- a/config/set/common/strict.php +++ b/config/set/common/strict.php @@ -4,4 +4,4 @@ namespace ECSPrefix202605; use Symplify\EasyCodingStandard\Exception\DeprecatedException; -throw new DeprecatedException('The "strict" set is deprecated as it is dangerous to run without proper context. Please use the Rector rule "DeclareStrictTypesRector" instead.'); +throw new DeprecatedException('The "strict" set is deprecated as it is dangerous to run without proper context. Please use the Rector rule "SafeDeclareStrictTypesRector" instead.');