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.
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.