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

Appearance settings

Commit ba43650

Browse filesBrowse files
committed
minor #20861 Collect all deprecations with lint:twig command (RisingSunLight42)
This PR was merged into the 6.4 branch. Discussion ---------- Collect all deprecations with lint:twig command <!-- If your pull request fixes a BUG, use the oldest maintained branch that contains the bug (see https://symfony.com/releases for the list of maintained branches). If your pull request documents a NEW FEATURE, use the same Symfony branch where the feature was introduced (and `7.x` for features of unreleased versions). --> This PR fix #20840 by tweaking the docs to precise only the first deprecation found will be outputed by the command. _It's my first PR, I hope everything is fine, don't hesitate to notify me of any incorrect wording / style, or anything else. I'd be happy to learn how to contribute better for my future contributions!_ fixes #20840 Commits ------- 50b6ffd fix command explanation
2 parents 8ed84b5 + 50b6ffd commit ba43650
Copy full SHA for ba43650

File tree

Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-1
lines changed

‎templates.rst

Copy file name to clipboardExpand all lines: templates.rst
+2-1Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -849,7 +849,8 @@ errors. It's useful to run it before deploying your application to production
849849
$ php bin/console lint:twig templates/email/
850850
$ php bin/console lint:twig templates/article/recent_list.html.twig
851851
852-
# you can also show the deprecated features used in your templates
852+
# you can also show the first deprecated feature used in your templates
853+
# as it shows only the first one found, you may need to run it until no more deprecations are found
853854
$ php bin/console lint:twig --show-deprecations templates/email/
854855
855856
When running the linter inside `GitHub Actions`_, the output is automatically

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.