Package: php-symfony-security-acl / 3.0.4-1

Compatibility-with-recent-PHPUnit-8.patch Patch series | 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
From: =?utf-8?q?David_Pr=C3=A9vot?= <taffit@debian.org>
Date: Sat, 10 Aug 2019 20:47:10 -1000
Subject: Compatibility with recent PHPUnit (8)

---
 Tests/Dbal/AclProviderBenchmarkTest.php | 4 ++--
 Tests/Dbal/AclProviderTest.php          | 4 ++--
 Tests/Dbal/MutableAclProviderTest.php   | 4 ++--
 3 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/Tests/Dbal/AclProviderBenchmarkTest.php b/Tests/Dbal/AclProviderBenchmarkTest.php
index b5b4dab..a4fcac2 100644
--- a/Tests/Dbal/AclProviderBenchmarkTest.php
+++ b/Tests/Dbal/AclProviderBenchmarkTest.php
@@ -31,7 +31,7 @@ class AclProviderBenchmarkTest extends TestCase
     protected $insertOidStmt;
     protected $insertEntryStmt;
 
-    protected function setUp()
+    protected function setUp(): void
     {
         try {
             $this->con = DriverManager::getConnection(array(
@@ -46,7 +46,7 @@ class AclProviderBenchmarkTest extends TestCase
         }
     }
 
-    protected function tearDown()
+    protected function tearDown(): void
     {
         $this->con = null;
     }
diff --git a/Tests/Dbal/AclProviderTest.php b/Tests/Dbal/AclProviderTest.php
index e0a47e7..35014b6 100644
--- a/Tests/Dbal/AclProviderTest.php
+++ b/Tests/Dbal/AclProviderTest.php
@@ -143,7 +143,7 @@ class AclProviderTest extends TestCase
         $this->assertEquals('SomeClass', $sid->getClass());
     }
 
-    protected function setUp()
+    protected function setUp(): void
     {
         $this->con = DriverManager::getConnection(array(
             'driver' => 'pdo_sqlite',
@@ -183,7 +183,7 @@ class AclProviderTest extends TestCase
         }
     }
 
-    protected function tearDown()
+    protected function tearDown(): void
     {
         $this->con = null;
     }
diff --git a/Tests/Dbal/MutableAclProviderTest.php b/Tests/Dbal/MutableAclProviderTest.php
index e7de0b5..5340550 100644
--- a/Tests/Dbal/MutableAclProviderTest.php
+++ b/Tests/Dbal/MutableAclProviderTest.php
@@ -515,7 +515,7 @@ class MutableAclProviderTest extends TestCase
         return $method->invokeArgs($object, $args);
     }
 
-    protected function setUp()
+    protected function setUp(): void
     {
         $this->con = DriverManager::getConnection(array(
             'driver' => 'pdo_sqlite',
@@ -529,7 +529,7 @@ class MutableAclProviderTest extends TestCase
         }
     }
 
-    protected function tearDown()
+    protected function tearDown(): void
     {
         $this->con = null;
     }