Skip to content

Commit

Permalink
docs: docker in CI - don't suggest command that overrides path from c…
Browse files Browse the repository at this point in the history
…onfig file (PHP-CS-Fixer#7763)
  • Loading branch information
keradus authored and danog committed Feb 2, 2024
1 parent 54808f3 commit bffaf46
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions doc/installation.rst
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,8 @@ To integrate php-cs-fixer as check into a GitHub Action step, you can use a conf
- name: PHP-CS-Fixer
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3-php8.3
with:
args: check src
args: check
# use `check .` if your repository not having paths configured in .php-cs-fixer[.dist].php
Gitlab-CI (Docker)
~~~~~~~~~~~~~~~~~~
Expand All @@ -99,7 +100,9 @@ To integrate php-cs-fixer as check into Gitlab-CI, you can use a configuration l
php-cs-fixer:
image: ghcr.io/php-cs-fixer/php-cs-fixer:${FIXER_VERSION:-3-php8.3}
script:
php-cs-fixer check --diff --format=txt src
php-cs-fixer check --diff --format=txt
# use `check .` if your repository not having paths configured in .php-cs-fixer[.dist].php
Update
------
Expand Down

0 comments on commit bffaf46

Please sign in to comment.