Skip to content

Remove deprecated symplify set and withPreparedSets() symplify arg - #67

Merged
TomasVotruba merged 1 commit into
mainfrom
remove-symplify-set
Sep 4, 2026
Merged

Remove deprecated symplify set and withPreparedSets() symplify arg#67
TomasVotruba merged 1 commit into
mainfrom
remove-symplify-set

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Follow-up cleanup after deprecating the PHP-CS-Fixer set loading.

The symplify set was already a no-op: config/set/symplify.php emitted a deprecation notice and returned ->withRules([]), loading zero rules. Its rules already live in the common sets.

What changed

  • Removed the symplify argument (and its dead trigger_error block) from withPreparedSets().
  • Removed the SetList::SYMPLIFY constant.
  • Deleted config/set/symplify.php.

Note

withPreparedSets(symplify: true) callers should switch to ->withPreparedSets(common: true) or the matching with*Level() methods.

phpstan, rector, check-cs and the full test suite pass.

https://claude.ai/code/session_01A8hvNrf4ZxWkiEjWxecSAa

The symplify set loaded no rules - it only emitted a deprecation notice.
Its rules already live in the common sets.

Claude-Session: https://claude.ai/code/session_01A8hvNrf4ZxWkiEjWxecSAa
@TomasVotruba
TomasVotruba merged commit 2e3589d into main Sep 4, 2026
8 checks passed
@TomasVotruba
TomasVotruba deleted the remove-symplify-set branch September 4, 2026 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant