From 92dca7f91af76d3c7ffdecbb30e50d56bad4eda8 Mon Sep 17 00:00:00 2001 From: othillo Date: Mon, 2 Mar 2020 20:08:22 +0100 Subject: [PATCH] PHPUnit 8 --- composer.json | 2 +- phpunit.xml.dist | 1 - test/MongoDBRepositoryTest.php | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/composer.json b/composer.json index 89958ec..4533325 100644 --- a/composer.json +++ b/composer.json @@ -10,7 +10,7 @@ "alcaeus/mongo-php-adapter": "^1.1" }, "require-dev": { - "phpunit/phpunit": "^7.5", + "phpunit/phpunit": "^8.0", "ramsey/uuid": "^3.3", "broadway/coding-standard": "^1.0" }, diff --git a/phpunit.xml.dist b/phpunit.xml.dist index 3e0b0a5..5d21174 100644 --- a/phpunit.xml.dist +++ b/phpunit.xml.dist @@ -8,7 +8,6 @@ convertWarningsToExceptions="true" processIsolation="false" stopOnFailure="false" - syntaxCheck="false" bootstrap="vendor/autoload.php" > diff --git a/test/MongoDBRepositoryTest.php b/test/MongoDBRepositoryTest.php index 267a3bc..e3dadb6 100644 --- a/test/MongoDBRepositoryTest.php +++ b/test/MongoDBRepositoryTest.php @@ -33,7 +33,7 @@ protected function createRepository() return new MongoDBRepository($coll); } - public function tearDown() + public function tearDown(): void { $collections = $this->connection->selectDatabase(self::$dbName)->listCollections(); foreach ($collections as $collection) {