Skip to content

Commit 38c811f

Browse files
committed
Update templating.rst
Version 2.7 says that the parameter order has change from twig:lint to lint:twig me@host:/vagrant/_project$ php app/console twig:lint app/Resources/views The use of "twig:lint" command is deprecated since version 2.7 and will be removed in 3.0. Use the "lint:twig" instead. 8/8 valid files me@host:/vagrant/_project$ php app/console lint:twig app/Resources/views 8/8 valid files
1 parent 40d8d00 commit 38c811f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/templating.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1601,10 +1601,10 @@ console command:
16011601
.. code-block:: bash
16021602
16031603
# You can check by filename:
1604-
$ php app/console twig:lint app/Resources/views/article/recent_list.html.twig
1604+
$ php app/console lint:twig app/Resources/views/article/recent_list.html.twig
16051605
16061606
# or by directory:
1607-
$ php app/console twig:lint app/Resources/views
1607+
$ php app/console lint:twig app/Resources/views
16081608
16091609
.. _template-formats:
16101610

0 commit comments

Comments
 (0)