From 599743d81d8b401bdcfe93e799a0da45e7514bb3 Mon Sep 17 00:00:00 2001 From: David Maicher Date: Sat, 29 Feb 2020 10:25:38 +0100 Subject: [PATCH] phpunit 9 compatibility --- .travis.yml | 1 + README.md | 2 +- composer.json | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 4ed7b1c..ace9ef8 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,6 +15,7 @@ env: - SYMFONY_REQUIRE="4.4.*" - SYMFONY_REQUIRE="5.0.*" - PHPUNIT_VERSION="8.*" + - PHPUNIT_VERSION="9.*" matrix: include: diff --git a/README.md b/README.md index 9f3cdfc..2548524 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ It also includes a `StaticArrayCache` that will be automatically configured as m ``` -4. Make sure you also have `phpunit/phpunit` available as a `dev` dependency (**versions 7 and 8 are supported with the built in listener/extension**) to run your tests. +4. Make sure you also have `phpunit/phpunit` available as a `dev` dependency (**versions 7, 8 and 9 are supported with the built in listener/extension**) to run your tests. Alternatively this bundle is also compatible with `symfony/phpunit-bridge` and its `simple-phpunit` script. (Note: you may need to make sure the phpunit-bridge requires the correct PHPUnit 7+ Version using the environment variable `SYMFONY_PHPUNIT_VERSION`). diff --git a/composer.json b/composer.json index a5fb721..dbe322c 100644 --- a/composer.json +++ b/composer.json @@ -17,7 +17,7 @@ "doctrine/doctrine-bundle": "^1.11 || ^2.0" }, "require-dev": { - "phpunit/phpunit": "^7.0 || ^8.0", + "phpunit/phpunit": "^7.0 || ^8.0 || ^9.0", "symfony/yaml": "^3.4 || ^4.3 || ^5.0", "symfony/phpunit-bridge": "^4.3 || ^5.0", "phpstan/phpstan": "^0.12"