Skip to content

Commit 39876ba

Browse files
maaarghknikic
authored andcommitted
run-tests: Fix warning when specifying xdebug as a required extension
1 parent 0a77904 commit 39876ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

run-tests.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2056,7 +2056,7 @@ function run_test(string $php, $file, array $env): string
20562056
$missing = [];
20572057
foreach ($extensions as $req_ext) {
20582058
if (!in_array(strtolower($req_ext), $loaded)) {
2059-
if ($req_ext == 'opcache') {
2059+
if ($req_ext == 'opcache' || $req_ext == 'xdebug') {
20602060
$ext_file = $ext_dir . DIRECTORY_SEPARATOR . $ext_prefix . $req_ext . '.' . PHP_SHLIB_SUFFIX;
20612061
$ini_settings['zend_extension'][] = $ext_file;
20622062
} else {

0 commit comments

Comments
 (0)