Skip to content

Commit

Permalink
Use PHP 8.3 (#628)
Browse files Browse the repository at this point in the history
Co-authored-by: Sergei Predvoditelev <[email protected]>
  • Loading branch information
arogachev and vjik authored Sep 23, 2024
1 parent e85393d commit e16af99
Show file tree
Hide file tree
Showing 10 changed files with 235 additions and 255 deletions.
16 changes: 1 addition & 15 deletions .github/workflows/blog-api_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ jobs:
- windows-latest

php:
- 8.1
- 8.2
- 8.3

steps:
- name: Checkout
Expand Down Expand Up @@ -96,18 +95,5 @@ jobs:
working-directory: ${{ env.working_directory }}

- name: Run tests codeception
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.0'
run: vendor/bin/codecept run
working-directory: ${{ env.working_directory }}

- name: Run tests codeception with coverage
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
run: vendor/bin/codecept run --coverage-xml
working-directory: ${{ env.working_directory }}

- name: Upload coverage to codecov
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
uses: codecov/codecov-action@v3
with:
file: tests/_output/coverage.xml
working-directory: ${{ env.working_directory }}
2 changes: 1 addition & 1 deletion .github/workflows/blog-api_dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blog-api_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

steps:
- name: Checkout
Expand Down
16 changes: 1 addition & 15 deletions .github/workflows/blog_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@ jobs:
- windows-latest

php:
- 8.1
- 8.2
- 8.3

steps:
- name: Checkout
Expand Down Expand Up @@ -100,18 +99,5 @@ jobs:
working-directory: ${{ env.working_directory }}

- name: Run tests codeception
if: matrix.os != 'ubuntu-latest' || matrix.php != '8.0'
run: vendor/bin/codecept run
working-directory: ${{ env.working_directory }}

- name: Run tests codeception with coverage
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
run: vendor/bin/codecept run --coverage-xml
working-directory: ${{ env.working_directory }}

- name: Upload coverage to codecov
if: matrix.os == 'ubuntu-latest' && matrix.php == '8.0'
uses: codecov/codecov-action@v3
with:
file: tests/_output/coverage.xml
working-directory: ${{ env.working_directory }}
2 changes: 1 addition & 1 deletion .github/workflows/blog_dependency.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

steps:
- name: Checkout
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/blog_static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
- ubuntu-latest

php:
- 8.1
- 8.3

steps:
- name: Checkout
Expand Down
9 changes: 2 additions & 7 deletions blog-api/composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,10 @@
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^8.1",
"php": "8.3.*",
"ext-intl": "*",
"cebe/markdown": "^1.2@dev",
"cycle/annotated": "^3.5",
"cycle/database": "^2.0",
"cycle/entity-behavior": "^1.0",
"cycle/orm": "^2.0",
Expand Down Expand Up @@ -96,12 +97,6 @@
"yiisoft/yii-gii": "dev-master",
"yiisoft/yii-testing": "dev-master"
},
"conflict": {
"symfony/css-selector": ">6",
"symfony/event-dispatcher": ">6",
"symfony/filesystem": ">6",
"symfony/string": ">6"
},
"autoload": {
"psr-4": {
"App\\": "src"
Expand Down
Loading

0 comments on commit e16af99

Please sign in to comment.