summaryrefslogtreecommitdiffstats
path: root/8.patch
diff options
context:
space:
mode:
Diffstat (limited to '8.patch')
-rw-r--r--8.patch36
1 files changed, 36 insertions, 0 deletions
diff --git a/8.patch b/8.patch
new file mode 100644
index 0000000..32e1e11
--- /dev/null
+++ b/8.patch
@@ -0,0 +1,36 @@
+From 52b1e37791d037094699302998b6df7a9f9c4a48 Mon Sep 17 00:00:00 2001
+From: Remi Collet <remi@remirepo.net>
+Date: Fri, 7 Feb 2020 15:10:47 +0100
+Subject: [PATCH] fix test suite for PHPUnit v9
+
+---
+ phpunit.xml | 2 +-
+ tests/EnumeratorTest.php | 2 +-
+ 2 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/phpunit.xml b/phpunit.xml
+index c401ba8..e0ce8df 100644
+--- a/phpunit.xml
++++ b/phpunit.xml
+@@ -8,7 +8,7 @@
+ beStrictAboutTestsThatDoNotTestAnything="true"
+ beStrictAboutTodoAnnotatedTests="true"
+ verbose="true">
+- <testsuite>
++ <testsuite name="default">
+ <directory suffix="Test.php">tests</directory>
+ </testsuite>
+
+diff --git a/tests/EnumeratorTest.php b/tests/EnumeratorTest.php
+index a6bd29a..1398f49 100644
+--- a/tests/EnumeratorTest.php
++++ b/tests/EnumeratorTest.php
+@@ -23,7 +23,7 @@ class EnumeratorTest extends TestCase
+ */
+ private $enumerator;
+
+- protected function setUp()
++ protected function setUp(): void
+ {
+ $this->enumerator = new Enumerator;
+ }