View Issue Details

IDProjectCategoryView StatusLast Update
0001779XdebugCode Coveragepublic2020-04-24 14:40
ReporterJParkinson1991 Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version2.9.4 
Target Version2.9.5Fixed in Version2.9.5 
Summary0001779: Nested multi-line built-in function in namespace are not covered
Description

When nesting multiline functions code coverage shows the nested function(s) name line(s) as not executed, the paramters however are shown as executed.

Steps To Reproduce

GIT Repo: https://github.com/JParkinson1991/xdebug-code-coverage-multilne-functions
Clone: https://github.com/JParkinson1991/xdebug-code-coverage-multilne-functions.git

Run commands:
$ composer install
$ composer run test
$ composer run open

If your OS does not support the 'open' command manually open ./var/coverage/index.html

Additional Information

PHP 7.4.5 (cli) (built: Apr 18 2020 03:17:54) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies
with Xdebug v2.9.4, Copyright (c) 2002-2020, by Derick Rethans
with Zend OPcache v7.4.5, Copyright (c), by Zend Technologies

TagsNo tags attached.
Operating SystemMacOS 10.15.4
PHP Version7.4.0-7.4.4

Activities

derick

2020-04-24 14:40

administrator   ~0005402

Fixed in GitHub, for Xdebug 2.9.5. Thanks for your report.