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

Do not fetch file diff if updated file has no messages #54

Closed sirbrillig closed 2 years ago

sirbrillig commented 2 years ago

This is a follow-up to #51, which modifies the automatic mode workflows so that they do not run phpcs on the previous version of a file if the current version has no phpcs messages; in this PR we modify them further to also not generate a VCS diff of the file in that case.

Fixes https://github.com/sirbrillig/phpcs-changed/issues/53

To do: