View Issue Details

IDProjectCategoryView StatusLast Update
0001372XdebugUncategorizedpublic2016-12-02 12:45
ReporterMougrim Assigned Toderick  
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
Attached Files
With uopz.png (13,590 bytes)   
With uopz.png (13,590 bytes)   
Without uopz.png (13,792 bytes)   
Without uopz.png (13,792 bytes)   
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

Issue History

Date Modified Username Field Change
2016-12-01 07:36 Mougrim New Issue
2016-12-01 07:36 Mougrim File Added: With uopz.png
2016-12-01 07:37 Mougrim File Added: Without uopz.png
2016-12-01 07:39 Mougrim Tag Attached: PHP7
2016-12-01 07:39 Mougrim Tag Attached: coverage
2016-12-01 19:30 derick Note Added: 0003863
2016-12-01 19:30 derick Assigned To => derick
2016-12-01 19:30 derick Status new => confirmed
2016-12-02 12:45 derick Note Added: 0003869
2016-12-02 12:45 derick Status confirmed => resolved
2016-12-02 12:45 derick Resolution open => not fixable
2020-03-12 16:35 derick Category Usage problems (Wrong Results) => Variable Display
2020-03-12 16:38 derick Category Variable Display => Uncategorized