Skip to content

Commit

Permalink
fix for xdebug v3
Browse files Browse the repository at this point in the history
  • Loading branch information
remicollet authored and theseer committed Oct 27, 2020
1 parent 1f04b7f commit 2c0a7ef
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/CLI.php
Original file line number Diff line number Diff line change
Expand Up @@ -591,7 +591,9 @@ private function preBootstrap() {
ini_set('xdebug.scream', 0);
ini_set('xdebug.max_nesting_level', 8192);
ini_set('xdebug.show_exception_trace', 0);
xdebug_disable();
if (function_exists('xdebug_disable')) { // Xdebug v2
xdebug_disable();
}
}

}
Expand Down

0 comments on commit 2c0a7ef

Please sign in to comment.