File tree 1 file changed +8
-2
lines changed
1 file changed +8
-2
lines changed Original file line number Diff line number Diff line change @@ -32,14 +32,18 @@ jobs:
32
32
with :
33
33
repository : slevomat/coding-standard
34
34
path : slevomat-cs
35
- ref : 8.7.1
35
+ ref : 710c256bf3f0f696ec8d4f9d2218321c3eb0f7d2
36
36
37
37
- name : " Install PHP"
38
38
uses : " shivammathur/setup-php@v2"
39
39
with :
40
40
coverage : " none"
41
41
php-version : " ${{ matrix.php-version }}"
42
42
43
+ - name : " Unset platform"
44
+ working-directory : slevomat-cs
45
+ run : " composer config --unset platform"
46
+
43
47
- name : " Install dependencies"
44
48
working-directory : slevomat-cs
45
49
run : " composer install --no-interaction --no-progress"
@@ -56,12 +60,14 @@ jobs:
56
60
57
61
- name : " Tests"
58
62
working-directory : slevomat-cs
59
- run : " bin/phpunit"
63
+ run : " bin/phpunit --no-coverage "
60
64
61
65
- name : " PHPStan"
66
+ if : matrix.php-version == '8.0' || matrix.php-version == '8.1' || matrix.php-version == '8.2'
62
67
working-directory : slevomat-cs
63
68
run : " bin/phpstan analyse -c build/PHPStan/phpstan.neon"
64
69
65
70
- name : " PHPStan in tests"
71
+ if : matrix.php-version == '8.0' || matrix.php-version == '8.1' || matrix.php-version == '8.2'
66
72
working-directory : slevomat-cs
67
73
run : " bin/phpstan analyse -c build/PHPStan/phpstan.tests.neon"
You can’t perform that action at this time.
0 commit comments