You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
…stead of a CodeUnit object (even if only a single CodeUnit object is to be returned)
The purpose of this component is to help with refactoring how information from @Covers and @uses annotations is passed from phpunit/phpunit to phpunit/php-code-coverage, see sebastianbergmann/php-code-coverage#519 for details.
I want this to happen sooner rather than later and do not want to wait for PHPUnit 10 and sebastianbergmann/phpunit#3631.
This means that, at least until PHPUnit 10, this component needs to support these strings for CodeUnit::fromString():
* ClassName::<public>
* ClassName::<protected>
* ClassName::<private>
* ClassName::<!public>
* ClassName::<!protected>
* ClassName::<!private>
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, aCoveredCodeNotExecutedException
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.The text was updated successfully, but these errors were encountered: