Skip to content

Commit 66ff62c

Browse files
committed
Add PHP 8.1 support to GitHub workflow actions
1 parent b45cf1c commit 66ff62c

File tree

4 files changed

+13
-10
lines changed

4 files changed

+13
-10
lines changed

.github/workflows/build.yml

+3-2
Original file line numberDiff line numberDiff line change
@@ -37,8 +37,9 @@ jobs:
3737
- windows-latest
3838

3939
php:
40-
- "7.4"
41-
- "8.0"
40+
- 7.4
41+
- 8.0
42+
- 8.1
4243

4344
steps:
4445
- name: Checkout

.github/workflows/mutation.yml

+3-3
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
- ubuntu-latest
3232

3333
php:
34-
- "7.4"
34+
- 8.1
3535

3636
steps:
3737
- name: Checkout
@@ -40,9 +40,9 @@ jobs:
4040
- name: Install PHP
4141
uses: shivammathur/setup-php@v2
4242
with:
43-
php-version: "${{ matrix.php }}"
43+
php-version: ${{ matrix.php }}
4444
ini-values: memory_limit=-1
45-
coverage: "pcov"
45+
coverage: pcov
4646
tools: composer:v2
4747

4848
- name: Determine composer cache directory

.github/workflows/static.yml

+4-3
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,9 @@ jobs:
3333
- ubuntu-latest
3434

3535
php:
36-
- "7.4"
37-
- "8.0"
36+
- 7.4
37+
- 8.0
38+
- 8.1
3839

3940
steps:
4041
- name: Checkout
@@ -43,7 +44,7 @@ jobs:
4344
- name: Install PHP
4445
uses: shivammathur/setup-php@v2
4546
with:
46-
php-version: "${{ matrix.php }}"
47+
php-version: ${{ matrix.php }}
4748
tools: composer:v2, cs2pr
4849
coverage: none
4950

composer.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
"forum": "https://www.yiiframework.com/forum/",
1515
"wiki": "https://www.yiiframework.com/wiki/",
1616
"irc": "irc://irc.freenode.net/yii",
17+
"chat": "https://t.me/yii3en",
1718
"source": "https://github.com/yiisoft/data-response"
1819
},
1920
"require": {
@@ -29,9 +30,9 @@
2930
"require-dev": {
3031
"httpsoft/http-message": "^1.0",
3132
"phpunit/phpunit": "^9.5",
32-
"roave/infection-static-analysis-plugin": "^1.14",
33+
"roave/infection-static-analysis-plugin": "^1.16",
3334
"spatie/phpunit-watcher": "^1.23",
34-
"vimeo/psalm": "^4.12"
35+
"vimeo/psalm": "^4.18"
3536
},
3637
"autoload": {
3738
"psr-4": {

0 commit comments

Comments
 (0)