From 4c4ab58ec7d7f09101ad8f9d5430c52bcd7597e4 Mon Sep 17 00:00:00 2001 From: John Kary Date: Sun, 16 Oct 2022 19:56:16 -0500 Subject: [PATCH] Grammar and version compatibility for example --- README.md | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 9aad3d1..62f35ca 100644 --- a/README.md +++ b/README.md @@ -186,16 +186,20 @@ $ PHPUNIT_SPEEDTRAP=enabled ./vendor/bin/phpunit symfony/phpunit-bridge allows environment variable `SYMFONY_PHPUNIT_REQUIRE` to define additional dependencies while installing phpunit. -easiest way to set environment variables for the script simple-phpunit is via phpunit.xml.dist: +The easiest way to set environment variables for the script `simple-phpunit` is via phpunit.xml.dist: phpunit.xml.dist ```xml - - + + + + + + ``` (add the listener as described above) -if you run `vendor/bin/simple-phpunit` symfony will install phpunit (8) and require phpunit speedtrap (4.x.x) +Using the above example, running `vendor/bin/simple-phpunit` will now install the latest PHPUnit 9 and require the latest phpunit-speedtrap v4. ## Development