Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

phpunit 9 compatibility #113

Merged
merged 1 commit into from Feb 29, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions .travis.yml
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -59,7 +59,7 @@ It also includes a `StaticArrayCache` that will be automatically configured as m
</phpunit>
```

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`).

Expand Down
2 changes: 1 addition & 1 deletion composer.json
Expand Up @@ -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"
Expand Down