8000 minor #8509 Added info about deprecation reporting of YAML lint comma… · symfony/symfony-docs@3618a60 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3618a60

Browse files
committed
minor #8509 Added info about deprecation reporting of YAML lint command (hiddewie)
This PR was merged into the 3.3 branch. Discussion ---------- Added info about deprecation reporting of YAML lint command Fixes #7780. It seems useful to add a use case for the reporting, I've added a line about finding deprecations during automated testing. Commits ------- 47a18e5 Added info about deprecation reporting of YAML lint command
2 parents b2349c9 + 47a18e5 commit 3618a60

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

components/yaml.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,12 @@ Add the ``--format`` option to get the output in JSON format:
368368
369369
$ php lint.php path/to/file.yml --format json
370370
371+
.. tip::
372+
373+
The linting command will also report any deprecations in the checked
374+
YAML files. This may for example be useful for recognizing deprecations of
375+
contents of YAML files during automated tests.
376+
371377
Learn More
372378
----------
373379

0 commit comments

Comments
 (0)
0