File tree Expand file tree Collapse file tree 4 files changed +35
-33
lines changed Expand file tree Collapse file tree 4 files changed +35
-33
lines changed Original file line number Diff line number Diff line change 20
20
uses : php-actions/phpstan@v2
21
21
with :
22
22
path : src/
23
- args : --level=5
23
+ level : 4
24
+ php_version : 8.0
Original file line number Diff line number Diff line change 20
20
uses : php-actions/phpstan@v2
21
21
with :
22
22
path : src/
23
- args : --level=7
23
+ level : 7
24
+ php_version : 8.0
Original file line number Diff line number Diff line change 20
20
uses : php-actions/phpstan@v2
21
21
with :
22
22
path : src/
23
- args : --level=8
23
+ level : 8
24
+ php_version : 8.0
Original file line number Diff line number Diff line change 1
1
name : Quality (PHPStan level 4)
2
2
on : push
3
3
jobs :
4
- cs-fixer :
5
- runs-on : ubuntu-latest
6
- steps :
7
- - uses : actions/checkout@v2
8
- - name : Cs-Fixer
9
- run : |
10
- wget -q https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
11
- chmod a+x php-cs-fixer
12
- PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
4
+ cs-fixer :
5
+ runs-on : ubuntu-latest
6
+ steps :
7
+ - uses : actions/checkout@v2
8
+ - name : Cs-Fixer
9
+ run : |
10
+ wget -q https://cs.symfony.com/download/php-cs-fixer-v2.phar -O php-cs-fixer
11
+ chmod a+x php-cs-fixer
12
+ PHP_CS_FIXER_IGNORE_ENV=true ./php-cs-fixer fix src --dry-run
13
13
14
- phpstan :
15
- runs-on : ubuntu-latest
16
- steps :
17
- - uses : actions/checkout@v2
18
- - uses : actions/cache@v2
19
- with :
20
- path : ' **/vendor'
21
- key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
22
- restore-keys : |
23
- ${{ runner.os }}-composer-
24
- - uses : php-actions/composer@v5
25
- with :
26
- args : --prefer-dist
27
- php_version : 8.0
28
-
29
- - name : PHPStan
30
- uses : php-actions/phpstan@v2
31
- with :
32
- path : src/
33
- level : 4
34
- php_version : 8.0
14
+ phpstan :
15
+ runs-on : ubuntu-latest
16
+ steps :
17
+ - uses : actions/checkout@v2
18
+ - uses : actions/cache@v2
19
+ with :
20
+ path : ' **/vendor'
21
+ key : ${{ runner.os }}-composer-${{ hashFiles('**/composer.lock') }}
22
+ restore-keys : |
23
+ ${{ runner.os }}-composer-
24
+ - uses : php-actions/composer@v5
25
+ with :
26
+ args : --prefer-dist
27
+ php_version : 8.0
28
+ - name : PHPStan
29
+ uses : php-actions/phpstan@v2
30
+ with :
31
+ path : src/
32
+ level : 4
33
+ php_version : 8.0
You can’t perform that action at this time.
0 commit comments