We had an issue when modifying only the value of a constant in our source.
Since the modified line of code was not covered by code-coverage, and it was the only modified line, phpcov returned the following error:
'Unable to detect executable lines that were changed. Are you sure your --path-prefix is correct?'
I would propose to solve the problem by also counting the uncovered lines, and return the error only if there is actually no modified line, both covered and uncovered.
We had an issue when modifying only the value of a constant in our source. Since the modified line of code was not covered by code-coverage, and it was the only modified line, phpcov returned the following error: 'Unable to detect executable lines that were changed. Are you sure your --path-prefix is correct?' I would propose to solve the problem by also counting the uncovered lines, and return the error only if there is actually no modified line, both covered and uncovered.