File tree Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Expand file tree Collapse file tree 1 file changed +1
-19
lines changed Original file line number Diff line number Diff line change @@ -284,29 +284,11 @@ private function runtimeString(): string
284284 {
285285 $ runtime = new Runtime ;
286286
287- $ buffer = sprintf (
287+ return sprintf (
288288 '<a href="%s" target="_top">%s %s</a> ' ,
289289 $ runtime ->getVendorUrl (),
290290 $ runtime ->getName (),
291291 $ runtime ->getVersion ()
292292 );
293-
294- if ($ runtime ->hasPHPDBGCodeCoverage ()) {
295- return $ buffer ;
296- }
297-
298- if ($ runtime ->hasPCOV ()) {
299- $ buffer .= sprintf (
300- ' with <a href="https://github.com/krakjoe/pcov">PCOV %s</a> ' ,
301- phpversion ('pcov ' )
302- );
303- } elseif ($ runtime ->hasXdebug ()) {
304- $ buffer .= sprintf (
305- ' with <a href="https://xdebug.org/">Xdebug %s</a> ' ,
306- phpversion ('xdebug ' )
307- );
308- }
309-
310- return $ buffer ;
311293 }
312294}
You can’t perform that action at this time.
0 commit comments