File tree Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Expand file tree Collapse file tree 2 files changed +30
-6
lines changed Original file line number Diff line number Diff line change
1
+ name : PHP CS Fixer
2
+
3
+ on :
4
+ push :
5
+ paths :
6
+ - ' **/*.php'
7
+ pull_request :
8
+ paths :
9
+ - ' **/*.php'
10
+
11
+ jobs :
12
+ php-cs-fixer :
13
+ name : PHP CS Fixer
14
+ runs-on : ubuntu-latest
15
+
16
+ steps :
17
+ - name : Checkout code
18
+ uses : actions/checkout@v3
19
+
20
+ - name : Set up PHP
21
+ uses : shivammathur/setup-php@v2
22
+ with :
23
+ php-version : 8.2
24
+ tools : composer
25
+
26
+ - name : Install dependencies
27
+ run : composer install --no-progress --prefer-dist
28
+
29
+ - name : Run PHP CS Fixer
30
+ run : vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes
Original file line number Diff line number Diff line change @@ -2,9 +2,6 @@ name: CI Pipeline
2
2
3
3
on :
4
4
push :
5
- branches :
6
-
7
- - setup-phpcs-fixer-1954016256
8
5
pull_request :
9
6
10
7
concurrency :
36
33
- name : Install dependencies
37
34
run : composer install --no-progress --prefer-dist
38
35
39
- - name : Check Code Style with PHP CS Fixer
40
- run : vendor/bin/php-cs-fixer fix --dry-run --diff --allow-risky=yes
41
-
42
36
- name : Run Tests without phpunit.xml
43
37
run : vendor/bin/phpunit --configuration phpunit.dist.xml
You can’t perform that action at this time.
0 commit comments