File tree 3 files changed +24
-59
lines changed
3 files changed +24
-59
lines changed Original file line number Diff line number Diff line change @@ -5,25 +5,13 @@ on: [push]
5
5
jobs :
6
6
style :
7
7
runs-on : ubuntu-latest
8
-
9
8
steps :
10
- - name : Checkout code
11
- uses : actions/checkout@v1
12
-
13
- - name : Fix style
14
- uses : docker://oskarstark/php-cs-fixer-ga
15
- with :
16
- args : --config=.php_cs --allow-risky=yes
17
-
18
- - name : Extract branch name
19
- shell : bash
20
- run : echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
21
- id : extract_branch
22
-
23
- - name : Commit changes
24
- uses :
stefanzweifel/[email protected]
25
- with :
26
- commit_message : Fix styling
27
- branch : ${{ steps.extract_branch.outputs.branch }}
28
- env :
29
- GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
9
+ - name : Git checkout
10
+ uses : actions/checkout@v2
11
+ - name : Install Dependencies
12
+ run : composer install -q --no-ansi --no-interaction --no-scripts --no-progress --prefer-dist
13
+ - name : normalize php
14
+ run : php vendor/bin/phpcbf
15
+ -
uses :
stefanzweifel/[email protected]
16
+ with :
17
+ commit_message : Fix formatting with phpcbf
Load Diff This file was deleted.
Original file line number Diff line number Diff line change
1
+ <?xml version =" 1.0" ?>
2
+ <ruleset name =" joeriabbo" >
3
+
4
+ <file >src</file >
5
+ <file >tests</file >
6
+
7
+ <rule ref =" PSR1" />
8
+ <rule ref =" PSR2" />
9
+ <rule ref =" PSR12" />
10
+
11
+ <rule ref =" Generic.Files.LineLength" >
12
+ <severity >0</severity >
13
+ </rule >
14
+
15
+ </ruleset >
You can’t perform that action at this time.
0 commit comments