@@ -341,8 +341,6 @@ to completely disable the deprecation helper. This is useful to make use of the
341341rest of features provided by this component without getting errors or messages
342342related to deprecations.
343343
344- .. _write-assertions-about-deprecations :
345-
346344Deprecation Notices at Autoloading Time
347345~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
348346
@@ -389,6 +387,8 @@ For turning the verbose output off and write it to a log file instead you can us
389387
390388 The ``logFile `` option was introduced in Symfony 5.3.
391389
390+ .. _write-assertions-about-deprecations :
391+
392392Write Assertions about Deprecations
393393-----------------------------------
394394
@@ -877,7 +877,7 @@ You can either:
877877
878878 // config/bootstrap.php
879879 use Symfony\Bridge\PhpUnit\ClockMock;
880-
880+
881881 // ...
882882 if ('test' === $_SERVER['APP_ENV']) {
883883 ClockMock::register('Acme\\MyClassTest\\');
@@ -903,18 +903,6 @@ configured by the ``SYMFONY_PHPUNIT_DIR`` env var, or in the same directory as
903903the ``simple-phpunit `` if it is not provided. It's also possible to set this
904904env var in the ``phpunit.xml.dist `` file.
905905
906- By default, these are the PHPUnit versions used depending on the installed PHP versions:
907-
908- ===================== ===============================
909- Installed PHP version PHPUnit version used by default
910- ===================== ===============================
911- PHP <= 5.5 PHPUnit 4.8
912- PHP 5.6 PHPUnit 5.7
913- PHP 7.0 PHPUnit 6.5
914- PHP 7.1 PHPUnit 7.5
915- PHP >= 7.2 PHPUnit 8.3
916- ===================== ===============================
917-
918906If you have installed the bridge through Composer, you can run it by calling e.g.:
919907
920908.. code-block :: terminal
@@ -923,7 +911,7 @@ If you have installed the bridge through Composer, you can run it by calling e.g
923911
924912 .. tip ::
925913
926- It's possible to change the base version of PHPUnit by setting the
914+ It's possible to change the PHPUnit version by setting the
927915 ``SYMFONY_PHPUNIT_VERSION `` env var in the ``phpunit.xml.dist `` file (e.g.
928916 ``<server name="SYMFONY_PHPUNIT_VERSION" value="5.5"/> ``). This is the
929917 preferred method as it can be committed to your version control repository.
0 commit comments