File: Fix-FTBFS-with-phpunit-8.5.13-1.patch

package info (click to toggle)
php-crypt-gpg 1.6.4-2%2Bdeb11u1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,184 kB
  • sloc: php: 9,171; xml: 201; makefile: 9
file content (59 lines) | stat: -rw-r--r-- 1,958 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
From: Guilhem Moulin <guilhem@debian.org>
Date: Sun, 20 Dec 2020 13:37:14 +0100
Subject: Fix FTBFS with phpunit 8.5.13-1.

Forwarded: not-needed
---
 Crypt_GPG-1.6.4/tests/ImportKeyTest.php    | 2 +-
 Crypt_GPG-1.6.4/tests/KeyGeneratorTest.php | 2 +-
 Crypt_GPG-1.6.4/tests/TestCase.php         | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/Crypt_GPG-1.6.4/tests/ImportKeyTest.php b/Crypt_GPG-1.6.4/tests/ImportKeyTest.php
index b044471..53bea24 100644
--- a/Crypt_GPG-1.6.4/tests/ImportKeyTest.php
+++ b/Crypt_GPG-1.6.4/tests/ImportKeyTest.php
@@ -60,7 +60,7 @@ class ImportKeyTestCase extends Crypt_GPG_TestCase
     // set up
     // {{{ setUp()
 
-    public function setUp()
+    public function setUp(): void
     {
         parent::setUp();
 
diff --git a/Crypt_GPG-1.6.4/tests/KeyGeneratorTest.php b/Crypt_GPG-1.6.4/tests/KeyGeneratorTest.php
index 919752d..ab08b8f 100644
--- a/Crypt_GPG-1.6.4/tests/KeyGeneratorTest.php
+++ b/Crypt_GPG-1.6.4/tests/KeyGeneratorTest.php
@@ -174,7 +174,7 @@ class KeyGeneratorTestCase extends Crypt_GPG_TestCase
     // }}}
     // {{{ setUp()
 
-    public function setUp()
+    public function setUp(): void
     {
         parent::setUp();
         $this->generator = new Crypt_GPG_KeyGenerator($this->getOptions());
diff --git a/Crypt_GPG-1.6.4/tests/TestCase.php b/Crypt_GPG-1.6.4/tests/TestCase.php
index 431dbee..17d4aed 100644
--- a/Crypt_GPG-1.6.4/tests/TestCase.php
+++ b/Crypt_GPG-1.6.4/tests/TestCase.php
@@ -119,7 +119,7 @@ abstract class Crypt_GPG_TestCase extends PHPUnit\Framework\TestCase
     // set up
     // {{{ setUp()
 
-    public function setUp()
+    public function setUp(): void
     {
         // load test configuration file if it exists
         $configFilename = __DIR__ . '/config.php';
@@ -567,7 +567,7 @@ TEXT;
     // }}}
     // {{{ tearDown()
 
-    public function tearDown()
+    public function tearDown(): void
     {
         unset($this->gpg);