diff options
author | Remi Collet <remi@remirepo.net> | 2020-08-11 08:20:30 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-08-11 08:20:30 +0200 |
commit | 2a47e898457f64ce4aff6bb7d30c15a542e575d8 (patch) | |
tree | 486ae7f19a6aa0426aa4e9ee254731cab56380ae /php-doctrine-collections-phpunit.patch | |
parent | de3fbc583778fadac8d5d859cfdcdc91d8bd28fd (diff) |
update to 1.6.7
add upstream patch for recent PHPUnit
Diffstat (limited to 'php-doctrine-collections-phpunit.patch')
-rw-r--r-- | php-doctrine-collections-phpunit.patch | 28 |
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); |