From upstream: From bc598aa22269c32e2ad4bcdad2158b280c92132d Mon Sep 17 00:00:00 2001 From: "Jonathan H. Wage" 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);