Skip to content

Commit 7bb11c0

Browse files
authored
Merge pull request #197 from jwage/phpunit8-upgrade
Upgrade to PHPUnit 8.
2 parents 8ad3946 + bc598aa commit 7bb11c0

File tree

4 files changed

+46
-44
lines changed

4 files changed

+46
-44
lines changed

.gitignore

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
1-
vendor/
2-
build/
1+
/vendor
2+
/build
33
/phpcs.xml
44
/.phpcs-cache
5-
infection.log
5+
/infection.log
6+
/.phpunit.result.cache

composer.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"infection/infection": "^0.12.2",
2626
"phpstan/phpstan": "^0.11",
2727
"phpstan/phpstan-phpunit": "^0.11",
28-
"phpunit/phpunit": "^7.0",
28+
"phpunit/phpunit": "^8.0",
2929
"vimeo/psalm": "^3.2.2"
3030
},
3131
"config": {

composer.lock

+40-39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tests/Doctrine/Tests/Common/Collections/BaseCollectionTest.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ public function testSlice() : void
205205
$this->collection[] = 'three';
206206

207207
$slice = $this->collection->slice(0, 1);
208-
self::assertInternalType('array', $slice);
208+
self::assertIsArray($slice);
209209
self::assertEquals(['one'], $slice);
210210

211211
$slice = $this->collection->slice(1);

0 commit comments

Comments
 (0)