File tree Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Expand file tree Collapse file tree 2 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 42
42
composer update --${{ matrix.dependency-version }} --prefer-dist --no-interaction --no-suggest --with-all-dependencies
43
43
44
44
- name : Execute Unit Tests
45
- run : vendor/bin/phpunit
45
+ run : composer test
46
+
47
+ - name : Analyse with PHPStan
48
+ run : composer analyse
49
+ if : matrix.os == 'ubuntu-latest'
46
50
47
51
- name : Check PSR-12 Codestyle
48
- run : vendor/bin/phpcs --standard=psr12 --exclude=Generic.Files.LineLength src/
52
+ run : composer test
49
53
if : matrix.os == 'ubuntu-latest'
Original file line number Diff line number Diff line change 32
32
},
33
33
"scripts" : {
34
34
"test" : " phpunit" ,
35
- "analyse" : " vendor/bin/ phpstan analyse src tests --level=4" ,
35
+ "analyse" : " phpstan analyse src tests --level=4" ,
36
36
"check-style" : " phpcs -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests" ,
37
37
"fix-style" : " phpcbf -p --standard=PSR12 --exclude=Generic.Files.LineLength --runtime-set ignore_errors_on_exit 1 --runtime-set ignore_warnings_on_exit 1 src tests"
38
38
},
You can’t perform that action at this time.
0 commit comments