File tree Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Expand file tree Collapse file tree 2 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -265,6 +265,13 @@ private function getRuntimeString(): string
265265 );
266266 }
267267
268+ if ($ runtime ->hasPCOV () && !$ runtime ->hasPHPDBGCodeCoverage ()) {
269+ $ buffer .= \sprintf (
270+ ' with <a href="https://github.com/krakjoe/pcov">PCOV %s</a> ' ,
271+ \phpversion ('pcov ' )
272+ );
273+ }
274+
268275 return $ buffer ;
269276 }
270277}
Original file line number Diff line number Diff line change @@ -42,6 +42,11 @@ public function setRuntimeInformation(Runtime $runtime): void
4242 $ driverNode ->setAttribute ('name ' , 'xdebug ' );
4343 $ driverNode ->setAttribute ('version ' , \phpversion ('xdebug ' ));
4444 }
45+
46+ if ($ runtime ->hasPCOV ()) {
47+ $ driverNode ->setAttribute ('name ' , 'pcov ' );
48+ $ driverNode ->setAttribute ('version ' , \phpversion ('pcov ' ));
49+ }
4550 }
4651
4752 public function setBuildTime (\DateTime $ date ): void
You can’t perform that action at this time.
0 commit comments