Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4f75745

Browse files
94nonijaviereguiluz
authored andcommitted
Documenttwig:lint new optionexcludes
1 parentf332fd8 commit4f75745

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

‎templates.rst‎

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -818,6 +818,13 @@ errors. It's useful to run it before deploying your application to production
818818
# you can also show the deprecated features used in your templates
819819
$ php bin/console lint:twig --show-deprecations templates/email/
820820
821+
# you can also excludes directories
822+
$ php bin/console lint:twig templates/ --excludes=data_collector --excludes=dev_tool
823+
824+
..versionadded::7.1
825+
826+
The option to exclude directories was introduced in Symfony 7.1.
827+
821828
When running the linter inside `GitHub Actions`_, the output is automatically
822829
adapted to the format required by GitHub, but you can force that format too:
823830

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp