Skip to content

Commit b8a4c72

Browse files
Update README.md
1 parent 17bf695 commit b8a4c72

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

README.md

+15
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,21 @@ This can be useful when you only want to prettify the output when forced via CLI
145145
> vendor/bin/phpunit --configuration=tests/phpunit.test.xml -d --compact -d --display-quote
146146
```
147147

148+
## PHPUnit 9.x
149+
150+
This package does not support PHPUnit 9.x but Collision does out of the box. Run
151+
152+
```bash
153+
composer require nunomaduro/collision:^6.0
154+
```
155+
156+
Then add the Collision `printerClass` to your `phpunit.xml` in the `phpunit` section:
157+
158+
```xml
159+
<phpunit
160+
printerClass="NunoMaduro\Collision\Adapters\Phpunit\Printer">
161+
```
162+
148163
## Acknowledgements
149164

150165
* API used for Chuck Noris quotes: https://api.chucknorris.io/

0 commit comments

Comments
 (0)