diff --git a/.travis.yml b/.travis.yml index 4ed7b1c..517a124 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ matrix: - php: 7.4 env: - SYMFONY_REQUIRE="5.0.*" + - PHPUNIT_VERSION="9.*" before_install: - phpenv config-rm xdebug.ini || echo "xDebug not disabled" 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"