We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9654885 commit d7576f8Copy full SHA for d7576f8
src/Report/Xml/BuildInformation.php
@@ -38,15 +38,12 @@ public function __construct(
38
$xmlWriter->endElement();
39
40
$xmlWriter->startElement('driver');
41
-
42
- if ($runtime->hasXdebug()) {
43
- $xmlWriter->writeAttribute('name', 'xdebug');
44
- $xmlWriter->writeAttribute('version', phpversion('xdebug'));
45
- }
46
47
if ($runtime->hasPCOV()) {
48
$xmlWriter->writeAttribute('name', 'pcov');
49
$xmlWriter->writeAttribute('version', phpversion('pcov'));
+ } elseif ($runtime->hasXdebug()) {
+ $xmlWriter->writeAttribute('name', 'xdebug');
+ $xmlWriter->writeAttribute('version', phpversion('xdebug'));
50
}
51
52
0 commit comments