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

Support new files in svn workflow #1

Closed sirbrillig closed 5 years ago

sirbrillig commented 5 years ago

Currently if you run the CLI command phpcs-changed using the --svn option on a just-added file (one with no svn history), then you will get an error.

This PR changes the behavior such that it handles those files correctly, reporting all phpcs errors.