You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -48,9 +48,9 @@ PHP CS Fixer can be run in a Docker container.
48
48
49
49
You can use pre-built Docker images to run ``php-cs-fixer``.
50
50
51
-
.. code:: console
51
+
.. code:: sh
52
52
53
-
docker run -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix src
53
+
$ docker run -v $(pwd):/code ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3} fix src
54
54
55
55
``$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:
56
56
@@ -64,7 +64,7 @@ Usage
64
64
Assuming you installed PHP CS Fixer as instructed above, you can run
65
65
the following command to fix the files PHP files in the ``src`` directory:
0 commit comments