Skip to content

Conversation

@TomasVotruba
Copy link
Member

No description provided.

@TomasVotruba TomasVotruba enabled auto-merge (squash) January 14, 2026 16:14
@TomasVotruba TomasVotruba merged commit 1e75743 into main Jan 14, 2026
59 checks passed
@TomasVotruba TomasVotruba deleted the tv-move-up branch January 14, 2026 16:16
Comment on lines +44 to +46
private readonly PhpVersionedFilter $phpVersionedFilter,
private readonly ConfigurationRuleFilter $configurationRuleFilter,
private array $rectors
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think the sort order params should be kept equals with RectorNodeTraverser::__construct():

 public function __construct(
        private array $rectors
        private readonly PhpVersionedFilter $phpVersionedFilter,
        private readonly ConfigurationRuleFilter $configurationRuleFilter,

just to make less error on community rules on next update, for example: RectorNodeTraverser is used on typo3-rector

https://github.com/sabbelasichon/typo3-rector/blob/51f9278abf4a40683aad6fbc6b4312d64ccf8b3e/rules/TYPO311/v4/RegisterIconToIconFileRector.php#L253-L255

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Got it 👍

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.

3 participants