View Issue Details

IDProjectCategoryView StatusLast Update
0002187XdebugCode Coveragepublic2023-08-01 09:44
Reporterkama Assigned Toderick  
Status feedbackResolutionopen 
Product Version3.2.2 
Summary0002187: Code coverage misses constructor property promotion code with parent::__construct call

Constructor property promotion does not get marked as covered

Steps To Reproduce
class DownloadEvent extends Event
    public function __construct(
        Type $type,
        private readonly int $Id,
    ) {
Additional Information

similar to

TagsNo tags attached.
Operating System
PHP Version8.1.10-8.1.19



2023-08-01 09:44

administrator   ~0006617

Do you have a full set of sample code that I can actually run? — the contents of your test case, and a minimal implementation of Event should do it.

Issue History

Date Modified Username Field Change
2023-07-18 05:37 kama New Issue
2023-08-01 09:41 derick Steps to Reproduce Updated
2023-08-01 09:44 derick Assigned To => derick
2023-08-01 09:44 derick Status new => feedback
2023-08-01 09:44 derick Note Added: 0006617