Skip to content

Commit

Permalink
add version constraint
Browse files Browse the repository at this point in the history
  • Loading branch information
pscheit authored Jun 1, 2022
1 parent 9f2382e commit 68828a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -190,12 +190,12 @@ easiest way to set environment variables for the script simple-phpunit is via ph

phpunit.xml.dist
```xml
<env name="SYMFONY_PHPUNIT_REQUIRE" value="johnkary/phpunit-speedtrap"/>
<env name="SYMFONY_PHPUNIT_REQUIRE" value="johnkary/phpunit-speedtrap:4"/>
<env name="SYMFONY_PHPUNIT_VERSION" value="8"/>
```
(add the listener as described above)

if you run `vendor/bin/simple-phpunit` symfony will install phpunit (8) and require phpunit speedtrap (latest version)
if you run `vendor/bin/simple-phpunit` symfony will install phpunit (8) and require phpunit speedtrap (4.x.x)

## Development

Expand Down

0 comments on commit 68828a9

Please sign in to comment.