View Issue Details

IDProjectCategoryView StatusLast Update
0001357XdebugCode Coveragepublic2016-12-04 18:33
Reporterkrtek Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.4.1 
Fixed in Version2.5.0 
Summary0001357: Line with function signature is reported as being not executed through code coverage
Description

When asking for code coverage on a method for which the signature contains the new variadic operator (ie '...'), Xdebug reports the line as being non-executed whereas all other method signatures aren't reported at all.

This seems to happen only on class methods, functions with the same operator are correctly covered.

Steps To Reproduce

1° Run the attached file 'test.php'
2° Line 6 is marked with '-1' which states for "not executed"

Additional Information

I saw this issue for the first time using the atoum test runner. I first opened an issue there ( https://github.com/atoum/atoum/issues/666 ) before I analyzed the output of Xdebug.

TagsNo tags attached.
Operating SystemLinux Debian Jessie
PHP Version7.0.10-7.0.14

Activities

derick

2016-11-16 13:27

administrator   ~0003749

Fixed in GIT, for Xdebug 2.5.0RC2.