Skip to content

Commit 404aa17

Browse files
authored
fix: run-tests script with xdebug version >= 3.0.0 (#6022)
1 parent 71fc2f6 commit 404aa17

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -922,7 +922,7 @@ More .INIs : " , (function_exists(\'php_ini_scanned_files\') ? str_replace("\n"
922922
'session' => array('session.auto_start=0'),
923923
'tidy' => array('tidy.clean_output=0'),
924924
'zlib' => array('zlib.output_compression=Off'),
925-
'xdebug' => array('xdebug.default_enable=0'),
925+
'xdebug' => version_compare(phpversion('xdebug'), '3.0.0', '>=') ? array('xdebug.mode=off') : array('xdebug.default_enable=0'),
926926
'mbstring' => array('mbstring.func_overload=0'),
927927
);
928928

0 commit comments

Comments
 (0)