sirbrillig / phpcs-changed

🐘 Run phpcs on files and only report new warnings/errors compared to the previous version.
MIT License
31 stars 11 forks source link

Move git file existence check to ShellOperator #74

Closed sirbrillig closed 1 year ago

sirbrillig commented 1 year ago

Part of implementing https://github.com/sirbrillig/phpcs-changed/issues/73, this moves the check for git file existence to the ShellOperator interface, allowing it to be abstracted for different shells.