Skip to content

Commit f0c52a8

Browse files
committed
xdebug_disable() is obsolete
1 parent 6053222 commit f0c52a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/_files/FatalTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ class FatalTest extends PHPUnit_Framework_TestCase
44
{
55
public function testFatalError()
66
{
7-
if (extension_loaded('xdebug')) {
7+
if (extension_loaded('xdebug') && function_exists('xdebug_disable')) {
88
xdebug_disable();
99
}
1010

0 commit comments

Comments
 (0)