Skip to content

[Bridge] Add SetRectorsResolver, SetProviderCollector for easier use in 3rd-party tools#6030

Merged
TomasVotruba merged 2 commits intomainfrom
tv-bridge-utils
Jun 25, 2024
Merged

[Bridge] Add SetRectorsResolver, SetProviderCollector for easier use in 3rd-party tools#6030
TomasVotruba merged 2 commits intomainfrom
tv-bridge-utils

Conversation

@TomasVotruba
Copy link
Copy Markdown
Member

@TomasVotruba TomasVotruba commented Jun 25, 2024

No description provided.

@TomasVotruba TomasVotruba changed the title tv bridge utils [Bridge] Add SetRectorsResolver, SetProviderCollector for easier use in 3rd-party tools Jun 25, 2024
@TomasVotruba TomasVotruba enabled auto-merge (squash) June 25, 2024 07:18
@TomasVotruba TomasVotruba merged commit 8f0a09c into main Jun 25, 2024
@TomasVotruba TomasVotruba deleted the tv-bridge-utils branch June 25, 2024 07:19
$tags = $tagsReflectionProperty->getValue($rectorConfig);

$rectorClasses = $tags[RectorInterface::class] ?? [];
sort($rectorClasses);
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

is sort() should only happen on reporting? for levelling rule, the original queue seems matter

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

It's just to make output alphabetical and easy to scan through by eyes :)

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.

2 participants