We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e031d36 + e121aaa commit ef93cf4Copy full SHA for ef93cf4
templates.rst
@@ -423,7 +423,7 @@ the :class:`Twig\\Environment` class::
423
424
// src/Service/SomeService.php
425
namespace App\Service;
426
-
+
427
use Twig\Environment;
428
429
class SomeService
@@ -573,6 +573,9 @@ errors. It's useful to run it before deploying your application to production
573
$ php bin/console lint:twig templates/email/
574
$ php bin/console lint:twig templates/article/recent_list.html.twig
575
576
+ # you can also show the deprecated features used in your templates
577
+ $ php bin/console lint:twig --show-deprecations templates/email/
578
579
Inspecting Twig Information
580
~~~~~~~~~~~~~~~~~~~~~~~~~~~
581
0 commit comments