Skip to content

Commit 3bd092c

Browse files
committed
feature #14558 [PHPUnitBridge] Add deprecation log file option (michaelKaefer)
This PR was squashed before being merged into the 5.3-dev branch. Discussion ---------- [PHPUnitBridge] Add deprecation log file option For PR symfony/symfony#39098 Commits ------- 66d5f49 [PHPUnitBridge] Add deprecation log file option
2 parents cbffbe9 + 66d5f49 commit 3bd092c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/phpunit_bridge.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -350,6 +350,16 @@ the compiling and warming up of the container:
350350

351351
The ``--deprecations`` option was introduced in Symfony 5.1.
352352

353+
Log Deprecations
354+
~~~~~~~~~~~~~~~~
355+
356+
For turning the verbose output off and write it to a log file instead you can use
357+
``SYMFONY_DEPRECATIONS_HELPER='logFile=/path/deprecations.log'``.
358+
359+
.. versionadded:: 5.3
360+
361+
The ``logFile`` option was introduced in Symfony 5.3.
362+
353363
Write Assertions about Deprecations
354364
-----------------------------------
355365

0 commit comments

Comments
 (0)