View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002164 | Xdebug | Code Coverage | public | 2023-03-05 12:23 | 2023-03-05 15:12 |
Reporter | sebastian | Assigned To | |||
Priority | normal | Severity | major | Reproducibility | have not tried |
Status | new | Resolution | open | ||
Product Version | 3.2.0 | ||||
Summary | 0002164: Branch and Path Coverage wrong for first class callable | ||||
Description | Copied here from https://github.com/sebastianbergmann/php-code-coverage/issues/984#issuecomment-1454892521.
The | ||||
Steps To Reproduce | <?php xdebug_start_code_coverage(XDEBUG_CC_UNUSED | XDEBUG_CC_DEAD_CODE | XDEBUG_CC_BRANCH_CHECK); class Foo $firstClassCallable = Foo::bar(...); $firstClassCallable('testing'); $coverage = xdebug_get_code_coverage()[FILE]['functions']; | ||||
Tags | No tags attached. | ||||
Operating System | Irrelevant | ||||
PHP Version | 8.2-dev | ||||
Date Modified | Username | Field | Change |
---|---|---|---|
2023-03-05 12:23 | sebastian | New Issue |