File tree Expand file tree Collapse file tree 4 files changed +13
-7
lines changed
CoverageForClassWithAnonymousFunction
CoverageForFileWithIgnoredLines Expand file tree Collapse file tree 4 files changed +13
-7
lines changed Original file line number Diff line number Diff line change @@ -38,18 +38,21 @@ public function setRuntimeInformation(Runtime $runtime)
3838 $ runtimeNode ->setAttribute ('version ' , $ runtime ->getVersion ());
3939 $ runtimeNode ->setAttribute ('url ' , $ runtime ->getVendorUrl ());
4040
41+ $ driverNode = $ this ->getNodeByName ('driver ' );
4142 if ($ runtime ->isHHVM ()) {
42- $ runtimeNode ->setAttribute ('hhvm ' , constant ( ' HHVM_VERSION ' ) );
43-
43+ $ driverNode ->setAttribute ('name ' , ' hhvm ' );
44+ $ driverNode -> setAttribute ( ' version ' , constant ( ' HHVM_VERSION ' ));
4445 return ;
4546 }
4647
4748 if ($ runtime ->hasPHPDBGCodeCoverage ()) {
48- $ runtimeNode ->setAttribute ('phpdbg ' , constant ('PHPDBG_VERSION ' ));
49+ $ driverNode ->setAttribute ('name ' , 'phpdbg ' );
50+ $ driverNode ->setAttribute ('version ' , constant ('PHPDBG_VERSION ' ));
4951 }
5052
5153 if ($ runtime ->hasXdebug ()) {
52- $ runtimeNode ->setAttribute ('xdebug ' , phpversion ('xdebug ' ));
54+ $ driverNode ->setAttribute ('name ' , 'xdebug ' );
55+ $ driverNode ->setAttribute ('version ' , phpversion ('xdebug ' ));
5356 }
5457 }
5558
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<phpunit xmlns =" http://schema.phpunit.de/coverage/1.0" >
33 <build time =" %s" phpunit =" %s" coverage =" %s" >
4- <runtime name =" PHP" version =" %s" url =" %s" xdebug =" %s" />
4+ <runtime name =" %s" version =" %s" url =" %s" />
5+ <driver name =" %s" version =" %s" />
56 </build >
67 <project name =" %s" >
78 <tests >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<phpunit xmlns =" http://schema.phpunit.de/coverage/1.0" >
33 <build time =" %s" phpunit =" %s" coverage =" %s" >
4- <runtime name =" PHP" version =" %s" url =" %s" xdebug =" %s" />
4+ <runtime name =" %s" version =" %s" url =" %s" />
5+ <driver name =" %s" version =" %s" />
56 </build >
67 <project name =" %s" >
78 <tests >
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" ?>
22<phpunit xmlns =" http://schema.phpunit.de/coverage/1.0" >
33 <build time =" %s" phpunit =" %s" coverage =" %s" >
4- <runtime name =" PHP" version =" %s" url =" %s" xdebug =" %s" />
4+ <runtime name =" %s" version =" %s" url =" %s" />
5+ <driver name =" %s" version =" %s" />
56 </build >
67 <project name =" %s" >
78 <tests >
You can’t perform that action at this time.
0 commit comments