php-code-coverage icon indicating copy to clipboard operation
php-code-coverage copied to clipboard

Refactor how code unit information is passed from PHPUnit

Open sebastianbergmann opened this issue 8 years ago • 0 comments

PHPUnit turns code unit information (@covers class::method, for instance) into filename and line numbers information which this component then uses but has to convert back into code unit information when, for instance, a CoveredCodeNotExecutedException has to be raised.

It would be better for PHPUnit to pass lists of code units (from @covers and @uses annotations) to this component instead.

sebastianbergmann avatar Apr 12 '17 07:04 sebastianbergmann