diff --git a/tests/ReadabilityTest.php b/tests/ReadabilityTest.php index 56f04da..542ae5c 100644 --- a/tests/ReadabilityTest.php +++ b/tests/ReadabilityTest.php @@ -332,9 +332,9 @@ class ReadabilityTest extends \PHPUnit\Framework\TestCase public function testAutoClosingIframeNotThrowingException() { - $oldErrorReporting = error_reporting(\E_ALL | \E_STRICT); + $oldErrorReporting = error_reporting(\E_ALL); $oldDisplayErrors = ini_set('display_errors', true); - set_error_handler([$this, 'error2Exception'], \E_ALL | \E_STRICT); + set_error_handler([$this, 'error2Exception']); try { $data = '