I have a file which ends with this line:
);/* End of process prefix group. */
Which causes this error:
{"error":{"type":"ErrorException","message":"Undefined offset: 59","file":"\/home\/philip\/projects\/parasol\/vendor\/phpunit\/php-code-coverage\/src\/CodeCoverage.php","line":697}}
I've been able to duplicate this error by placing:
at the end of any processed php file. Appending to the end of a class doesn't cause any issue.