Skip to content

Commit

Permalink
Add PHP 8.1 support to GitHub workflow actions
Browse files Browse the repository at this point in the history
  • Loading branch information
devanych committed Jan 26, 2022
1 parent 18cab66 commit f060f11
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 5 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/static.yml
Expand Up @@ -33,7 +33,9 @@ jobs:
- ubuntu-latest

php:
- "7.4"
- 7.4
- 8.0
- 8.1

steps:
- name: Checkout
Expand All @@ -42,7 +44,7 @@ jobs:
- name: Install PHP
uses: shivammathur/setup-php@v2
with:
php-version: "${{ matrix.php }}"
php-version: ${{ matrix.php }}
tools: composer:v2, cs2pr
coverage: none

Expand Down
7 changes: 4 additions & 3 deletions composer.json
Expand Up @@ -12,6 +12,7 @@
"forum": "https://www.yiiframework.com/forum/",
"wiki": "https://www.yiiframework.com/wiki/",
"irc": "irc://irc.freenode.net/yii",
"chat": "https://t.me/yii3en",
"source": "https://github.com/yiisoft/proxy"
},
"minimum-stability": "dev",
Expand All @@ -20,10 +21,10 @@
"php": "^7.4|^8.0"
},
"require-dev": {
"phpunit/phpunit": "^9.4",
"roave/infection-static-analysis-plugin": "^1.5",
"phpunit/phpunit": "^9.5",
"roave/infection-static-analysis-plugin": "^1.16",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.2"
"vimeo/psalm": "^4.18"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit f060f11

Please sign in to comment.