Skip to content

Commit

Permalink
Clarify config when using Symfony
Browse files Browse the repository at this point in the history
  • Loading branch information
johnkary committed Oct 17, 2022
1 parent f808c37 commit 149efca
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -191,9 +191,12 @@ phpunit.xml.dist
<env name="SYMFONY_PHPUNIT_REQUIRE" value="johnkary/phpunit-speedtrap:^4"/>
<env name="SYMFONY_PHPUNIT_VERSION" value="9"/>
</php>
<extensions>
<extension class="JohnKary\PHPUnit\Extension\SpeedTrap" />
</extensions>
</phpunit>
```
(add the listener as described above)

Using the above example, running `vendor/bin/simple-phpunit` will now install the latest PHPUnit 9 and require the latest phpunit-speedtrap v4.

Expand Down

0 comments on commit 149efca

Please sign in to comment.