From 3860159eaa190561896dcade11268193b4b4630b Mon Sep 17 00:00:00 2001 From: Stefan Giehl Date: Tue, 17 May 2022 14:07:09 +0200 Subject: Compatibility fixes for PHP 8.1 (#19143) * Update .travis.yml * fix php 8.1 deprecation notices * Revert "run report tests on any PHP version (#18666)" This reverts commit ec58ab4606cbc6c7f7c3a7aa7f1e9cc5a88e5dfb. * apply PSR12 code formatting * fix deprecation notice * try to fix test * fix frontcontroller test * Clearing output buffers with enabled output compression makes problems on some PHP versions * Set the mysqli error reporting to none, to prevent possible problems on PHP 8.1 --- tests/PHPUnit/Integration/FrontControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/PHPUnit/Integration') diff --git a/tests/PHPUnit/Integration/FrontControllerTest.php b/tests/PHPUnit/Integration/FrontControllerTest.php index d785777aa3..780a3f68a9 100644 --- a/tests/PHPUnit/Integration/FrontControllerTest.php +++ b/tests/PHPUnit/Integration/FrontControllerTest.php @@ -31,7 +31,7 @@ class FrontControllerTest extends IntegrationTestCase $this->assertEquals('error', $response['result']); $expectedFormat = <<assertStringMatchesFormat($expectedFormat, $response['message']); -- cgit v1.2.3