View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0001740 | Xdebug | Code Coverage | public | 2020-01-28 06:15 | 2020-04-09 08:53 |
Reporter | axent | Assigned To | derick | ||
Priority | normal | Severity | minor | Reproducibility | random |
Status | resolved | Resolution | unable to reproduce | ||
Platform | mac | OS | Alpine Linux | OS Version | v3.11 |
Product Version | 2.9.1 | ||||
Summary | 0001740: No marked as coverage by array_merge as function attribute | ||||
Description | although codeline was tested, covarege shows the line of code as untested | ||||
Tags | No tags attached. | ||||
Attached Files | |||||
Operating System | |||||
PHP Version | 7.4.0-7.4.4 | ||||
|
Please attach the whole file (and only the file), that shows this problem. |
|
Can you please supply the requested information? |
|
Sorry, It was refactored and I can not find more the part in source code. :( |
|
Okay, that's fine. Let me know (in a new issue) when you see this happening again, and then please attach that whole file to the ticket. |
|
Hello, thanks for your great work. Got this issue too FYI. Cannot drop client file here but here somme explanation for my case: Working: $bar = [ Not working: $foo = [ Cannot join file, got error from database. |
|
Forgot version when i re-write issue: PHP 7.4.4 and xDebug 2.9.2 |
|
I am having the same issue. I have found this to be the case with multiple php functions such as json_encode, array_merge, array_map, sprintf, ... Working: Not working: in this not working example the line 'bar' => json_encode( is marked as not covered. |
|
Please create a new bug report (this is closed) when providing whole files that I can "php -r" , and tell me which exact lines aren't covered. Please read the instructions on what I need at https://xdebug.org/reporting-bugs (I'll add a specific code coverage section in a few hours). |
Date Modified | Username | Field | Change |
---|---|---|---|
2020-01-28 06:15 | axent | New Issue | |
2020-01-28 06:15 | axent | File Added: Bildschirmfoto 2020-01-28 um 07.12.04.png | |
2020-01-28 15:52 | derick | Assigned To | => derick |
2020-01-28 15:52 | derick | Status | new => feedback |
2020-01-28 15:52 | derick | Note Added: 0005232 | |
2020-03-12 16:20 | derick | Note Added: 0005291 | |
2020-03-13 13:36 | axent | Note Added: 0005297 | |
2020-03-13 13:36 | axent | Status | feedback => assigned |
2020-03-24 10:41 | derick | Status | assigned => resolved |
2020-03-24 10:41 | derick | Resolution | open => unable to reproduce |
2020-03-24 10:41 | derick | Note Added: 0005338 | |
2020-03-30 12:52 | lugus | Note Added: 0005360 | |
2020-03-30 12:55 | lugus | Note Added: 0005361 | |
2020-04-09 08:39 | michieldilissen | Note Added: 0005379 | |
2020-04-09 08:53 | derick | Note Added: 0005380 |