8000 fixup! Document changes in the deprecation error handler · symfony/symfony-docs@dd7eb0b · GitHub
[go: up one dir, main page]

Skip to content
8000

Commit dd7eb0b

Browse files
Olena Kirichokjaviereguiluz
authored andcommitted
fixup! Document changes in the deprecation error handler
1 parent b2a7744 commit dd7eb0b

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

components/phpunit_bridge.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,7 @@ shifts the burden of fixing that deprecation to any contributor that
212212
happens to submit a pull request shortly after a new vendor release is
213213
made with that deprecation. To mitigate this, you can either use tighter
214214
requirements, in the hope that dependencies will not introduce
215-
deprecations in a patch version, or even commit the Composer lock file,
215+
deprecations in a patch version, or even commit the ``composer.lock`` file,
216216
which would create another class of issues. Libraries will often use
217217
``SYMFONY_DEPRECATIONS_HELPER=max[total]=999999`` because of this. This
218218
has the drawback of allowing contributions that introduce deprecations
@@ -227,7 +227,7 @@ be accounted for seperately, while deprecations triggered from a library
227227
inside it will not (unless you reach 999999 of these), giving you
228228
the best of both worlds.
229229

230-
Direct and indirect deprecations
230+
Direct and Indirect Deprecations
231231
................................
232232

233233
When working on a project, you might be more interested in
@@ -258,7 +258,7 @@ Here is a summary that should help you pick the right configuration:
258258
| | cannot afford to use one of the modes above. |
259259
+------------------------+-----------------------------------------------------+
260260

261-
Disabling the verbose output
261+
Disabling the Verbose Output
262262
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
263263

264264
By default, the bridge will display a detailed output with the number of

setup/upgrade_major.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,11 @@ done!
112112
</php>
113113
</phpunit>
114114
115-
(you can also execute the command like ``SYMFONY_DEPRECATIONS_HELPER=max[total]=999999 phpunit``).
115+
You can also execute the command like:
116+
117+
.. code-block:: terminal
118+
119+
$ SYMFONY_DEPRECATIONS_HELPER=max[total]=999999 phpunit
116120
117121
.. _upgrade-major-symfony-composer:
118122

0 commit comments

Comments
 (0)
0