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 3232 fail-fast : false
3333 matrix :
3434 package : ${{ fromJson(needs.matrix.outputs.list) }}
35- php : [ '8.0', '8.1' ]
35+ php : [ '8.0', '8.1', '8.2' ]
3636 strategy : [ 'highest', 'lowest' ]
3737
3838 steps :
Original file line number Diff line number Diff line change @@ -22,19 +22,23 @@ jobs:
2222 - name : Setup PHP
2323 uses : shivammathur/setup-php@v2
2424 with :
25- php-version : 8.1
25+ php-version : 8.2
2626 coverage : none
2727 tools : phpstan:1.4.6, cs2pr
2828
2929 - name : Download dependencies
3030 uses : ramsey/composer-install@v2
31+ with :
32+ composer-options : " --ignore-platform-reqs" # required for PHP 8.2 as not yet official supported
3133
3234 - name : PHPStan
3335 run : phpstan analyze --no-progress --error-format=checkstyle | cs2pr
3436
3537 php-cs-fixer :
3638 name : PHP-CS-Fixer
3739 runs-on : ubuntu-22.04
40+ env :
41+ PHP_CS_FIXER_IGNORE_ENV : 1 # required for PHP 8.2 as not yet official supported
3842
3943 steps :
4044 - name : Checkout code
5054 - name : Setup PHP
5155 uses : shivammathur/setup-php@v2
5256 with :
53- php-version : 8.1
57+ php-version : 8.2
5458 coverage : none
5559 tools : php-cs-fixer:3.11.0, cs2pr
5660
@@ -76,10 +80,12 @@ jobs:
7680 with :
7781 php-version : 8.1
7882 coverage : none
79- tools : vimeo/psalm:4.23.0
83+ tools : vimeo/psalm:5.0.0-beta1
8084
8185 - name : Download dependencies
8286 uses : ramsey/composer-install@v2
87+ with :
88+ composer-options : " --ignore-platform-reqs" # required for PHP 8.2 as not yet official supported
8389
8490 - name : Psalm
8591 run : psalm --no-progress --output-format=github
9298 - name : Setup PHP
9399 uses : shivammathur/setup-php@v2
94100 with :
95- php-version : 8.1
101+ php-version : 8.2
96102 coverage : none
97103 tools : composer-normalize
98104
You can’t perform that action at this time.
0 commit comments