Skip to content

Commit e16af99

Browse files
arogachevvjik
andauthored
Use PHP 8.3 (#628)
Co-authored-by: Sergei Predvoditelev <sergei@predvoditelev.ru>
1 parent e85393d commit e16af99

10 files changed

+235
-255
lines changed

.github/workflows/blog-api_build.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
- windows-latest
5050

5151
php:
52-
- 8.1
53-
- 8.2
52+
- 8.3
5453

5554
steps:
5655
- name: Checkout
@@ -96,18 +95,5 @@ jobs:
9695
working-directory: ${{ env.working_directory }}
9796

9897
- name: Run tests codeception
99-
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.0'
10098
run: vendor/bin/codecept run
10199
working-directory: ${{ env.working_directory }}
102-
103-
- name: Run tests codeception with coverage
104-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
105-
run: vendor/bin/codecept run --coverage-xml
106-
working-directory: ${{ env.working_directory }}
107-
108-
- name: Upload coverage to codecov
109-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
110-
uses: codecov/codecov-action@v3
111-
with:
112-
file: tests/_output/coverage.xml
113-
working-directory: ${{ env.working_directory }}

.github/workflows/blog-api_dependency.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- ubuntu-latest
4646

4747
php:
48-
- 8.1
48+
- 8.3
4949

5050
steps:
5151
- name: Checkout

.github/workflows/blog-api_static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- ubuntu-latest
4646

4747
php:
48-
- 8.1
48+
- 8.3
4949

5050
steps:
5151
- name: Checkout

.github/workflows/blog_build.yml

+1-15
Original file line numberDiff line numberDiff line change
@@ -49,8 +49,7 @@ jobs:
4949
- windows-latest
5050

5151
php:
52-
- 8.1
53-
- 8.2
52+
- 8.3
5453

5554
steps:
5655
- name: Checkout
@@ -100,18 +99,5 @@ jobs:
10099
working-directory: ${{ env.working_directory }}
101100

102101
- name: Run tests codeception
103-
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.0'
104102
run: vendor/bin/codecept run
105103
working-directory: ${{ env.working_directory }}
106-
107-
- name: Run tests codeception with coverage
108-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
109-
run: vendor/bin/codecept run --coverage-xml
110-
working-directory: ${{ env.working_directory }}
111-
112-
- name: Upload coverage to codecov
113-
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
114-
uses: codecov/codecov-action@v3
115-
with:
116-
file: tests/_output/coverage.xml
117-
working-directory: ${{ env.working_directory }}

.github/workflows/blog_dependency.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- ubuntu-latest
4646

4747
php:
48-
- 8.1
48+
- 8.3
4949

5050
steps:
5151
- name: Checkout

.github/workflows/blog_static.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
- ubuntu-latest
4646

4747
php:
48-
- 8.1
48+
- 8.3
4949

5050
steps:
5151
- name: Checkout

blog-api/composer.json

+2-7
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@
2020
"minimum-stability": "dev",
2121
"prefer-stable": true,
2222
"require": {
23-
"php": "^8.1",
23+
"php": "8.3.*",
2424
"ext-intl": "*",
2525
"cebe/markdown": "^1.2@dev",
26+
"cycle/annotated": "^3.5",
2627
"cycle/database": "^2.0",
2728
"cycle/entity-behavior": "^1.0",
2829
"cycle/orm": "^2.0",
@@ -96,12 +97,6 @@
9697
"yiisoft/yii-gii": "dev-master",
9798
"yiisoft/yii-testing": "dev-master"
9899
},
99-
"conflict": {
100-
"symfony/css-selector": ">6",
101-
"symfony/event-dispatcher": ">6",
102-
"symfony/filesystem": ">6",
103-
"symfony/string": ">6"
104-
},
105100
"autoload": {
106101
"psr-4": {
107102
"App\\": "src"

0 commit comments

Comments
 (0)