File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -31,7 +31,6 @@ public static function enable(): ErrorHandler
3131
3232 @ini_set ('zend.assertions ' , 1 );
3333 ini_set ('assert.active ' , 1 );
34- ini_set ('assert.warning ' , 0 );
3534 ini_set ('assert.exception ' , 1 );
3635
3736 DebugClassLoader::enable ();
Original file line number Diff line number Diff line change @@ -619,6 +619,7 @@ public function testAssertQuietEval()
619619 $ this ->markTestSkipped ('zend.assertions is forcibly disabled ' );
620620 }
621621
622+ set_error_handler (function () {});
622623 $ ini = [
623624 ini_set ('zend.assertions ' , 1 ),
624625 ini_set ('assert.active ' , 1 ),
@@ -627,6 +628,7 @@ public function testAssertQuietEval()
627628 ini_set ('assert.callback ' , null ),
628629 ini_set ('assert.exception ' , 0 ),
629630 ];
631+ restore_error_handler ();
630632
631633 $ logger = new BufferingLogger ();
632634 $ handler = new ErrorHandler ($ logger );
You can’t perform that action at this time.
0 commit comments