From 47a18e5008aee165b2a320885bf3185a6d684e5d Mon Sep 17 00:00:00 2001 From: Hidde Wieringa Date: Wed, 11 Oct 2017 20:56:00 +0200 Subject: [PATCH] Added info about deprecation reporting of YAML lint command --- components/yaml.rst | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/components/yaml.rst b/components/yaml.rst index e957bd0fa71..7a62c0e094f 100644 --- a/components/yaml.rst +++ b/components/yaml.rst @@ -368,6 +368,12 @@ Add the ``--format`` option to get the output in JSON format: $ php lint.php path/to/file.yml --format json +.. tip:: + + The linting command will also report any deprecations in the checked + YAML files. This may for example be useful for recognizing deprecations of + contents of YAML files during automated tests. + Learn More ----------