summaryrefslogtreecommitdiffstats
path: root/php-doctrine-collections-phpunit.patch
blob: d41d18d2d79bcd1cb090e5b3f50265563147d7b1 (plain)
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
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);