Skip to content

Commit e038ebd

Browse files
authored
fix auto-cs-fixer (#26)
1 parent 3fdcde3 commit e038ebd

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

.github/workflows/csfix.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1-
name: Format PHP
1+
name: Auto Format PHP
22

3-
on: pull_request
3+
on:
4+
pull_request:
5+
paths:
6+
- '**.php'
47

58
jobs:
69
php-cs-fixer:
@@ -10,6 +13,11 @@ jobs:
1013
with:
1114
ref: ${{ github.head_ref }}
1215

16+
- name: Setup PHP
17+
uses: shivammathur/setup-php@v1
18+
with:
19+
php-version: 7.0
20+
1321
- name: "Install dependencies with composer"
1422
run: "composer install --no-interaction --no-progress --no-suggest"
1523

0 commit comments

Comments
 (0)