diff --git a/translation/lint.rst b/translation/lint.rst index 14693f32826..e6987538aeb 100644 --- a/translation/lint.rst +++ b/translation/lint.rst @@ -33,16 +33,18 @@ The linter results can be exported to JSON using the ``--format`` option: $ php bin/console lint:yaml translations/ --format=json $ php bin/console lint:xliff translations/ --format=json -When running the YAML linter inside `GitHub Actions`_, the output is automatically +When running these linters inside `GitHub Actions`_, the output is automatically adapted to the format required by GitHub, but you can force that format too: .. code-block:: terminal $ php bin/console lint:yaml translations/ --format=github + $ php bin/console lint:xliff translations/ --format=github .. versionadded:: 5.3 - The ``github`` output format was introduced in Symfony 5.3. + The ``github`` output format was introduced in Symfony 5.3 for ``lint:yaml`` + and in Symfony 5.4 for ``lint:xliff``. .. tip::