diff --git a/config/set/symplify.php b/config/set/symplify.php deleted file mode 100644 index 5357130a73..0000000000 --- a/config/set/symplify.php +++ /dev/null @@ -1,13 +0,0 @@ -withPreparedSets(common: true) or the matching ->withDocblockLevel()/->withSpacesLevel()/->withArrayLevel() methods instead.', - E_USER_DEPRECATED -); - -return ECSConfig::configure() - ->withRules([]); diff --git a/src/Configuration/ECSConfigBuilder.php b/src/Configuration/ECSConfigBuilder.php index f695b4e98a..e685c0cea9 100644 --- a/src/Configuration/ECSConfigBuilder.php +++ b/src/Configuration/ECSConfigBuilder.php @@ -226,11 +226,6 @@ public function withPreparedSets( bool $psr12 = false, /** @see SetList::COMMON */ bool $common = false, - /** - * @deprecated rules moved to the "common" sets. Use common: true or the with*Level() methods instead. - * @see SetList::SYMPLIFY - */ - bool $symplify = false, /** @see SetList::LARAVEL */ bool $laravel = false, @@ -329,14 +324,6 @@ public function withPreparedSets( $this->sets[] = SetList::STANDALONE_LINE; } - if ($symplify) { - // soft-deprecated: rules moved to the "common" sets, still loaded for backward compatibility - trigger_error( - 'The "symplify" set is deprecated. Its rules now live in the "common" sets - use ->withPreparedSets(common: true) or the matching ->withDocblockLevel()/->withSpacesLevel()/->withArrayLevel() methods instead.', - E_USER_DEPRECATED - ); - } - if ($laravel) { $this->sets[] = SetList::LARAVEL; } diff --git a/src/ValueObject/Set/SetList.php b/src/ValueObject/Set/SetList.php index c43957602a..9e7025bef1 100644 --- a/src/ValueObject/Set/SetList.php +++ b/src/ValueObject/Set/SetList.php @@ -19,12 +19,6 @@ final class SetList */ public const string CLEAN_CODE = __DIR__ . '/../../../config/set/clean-code.php'; - /** - * @api - * @deprecated rules moved to the "common" sets (array, docblock, spaces). Use SetList::COMMON instead. - */ - public const string SYMPLIFY = __DIR__ . '/../../../config/set/symplify.php'; - /** * @api */