File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -423,7 +423,7 @@ the :class:`Twig\\Environment` class::
423423
424424 // src/Service/SomeService.php
425425 namespace App\Service;
426-
426+
427427 use Twig\Environment;
428428
429429 class SomeService
@@ -573,13 +573,14 @@ errors. It's useful to run it before deploying your application to production
573573 $ php bin/console lint:twig templates/email/
574574 $ php bin/console lint:twig templates/article/recent_list.html.twig
575575
576- # you can show deprecations as errors
576+ # you can also show the deprecated features used in your templates
577577 $ php bin/console lint:twig --show-deprecations templates/email/
578578
579579 .. versionadded :: 4.4
580580
581581 The feature that checks all the application templates when not passing any
582- arguments to ``lint:twig `` was introduced in Symfony 4.4.
582+ arguments to ``lint:twig `` and the ``--show-deprecations `` option were
583+ introduced in Symfony 4.4.
583584
584585Inspecting Twig Information
585586~~~~~~~~~~~~~~~~~~~~~~~~~~~
You can’t perform that action at this time.
0 commit comments