Skip to content

Commit af1ef41

Browse files
committed
Documented the --deprecations option of the debug:container component
1 parent d5bf25f commit af1ef41

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
@@ -330,6 +330,20 @@ notices at class autoloading time. This can be disabled with the
330330
</listener>
331331
</listeners>
332332
333+
Compile-time Deprecations
334+
~~~~~~~~~~~~~~~~~~~~~~~~~
335+
336+
Use the ``debug:container`` command to list the deprecations generated during
337+
the compiling and warming up of the container:
338+
339+
.. code-block:: terminal
340+
341+
$ debug:container --deprecations
342+
343+
.. versionadded:: 5.1
344+
345+
The ``--deprecations`` option was introduced in Symfony 5.1.
346+
333347
Write Assertions about Deprecations
334348
-----------------------------------
335349

0 commit comments

Comments
 (0)