Tuurlijk / typo3scan

Scans TYPO3 extensions for usage of deprecated and or changed code
MIT License
94 stars 17 forks source link

Add "--fail-on-match" CLI option #39

Closed mbrodala closed 4 years ago

mbrodala commented 4 years ago

When set, this option lets the "scan" command fail which is useful for automated CI checks.

mbrodala commented 4 years ago

That was fast, thanks. :-)

Tuurlijk commented 4 years ago

Should we omit the option and make it default behavior?

mbrodala commented 4 years ago

I'd be fine with that. If you invoke it interactively you normally care more about the output than the command status. There should be no harm here.