Skip to content

Commit 7780a7e

Browse files
committed
Minor tweak
1 parent fb2ae4e commit 7780a7e

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

components/phpunit_bridge.rst

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -378,7 +378,7 @@ different class, do it explicitly using ``ClockMock::register(MyClass::class)``:
378378

379379
use App\MyClass;
380380
use PHPUnit\Framework\TestCase;
381-
use Symfony\Bridge\PhpUnit\ClockMock;
381+
use Symfony\Bridge\PhpUnit\ClockMock;
382382

383383
/**
384384
* @group time-sensitive
@@ -573,14 +573,13 @@ If you have installed the bridge through Composer, you can run it by calling e.g
573573
574574
.. tip::
575575

576-
It's possible to to change the base version of PHPUnit to e.g. ``5.5``
577-
instead of the default ``5.3`` by setting the ``SYMFONY_PHPUNIT_VERSION``
578-
env var in the ``phpunit.xml.dist`` file e.g.
579-
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5" />``. This is the
576+
It's possible to change the base version of PHPUnit by setting the
577+
``SYMFONY_PHPUNIT_VERSION`` env var in the ``phpunit.xml.dist`` file (e.g.
578+
``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5" />``). This is the
580579
preferred method as it can be committed to your version control repository.
581580

582-
It's also possible set ``SYMFONY_PHPUNIT_VERSION`` as a real env var
583-
(not in a :doc:`dotenv </components/dotenv>` file).
581+
It's also possible to set ``SYMFONY_PHPUNIT_VERSION`` as a real env var
582+
(not defined in a :doc:`dotenv </components/dotenv>` file).
584583

585584
.. tip::
586585

0 commit comments

Comments
 (0)