Skip to content

Commit 1495239

Browse files
committed
Run pint rather than php cs fixer
1 parent a8a19af commit 1495239

File tree

2 files changed

+7
-8
lines changed

2 files changed

+7
-8
lines changed

.github/workflows/php-cs-fixer.yml renamed to .github/workflows/pint.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
name: php-cs-fixer
2-
3-
on: [push]
1+
name: Fix PHP code style issues
2+
on:
3+
push:
4+
paths:
5+
- '**.php'
46

57
jobs:
68
php-cs-fixer:
@@ -12,10 +14,8 @@ jobs:
1214
with:
1315
ref: ${{ github.head_ref }}
1416

15-
- name: Run PHP CS Fixer
16-
uses: docker://oskarstark/php-cs-fixer-ga
17-
with:
18-
args: --config=.php-cs-fixer.php --allow-risky=yes
17+
- name: Fix PHP code style issues
18+
uses: aglipanci/[email protected]
1919

2020
- name: Commit changes
2121
uses: stefanzweifel/git-auto-commit-action@v5

.php-cs-fixer.cache

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)