View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001910 | Xdebug | Code Coverage | public | 2020-12-10 09:38 | 2020-12-11 11:22 |
Reporter | Stanjan | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 3.0.1 | ||||
Target Version | 3.0dev | Fixed in Version | 3.0.2 | ||
Summary | 0001910: Code coverage misses constructor property promotion code | ||||
Description | Constructor property promotion does not get marked as covered | ||||
Steps To Reproduce | This causes the class to miss 1 method and line in the code coverage report: public function __construct( After changing it to a regular constructor, it does work, eg: private Security $security; public function __construct( | ||||
Tags | No tags attached. | ||||
Operating System | |||||
PHP Version | 8.0.0-8.0.4 | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2020-12-10 09:38 | Stanjan | New Issue | |
2020-12-10 12:40 | derick | Status | new => confirmed |
2020-12-10 12:40 | derick | Target Version | => 3.0.2 |
2020-12-10 16:24 | derick | Summary | PHP8 Constructor property promotion code coverage => Code coverage misses constructor property promotion code |
2020-12-11 11:22 | derick | Assigned To | => derick |
2020-12-11 11:22 | derick | Status | confirmed => closed |
2020-12-11 11:22 | derick | Resolution | open => fixed |
2020-12-11 11:22 | derick | Fixed in Version | => 3.0.2 |
2020-12-11 11:22 | derick | Note Added: 0005583 | |
2020-12-11 11:22 | derick | Target Version | 3.0.2 => 3.0dev |