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

Experiment: extract and generalize lint diffing system #47

Merged
merged 16 commits into from
Dec 18, 2021

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Nov 10, 2021

It occurs to me that the core of phpcs-changed, the system to take two lint results and a diff and to return the lint results that are new, could be easily used for other linters than just phpcs.

This PR extracts the core of this system, untangling it from phpcs-specific concepts, into its own set of classes so it could be used more easily elsewhere.

@sirbrillig sirbrillig marked this pull request as ready for review December 18, 2021 17:43
@sirbrillig sirbrillig merged commit 3ea8377 into master Dec 18, 2021
@sirbrillig sirbrillig deleted the extract-lint-diff branch December 18, 2021 17:47
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.

1 participant