Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 2 commits into from
Jun 25, 2024

Conversation

TomasVotruba
Copy link
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
35 checks passed
@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
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
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