Skip to content

Commit 1f2bbb6

Browse files
kixwouterj
authored andcommitted
Fix for #6625
This fix adds a recommendation of installing PHPUnit as a PHAR archive, as suggested in #6625.
1 parent 0abcfdb commit 1f2bbb6

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

book/testing.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,9 @@ it has its own excellent `documentation`_.
1717

1818
.. note::
1919

20-
It's recommended to use the latest stable PHPUnit version (you will have
21-
to use version 4.2 or higher to test the Symfony core code itself).
20+
It's recommended to use the latest stable PHPUnit version, `installed as
21+
PHAR`_ (you will have to use version 4.2 or higher to test the Symfony core
22+
code itself).
2223

2324
Each test - whether it's a unit test or a functional test - is a PHP class
2425
that should live in the ``Tests/`` subdirectory of your bundles. If you follow
@@ -924,3 +925,4 @@ Learn more
924925

925926
.. _`$_SERVER`: http://php.net/manual/en/reserved.variables.server.php
926927
.. _`documentation`: https://phpunit.de/manual/current/en/
928+
.. _`installed as PHAR`: https://phpunit.de/manual/current/en/installation.html#installation.phar

0 commit comments

Comments
 (0)