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 @@ -305,29 +305,11 @@ private function runtimeString(): string
305305 {
306306 $ runtime = new Runtime ;
307307
308- $ buffer = sprintf (
308+ return sprintf (
309309 '<a href="%s" target="_top">%s %s</a> ' ,
310310 $ runtime ->getVendorUrl (),
311311 $ runtime ->getName (),
312312 $ runtime ->getVersion ()
313313 );
314-
315- if ($ runtime ->hasPHPDBGCodeCoverage ()) {
316- return $ buffer ;
317- }
318-
319- if ($ runtime ->hasPCOV ()) {
320- $ buffer .= sprintf (
321- ' with <a href="https://github.com/krakjoe/pcov">PCOV %s</a> ' ,
322- phpversion ('pcov ' )
323- );
324- } elseif ($ runtime ->hasXdebug ()) {
325- $ buffer .= sprintf (
326- ' with <a href="https://xdebug.org/">Xdebug %s</a> ' ,
327- phpversion ('xdebug ' )
328- );
329- }
330-
331- return $ buffer ;
332314 }
333315}
You can’t perform that action at this time.
0 commit comments