Skip to content

Commit 701b75b

Browse files
authored
Fix Docker usage example (#36)
1 parent 79e50d7 commit 701b75b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ PHP CS Fixer can be run in a Docker container.
4949
You can use pre-built Docker images to run ``php-cs-fixer``.
5050

5151
.. code:: console
52+
5253
docker run -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix src
5354
5455
``$FIXER_VERSION`` used in example above is an identifier of a release you want to use, which is based on Fixer and PHP versions combined. There are different tags for each Fixer's SemVer level and PHP version with syntax ``<php-cs-fixer-version>-php<php-version>``. For example:

0 commit comments

Comments
 (0)