Skip to content

Commit a992cd2

Browse files
committed
Add PHP 8.1 support to GitHub workflow actions
1 parent ac30aa9 commit a992cd2

File tree

4 files changed

+18
-19
lines changed

4 files changed

+18
-19
lines changed

.github/workflows/build.yml

Lines changed: 4 additions & 8 deletions
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
@@ -71,13 +72,8 @@ jobs:
7172
- name: Update composer
7273
run: composer self-update
7374

74-
- name: Install dependencies with composer php 7.4
75-
if: matrix.php == '7.4'
75+
- name: Install dependencies with composer
7676
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
7777

78-
- name: Install dependencies with composer php 8.0
79-
if: matrix.php == '8.0'
80-
run: composer update --ignore-platform-reqs --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi
81-
8278
- name: Run tests with phpunit
8379
run: vendor/bin/phpunit --colors=always

.github/workflows/mutation.yml

Lines changed: 3 additions & 3 deletions
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

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,9 @@ jobs:
3333
- ubuntu-latest
3434

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

3840
steps:
3941
- name: Checkout
@@ -42,7 +44,7 @@ jobs:
4244
- name: Install PHP
4345
uses: shivammathur/setup-php@v2
4446
with:
45-
php-version: "${{ matrix.php }}"
47+
php-version: ${{ matrix.php }}
4648
tools: composer:v2, cs2pr
4749
coverage: none
4850

composer.json

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,14 @@
55
"keywords": [
66
"data provider"
77
],
8-
"homepage": "http://www.yiiframework.com/",
8+
"homepage": "https://www.yiiframework.com/",
99
"license": "BSD-3-Clause",
1010
"support": {
1111
"issues": "https://github.com/yiisoft/data/issues?state=open",
12-
"forum": "http://www.yiiframework.com/forum/",
13-
"wiki": "http://www.yiiframework.com/wiki/",
12+
"forum": "https://www.yiiframework.com/forum/",
13+
"wiki": "https://www.yiiframework.com/wiki/",
1414
"irc": "irc://irc.freenode.net/yii",
15+
"chat": "https://t.me/yii3en",
1516
"source": "https://github.com/yiisoft/data"
1617
},
1718
"minimum-stability": "dev",
@@ -21,10 +22,10 @@
2122
"yiisoft/arrays": "^2.0"
2223
},
2324
"require-dev": {
24-
"phpunit/phpunit": "^9.4",
25-
"roave/infection-static-analysis-plugin": "^1.14",
25+
"phpunit/phpunit": "^9.5",
26+
"roave/infection-static-analysis-plugin": "^1.16",
2627
"spatie/phpunit-watcher": "^1.23",
27-
"vimeo/psalm": "^4.10"
28+
"vimeo/psalm": "^4.18"
2829
},
2930
"autoload": {
3031
"psr-4": {

0 commit comments

Comments
 (0)