Package: php-imagick
Version: 3.4.4-4.1
Severity: serious
Tags: upstream patch
X-Debbugs-Cc: pkg-php-p...@lists.alioth.debian.org

Hi,

With recent phpunit (>= 9) as now available in unstable, the autopkgtest
of php-imagick fails because of a void --EXPECTF-- stanza. The attached
naive patch workarounds this issue.

Regards

David
From: =?utf-8?q?David_Pr=C3=A9vot?= <taf...@debian.org>
Date: Mon, 21 Dec 2020 09:37:41 -0400
Subject: Void expectation is not allowed with PHPUnit 9

---
 imagick-3.4.4/tests/bug_72226.phpt | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/imagick-3.4.4/tests/bug_72226.phpt b/imagick-3.4.4/tests/bug_72226.phpt
index 6ad5631..6724b87 100644
--- a/imagick-3.4.4/tests/bug_72226.phpt
+++ b/imagick-3.4.4/tests/bug_72226.phpt
@@ -19,4 +19,5 @@ if (class_exists('ImagickKernelException', false) == true) {
 }
 
 ?>
---EXPECTF--
+--EXPECTREGEX--
+^$

Attachment: signature.asc
Description: PGP signature

Reply via email to