Skip to content

Commit 35e10ac

Browse files
authored
Raise PHP to ^8.1 and update dependencies (#265)
* Update dependencies *
1 parent 63a0ece commit 35e10ac

5 files changed

Lines changed: 14 additions & 16 deletions

File tree

.github/workflows/build.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ jobs:
4444
- windows-latest
4545

4646
php:
47-
- 8.0
4847
- 8.1
4948
- 8.2
5049

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

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

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

9493
- name: Upload coverage to codecov
95-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
94+
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.1'
9695
uses: codecov/codecov-action@v3
9796
with:
9897
file: tests/_output/coverage.xml

.github/workflows/rector.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,4 @@ jobs:
1818
os: >-
1919
['ubuntu-latest']
2020
php: >-
21-
['8.0']
21+
['8.1']

.github/workflows/static.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ jobs:
3838
- ubuntu-latest
3939

4040
php:
41-
- 8.0
42-
- 8.1
41+
- "8.1"
4342

4443
steps:
4544
- name: Checkout

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,11 @@
2323

2424
## Requirements
2525

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

2828
## Installation
2929

30-
You'll need at least PHP 8.0.
30+
You'll need at least PHP 8.1.
3131

3232
If you do not have [Composer](http://getcomposer.org/), you may install it by following the instructions
3333
at [getcomposer.org](http://getcomposer.org/doc/00-intro.md).

composer.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
]
2222
},
2323
"require": {
24-
"php": "^8.0",
24+
"php": "^8.1",
2525
"ext-intl": "*",
2626
"httpsoft/http-message": "^1.0.5",
2727
"psr/container": "^2.0",
@@ -41,7 +41,7 @@
4141
"yiisoft/error-handler": "^2.0",
4242
"yiisoft/factory": "^1.0",
4343
"yiisoft/files": "^2.0",
44-
"yiisoft/html": "^2.5",
44+
"yiisoft/html": "^3.0",
4545
"yiisoft/http": "^1.2",
4646
"yiisoft/i18n": "^1.1",
4747
"yiisoft/log": "^2.0",
@@ -50,7 +50,7 @@
5050
"yiisoft/router-fastroute": "^2.0",
5151
"yiisoft/translator": "^2.0",
5252
"yiisoft/translator-message-php": "^1.1",
53-
"yiisoft/view": "^6.0",
53+
"yiisoft/view": "^7.0",
5454
"yiisoft/yii-console": "^1.3",
5555
"yiisoft/yii-debug": "^3.0@dev",
5656
"yiisoft/yii-event": "^1.0",
@@ -61,17 +61,17 @@
6161
"yiisoft/yii-view": "^5.0"
6262
},
6363
"require-dev": {
64-
"codeception/c3": "^2.6",
64+
"codeception/c3": "^2.7",
6565
"codeception/codeception": "^5.0",
6666
"codeception/module-asserts": "^3.0",
6767
"codeception/module-cli": "^2.0",
6868
"codeception/module-phpbrowser": "^3.0",
6969
"phpunit/phpunit": "^9.5",
70-
"rector/rector": "^0.14.3",
71-
"roave/infection-static-analysis-plugin": "^1.16",
70+
"rector/rector": "^0.15.2",
71+
"roave/infection-static-analysis-plugin": "^1.27",
7272
"roave/security-advisories": "dev-master",
7373
"spatie/phpunit-watcher": "^1.23",
74-
"vimeo/psalm": "^4.22",
74+
"vimeo/psalm": "^5.4",
7575
"yiisoft/yii-debug-api": "3.0.x-dev",
7676
"yiisoft/yii-debug-viewer": "^3.0@dev",
7777
"yiisoft/yii-testing": "dev-master"

0 commit comments

Comments
 (0)