File tree Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Expand file tree Collapse file tree 2 files changed +11
-5
lines changed Original file line number Diff line number Diff line change 32
32
fail-fast : false
33
33
matrix :
34
34
package : ${{ fromJson(needs.matrix.outputs.list) }}
35
- php : [ '8.0', '8.1' ]
35
+ php : [ '8.0', '8.1', '8.2' ]
36
36
strategy : [ 'highest', 'lowest' ]
37
37
38
38
steps :
Original file line number Diff line number Diff line change @@ -22,19 +22,23 @@ jobs:
22
22
- name : Setup PHP
23
23
uses : shivammathur/setup-php@v2
24
24
with :
25
- php-version : 8.1
25
+ php-version : 8.2
26
26
coverage : none
27
27
tools : phpstan:1.4.6, cs2pr
28
28
29
29
- name : Download dependencies
30
30
uses : ramsey/composer-install@v2
31
+ with :
32
+ composer-options : " --ignore-platform-reqs" # required for PHP 8.2 as not yet official supported
31
33
32
34
- name : PHPStan
33
35
run : phpstan analyze --no-progress --error-format=checkstyle | cs2pr
34
36
35
37
php-cs-fixer :
36
38
name : PHP-CS-Fixer
37
39
runs-on : ubuntu-22.04
40
+ env :
41
+ PHP_CS_FIXER_IGNORE_ENV : 1 # required for PHP 8.2 as not yet official supported
38
42
39
43
steps :
40
44
- name : Checkout code
50
54
- name : Setup PHP
51
55
uses : shivammathur/setup-php@v2
52
56
with :
53
- php-version : 8.1
57
+ php-version : 8.2
54
58
coverage : none
55
59
tools : php-cs-fixer:3.11.0, cs2pr
56
60
@@ -76,10 +80,12 @@ jobs:
76
80
with :
77
81
php-version : 8.1
78
82
coverage : none
79
- tools : vimeo/psalm:4.23.0
83
+ tools : vimeo/psalm:5.0.0-beta1
80
84
81
85
- name : Download dependencies
82
86
uses : ramsey/composer-install@v2
87
+ with :
88
+ composer-options : " --ignore-platform-reqs" # required for PHP 8.2 as not yet official supported
83
89
84
90
- name : Psalm
85
91
run : psalm --no-progress --output-format=github
92
98
- name : Setup PHP
93
99
uses : shivammathur/setup-php@v2
94
100
with :
95
- php-version : 8.1
101
+ php-version : 8.2
96
102
coverage : none
97
103
tools : composer-normalize
98
104
You can’t perform that action at this time.
0 commit comments