Skip to content

Commit 10dcc10

Browse files
committed
Nutze Docker-Image von friends-of-php/php-cs-fixer
1 parent 1b951f5 commit 10dcc10

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

.github/workflows/fix-cs-php.yml

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Update this by running
2-
# curl https://gist.githubusercontent.com/mpdude/ca93a185bcbf56eb7e341632ad4f8263/raw/fix-cs-php.yml > .github/workflows/fix-cs-php.yml
2+
# curl https://gist.github.com/mpdude/ca93a185bcbf56eb7e341632ad4f8263/raw/fix-cs-php.yml > .github/workflows/fix-cs-php.yml
33

44
on:
55
push:
@@ -10,7 +10,7 @@ on:
1010
name: Coding Standards
1111

1212
jobs:
13-
open-pr-for-cs-violations:
13+
fix-cs-issues:
1414
name: PHP-CS-Fixer
1515
runs-on: ubuntu-22.04
1616
if: github.actor != 'dependabot[bot]'
@@ -21,9 +21,11 @@ jobs:
2121
ref: ${{ github.head_ref }}
2222

2323
- name: Run PHP-CS-Fixer
24-
uses: docker://ghcr.io/webfactory/php-cs-fixer:3.62.0
24+
uses: docker://ghcr.io/php-cs-fixer/php-cs-fixer:3.62.0-php8.3
25+
with:
26+
args: "fix --show-progress=dots"
2527

2628
- name: Commit and push back changes
27-
uses: stefanzweifel/git-auto-commit-action@v4
29+
uses: stefanzweifel/git-auto-commit-action@v5
2830
with:
2931
commit_message: "Fix CS with PHP-CS-Fixer"

0 commit comments

Comments
 (0)