View Issue Details

IDProjectCategoryView StatusLast Update
0001372XdebugUncategorizedpublic2016-12-02 12:45
ReporterMougrim Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionnot fixable 
PlatformLinuxOSUbuntuOS Version14.04
Product Version2.4.0 
Summary0001372: Problems in coverage with xdebug and uopz
Description

I have wrong coverage if uopz is enabled.
See https://github.com/mougrim/coverage-problem
https://travis-ci.org/mougrim/coverage-problem/builds/179891288
I reproduced it for uopz-5.0.1 and Xdebug 2.4.0 or 2.5.0rc2-dev (from master).
So, with uopz (wrong):
with uopz
Without uopz (right):
without uopz

PHP 7.0.7 (and PHP 7.0.13-1+deb.sury.org~trusty+1)
PHPUnit 5.6.7 by Sebastian Bergmann and contributors.

Tagscoverage, PHP7
Operating System
PHP Version7.0.10-7.0.14

Activities

derick

2016-12-01 19:30

administrator   ~0003863

I can reproduce this, now I need to figure out why...

derick

2016-12-02 12:45

administrator   ~0003869

Hi,

I am sorry to say, but this can not be fixed. Uopz overrides PHP's internal execute functions. Xdebug also requires this to do better code coverage, and code analysis. PHP doesn't support more than one extension doing this at the same time.

cheers,
Derick