Closed scato closed 4 years ago
Also, SebastianBergmann\PHPCOV\Application::doRun()
didn't pass the exit code from parent::doRun()
, so I had to fix that.
@sebastianbergmann any chance of this being merged & released soon, or is there any additional work that needs to be done on this PR? This is exactly what I need for another project and it'd be nice to not have to add any additional dependencies, so I'd be happy to help out if anything else is needed.
I tested this locally against the latest release (phpcov 3.1.0 and phpunit 5.6.1 at the time of this comment) and it appears to work as expected.
Thank you for your contribution. I appreciate the time you invested in preparing this pull request. However, I have decided not to merge it.
This PR contains a command for checking code coverage. You pass the path to a .cov file and a target percentage, and it returns an exit code 1 if the coverage is insufficient.
I've replaced any version number with
<unreleased>
. Is that okay?See also: #50