Skip to content

Commit 482db78

Browse files
author
William JEHANNE
committed
[TwigBridge] Add show-deprecations option to the lint:twig command
1 parent 21c0088 commit 482db78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

templates.rst

+3
Original file line numberDiff line numberDiff line change
@@ -573,6 +573,9 @@ 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
577+
$ php bin/console lint:twig --show-deprecations templates/email/
578+
576579
.. versionadded:: 4.4
577580

578581
The feature that checks all the application templates when not passing any

0 commit comments

Comments
 (0)