Skip to content

Commit fb162ff

Browse files
committed
[Translation] Support GitHub action format in lint:xliff
1 parent 9c34648 commit fb162ff

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

translation/lint.rst

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,16 +33,18 @@ The linter results can be exported to JSON using the ``--format`` option:
3333
$ php bin/console lint:yaml translations/ --format=json
3434
$ php bin/console lint:xliff translations/ --format=json
3535
36-
When running the YAML linter inside `GitHub Actions`_, the output is automatically
36+
When running these linters inside `GitHub Actions`_, the output is automatically
3737
adapted to the format required by GitHub, but you can force that format too:
3838

3939
.. code-block:: terminal
4040
4141
$ php bin/console lint:yaml translations/ --format=github
42+
$ php bin/console lint:xliff translations/ --format=github
4243
4344
.. versionadded:: 5.3
4445

45-
The ``github`` output format was introduced in Symfony 5.3.
46+
The ``github`` output format was introduced in Symfony 5.3 for ``lint:yaml``
47+
and in Symfony 5.4 for ``lint:xliff``.
4648

4749
.. tip::
4850

0 commit comments

Comments
 (0)