File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change 8
8
strategy :
9
9
fail-fast : false
10
10
matrix :
11
- php-version : ['7.2 ', '7.4 ', '8.0 ']
11
+ php-version : ['7.4 ', '8.0 ', '8.1 ']
12
12
composer-opts : ['']
13
13
include :
14
14
- php-version : ' 7.1'
15
15
composer-opts : ' --prefer-lowest'
16
16
17
17
steps :
18
- - uses : actions/checkout@v2
18
+ - uses : actions/checkout@v3
19
19
20
20
- name : Setup PHP
21
21
uses : shivammathur/setup-php@v2
25
25
26
26
- name : Composer install
27
27
run : |
28
- if [[ ${{ matrix.php-version }} == '8.0' ]]; then
28
+ if [[ ${{ matrix.php-version }} == '8.0' || ${{ matrix.php-version }} == '8.1' ]]; then
29
29
composer remove --dev squizlabs/php_codesniffer phpstan/phpstan-shim phpunit/phpunit
30
30
composer require --dev phpunit/phpunit:^8.5
31
31
else
51
51
runs-on : ubuntu-18.04
52
52
53
53
steps :
54
- - uses : actions/checkout@v2
54
+ - uses : actions/checkout@v3
55
55
56
56
- name : Setup PHP
57
57
uses : shivammathur/setup-php@v2
68
68
69
69
- name : Run phpstan
70
70
if : success() || failure()
71
- run : vendor/bin/phpstan.phar analyse src/ tests/ --no-progress --level 2
71
+ run : vendor/bin/phpstan.phar analyse src/ tests/ --no-progress --level 2
You can’t perform that action at this time.
0 commit comments