Skip to content

Commit

Permalink
Raise PHP to ^8.1 and update dependencies (#265)
Browse files Browse the repository at this point in the history
* Update dependencies

*
  • Loading branch information
vjik committed Dec 26, 2022
1 parent 63a0ece commit 35e10ac
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 16 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build.yml
Expand Up @@ -44,7 +44,6 @@ jobs:
- windows-latest

php:
- 8.0
- 8.1
- 8.2

Expand Down Expand Up @@ -84,15 +83,15 @@ jobs:
run: composer update --prefer-dist --no-interaction --no-progress --optimize-autoloader --ansi

- name: Run tests codeception
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.0'
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.1'
run: vendor/bin/codecept run

- name: Run tests codeception with coverage
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
run: vendor/bin/codecept run --coverage-xml

- name: Upload coverage to codecov
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
uses: codecov/codecov-action@v3
with:
file: tests/_output/coverage.xml
2 changes: 1 addition & 1 deletion .github/workflows/rector.yml
Expand Up @@ -18,4 +18,4 @@ jobs:
os: >-
['ubuntu-latest']
php: >-
['8.0']
['8.1']
3 changes: 1 addition & 2 deletions .github/workflows/static.yml
Expand Up @@ -38,8 +38,7 @@ jobs:
- ubuntu-latest

php:
- 8.0
- 8.1
- "8.1"

steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -23,11 +23,11 @@

## Requirements

The minimum requirement by this project template that your Web server supports PHP 8.0.
The minimum requirement by this project template that your Web server supports PHP 8.1.

## Installation

You'll need at least PHP 8.0.
You'll need at least PHP 8.1.

If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions
at [getcomposer.org](http://getcomposer.org/doc/00-intro.md).
Expand Down
14 changes: 7 additions & 7 deletions composer.json
Expand Up @@ -21,7 +21,7 @@
]
},
"require": {
"php": "^8.0",
"php": "^8.1",
"ext-intl": "*",
"httpsoft/http-message": "^1.0.5",
"psr/container": "^2.0",
Expand All @@ -41,7 +41,7 @@
"yiisoft/error-handler": "^2.0",
"yiisoft/factory": "^1.0",
"yiisoft/files": "^2.0",
"yiisoft/html": "^2.5",
"yiisoft/html": "^3.0",
"yiisoft/http": "^1.2",
"yiisoft/i18n": "^1.1",
"yiisoft/log": "^2.0",
Expand All @@ -50,7 +50,7 @@
"yiisoft/router-fastroute": "^2.0",
"yiisoft/translator": "^2.0",
"yiisoft/translator-message-php": "^1.1",
"yiisoft/view": "^6.0",
"yiisoft/view": "^7.0",
"yiisoft/yii-console": "^1.3",
"yiisoft/yii-debug": "^3.0@dev",
"yiisoft/yii-event": "^1.0",
Expand All @@ -61,17 +61,17 @@
"yiisoft/yii-view": "^5.0"
},
"require-dev": {
"codeception/c3": "^2.6",
"codeception/c3": "^2.7",
"codeception/codeception": "^5.0",
"codeception/module-asserts": "^3.0",
"codeception/module-cli": "^2.0",
"codeception/module-phpbrowser": "^3.0",
"phpunit/phpunit": "^9.5",
"rector/rector": "^0.14.3",
"roave/infection-static-analysis-plugin": "^1.16",
"rector/rector": "^0.15.2",
"roave/infection-static-analysis-plugin": "^1.27",
"roave/security-advisories": "dev-master",
"spatie/phpunit-watcher": "^1.23",
"vimeo/psalm": "^4.22",
"vimeo/psalm": "^5.4",
"yiisoft/yii-debug-api": "3.0.x-dev",
"yiisoft/yii-debug-viewer": "^3.0@dev",
"yiisoft/yii-testing": "dev-master"
Expand Down

0 comments on commit 35e10ac

Please sign in to comment.