File tree Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Expand file tree Collapse file tree 1 file changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -563,12 +563,18 @@ errors. It's useful to run it before deploying your application to production
563563
564564.. code-block :: terminal
565565
566- # check all the templates stored in a directory
567- $ php bin/console lint:twig templates/
566+ # check all the application templates
567+ $ php bin/console lint:twig
568568
569- # you can also check individual templates
569+ # you can also check directories and individual templates
570+ $ php bin/console lint:twig templates/email/
570571 $ php bin/console lint:twig templates/article/recent_list.html.twig
571572
573+ .. versionadded :: 4.4
574+
575+ The feature that checks all the application templates when not passing any
576+ arguments to ``lint:twig `` was introduced in Symfony 4.4.
577+
572578Inspecting Twig Information
573579~~~~~~~~~~~~~~~~~~~~~~~~~~~
574580
You can’t perform that action at this time.
0 commit comments