Skip to content

Use Rector\RuleDoc namespace instead of deprecated symplify/rule-doc-generator-contracts - #794

Merged
TomasVotruba merged 3 commits into
mainfrom
inline-rule-doc-contracts
Oct 10, 2026
Merged

TomasVotruba merged 3 commits into
mainfrom
inline-rule-doc-contracts

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Switch rule imports from the deprecated symplify/rule-doc-generator-contracts namespace Symplify\RuleDocGenerator\* to Rector\RuleDoc\*, which inlines those classes in rector-src.

Depends on rectorphp/rector-src#8586 - merge that first. CI here stays red until rector-src main ships the Rector\RuleDoc classes.

Pure mechanical import swap, ECS reapplied for import ordering. No logic change.

…generator-contracts

The symplify/rule-doc-generator-contracts package is deprecated. Its classes
are inlined in rector-src under the Rector\RuleDoc namespace, so switch rule
imports from Symplify\RuleDocGenerator\* to Rector\RuleDoc\*.
@TomasVotruba
TomasVotruba merged commit a680469 into main Oct 10, 2026
4 of 8 checks passed
@TomasVotruba
TomasVotruba deleted the inline-rule-doc-contracts branch October 10, 2026 13:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant