summaryrefslogtreecommitdiffstats
path: root/php-doctrine-collections-phpunit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-doctrine-collections-phpunit.patch')
-rw-r--r--php-doctrine-collections-phpunit.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/php-doctrine-collections-phpunit.patch b/php-doctrine-collections-phpunit.patch
new file mode 100644
index 0000000..d41d18d
--- /dev/null
+++ b/php-doctrine-collections-phpunit.patch
@@ -0,0 +1,28 @@
+From upstream:
+
+
+From bc598aa22269c32e2ad4bcdad2158b280c92132d Mon Sep 17 00:00:00 2001
+From: "Jonathan H. Wage" <jonwage@gmail.com>
+Date: Tue, 30 Apr 2019 17:39:05 -0500
+Subject: [PATCH] Upgrade to PHPUnit 8.
+
+---
+ .gitignore | 7 +-
+ composer.json | 2 +-
+ composer.lock | 79 ++++++++++---------
+ .../Common/Collections/BaseCollectionTest.php | 2 +-
+ 4 files changed, 46 insertions(+), 44 deletions(-)
+
+diff --git a/tests/Doctrine/Tests/Common/Collections/BaseCollectionTest.php b/tests/Doctrine/Tests/Common/Collections/BaseCollectionTest.php
+index 6f21cf56..d563ade5 100644
+--- a/tests/Doctrine/Tests/Common/Collections/BaseCollectionTest.php
++++ b/tests/Doctrine/Tests/Common/Collections/BaseCollectionTest.php
+@@ -205,7 +205,7 @@ public function testSlice() : void
+ $this->collection[] = 'three';
+
+ $slice = $this->collection->slice(0, 1);
+- self::assertInternalType('array', $slice);
++ self::assertIsArray($slice);
+ self::assertEquals(['one'], $slice);
+
+ $slice = $this->collection->slice(1);