Skip to content

Commit 0d78115

Browse files
committed
minor #13339 Documented the --deprecations option of the debug:container component (javiereguiluz)
This PR was merged into the master branch. Discussion ---------- Documented the --deprecations option of the debug:container component Fixes #13337. @noemi-salaun I couldn't find a better place to document this, so that's why I added it to this article. What do you think Thanks. Commits ------- af1ef41 Documented the --deprecations option of the debug:container component
2 parents 73d09a3 + af1ef41 commit 0d78115

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,20 @@ notices at class autoloading time. This can be disabled with the
329329
</listener>
330330
</listeners>
331331
332+
Compile-time Deprecations
333+
~~~~~~~~~~~~~~~~~~~~~~~~~
334+
335+
Use the ``debug:container`` command to list the deprecations generated during
336+
the compiling and warming up of the container:
337+
338+
.. code-block:: terminal
339+
340+
$ debug:container --deprecations
341+
342+
.. versionadded:: 5.1
343+
344+
The ``--deprecations`` option was introduced in Symfony 5.1.
345+
332346
Write Assertions about Deprecations
333347
-----------------------------------
334348

0 commit comments

Comments
 (0)