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 b5efbcd

Browse filesBrowse files
committed
[Templates] Add a versionadded diretive for a command change
1 parent 5df9631 commit b5efbcd
Copy full SHA for b5efbcd

File tree

1 file changed

+5
-1
lines changed
Filter options

1 file changed

+5
-1
lines changed

‎templates.rst

Copy file name to clipboardExpand all lines: templates.rst
+5-1Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -870,7 +870,6 @@ errors. It's useful to run it before deploying your application to production
870870
$ php bin/console lint:twig templates/article/recent_list.html.twig
871871
872872
# you can also show the deprecated features used in your templates
873-
# (only the first deprecation is shown, so run multiple times to catch all)
874873
$ php bin/console lint:twig --show-deprecations templates/email/
875874
876875
# you can also excludes directories
@@ -880,6 +879,11 @@ errors. It's useful to run it before deploying your application to production
880879

881880
The option to exclude directories was introduced in Symfony 7.1.
882881

882+
.. versionadded:: 7.3
883+
884+
Before Symfony 7.3, the ``--show-deprecations`` option only displayed the
885+
first deprecation found, so you had to run the command repeatedly.
886+
883887
When running the linter inside `GitHub Actions`_, the output is automatically
884888
adapted to the format required by GitHub, but you can force that format too:
885889

0 commit comments

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