From 2a47e898457f64ce4aff6bb7d30c15a542e575d8 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 11 Aug 2020 08:20:30 +0200 Subject: update to 1.6.7 add upstream patch for recent PHPUnit --- php-doctrine-collections-phpunit.patch | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 php-doctrine-collections-phpunit.patch (limited to 'php-doctrine-collections-phpunit.patch') 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" +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); -- cgit