From: Remi Collet <remi@remirepo.net>
Date: Mon, 28 Sep 2020 15:06:14 +0200
Subject: simpler warning to avoid DivisionByZeroError exception in 8

---
 imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt b/imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt
index 77eeb17..ba2f5d1 100644
--- a/imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt
+++ b/imagick-3.4.4+php8.0/tests/270_imagick_restoreErrorHandler.phpt
@@ -16,7 +16,7 @@ catch(ImagickException $ie) {
 }
 
 try {
-	$x = @(5 / 0);
+	$x = @$x;
 	echo "Normal warning is suppressed".PHP_EOL;
 }
 catch(\Exception $e) {
@@ -27,4 +27,4 @@ catch(\Exception $e) {
 ?>
 --EXPECTF--
 Normal exception
-Normal warning is suppressed
\ No newline at end of file
+Normal warning is suppressed
