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

[Internals] Decouple output from AbstractRector, narrow debugging output to file path #4976

Merged
merged 2 commits into from Sep 10, 2023

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Sep 10, 2023

Follow up to #4972

While exploring the collectors, I've noticed the AbstactRector has bloated dependencies that are mixing output and stmts processing. Also, so far the debugged results were not from particular rules, but rather pattern (e.g. regex) used in one of non-Rector services.


The goal is to align with https://github.com/phpstan/phpstan-src/tree/1.11.x/src/Analyser, so it's easier to mimic and align features 👍

@TomasVotruba TomasVotruba changed the title tv post file debug [Internals] Decopule output from AbstractRector, narrow debugging output to file path Sep 10, 2023
@TomasVotruba TomasVotruba changed the title [Internals] Decopule output from AbstractRector, narrow debugging output to file path [Internals] Decouple output from AbstractRector, narrow debugging output to file path Sep 10, 2023
@TomasVotruba TomasVotruba merged commit 1593d00 into main Sep 10, 2023
40 checks passed
@TomasVotruba TomasVotruba deleted the tv-post-file-debug branch September 10, 2023 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant