Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 0 additions & 13 deletions config/set/symplify.php

This file was deleted.

13 changes: 0 additions & 13 deletions src/Configuration/ECSConfigBuilder.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down Expand Up @@ -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;
}
Expand Down
6 changes: 0 additions & 6 deletions src/ValueObject/Set/SetList.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
*/
Expand Down
Loading