From 1d3725341a6fae70cdfa12a9544a08873a8a5961 Mon Sep 17 00:00:00 2001 From: "J. King" Date: Fri, 6 Nov 2020 19:56:32 -0500 Subject: [PATCH] Fix detection of Xdebug for coverage --- RoboFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RoboFile.php b/RoboFile.php index 17456c10..31b98924 100644 --- a/RoboFile.php +++ b/RoboFile.php @@ -99,7 +99,7 @@ class RoboFile extends \Robo\Tasks { return $php; } elseif (file_exists($dir."pcov.$ext")) { return "$php -d extension=pcov.$ext -d pcov.enabled=1 -d pcov.directory=$code"; - } elseif (file_exists($dir."pcov.$ext")) { + } elseif (file_exists($dir."xdebug.$ext")) { return "$php -d zend_extension=xdebug.$ext"; } else { if (IS_WIN) {