"Inheritance" between traits is not considered
Closed this issue · 1 comments
PHPUnit 11 passes code coverage targets (from "covers" and "uses" metadata) to this library as arrays with source code locations (files and line numbers). This information is provided by sebastian/code-unit and this is issue is tracked for PHPUnit 11 in that library's issue tracker here.
After #519 and starting with PHPUnit 12, PHPUnit passes code coverage targets as Target objects. These objects are then mapped by this library to source code locations (files and line numbers). This issue tracks that this functionality in this library needs to be fixed to properly consider "inheritance" between traits.
Originally reported by @InvisibleSmiley in sebastianbergmann/phpunit#6080.
Turned out that traits were not considered at all before a0adc21.