From 2a5bc513c6ae065ef43bda71b321bce1b318f03e Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 8 Apr 2025 14:12:09 +0200 Subject: [PATCH] fix tests with 5.6 --- tests/gnupgt.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/gnupgt.inc b/tests/gnupgt.inc index 2b8aa08..7b06a0a 100644 --- a/tests/gnupgt.inc +++ b/tests/gnupgt.inc @@ -75,7 +75,7 @@ class gnupgt { self::reset_key(); $gpg = self::create_instance(); - $gpg->import($privkey ?? $testkey); + $gpg->import(is_null($privkey) ? $testkey : $privkey); } /**