Skip to content

Commit

Permalink
Merge pull request #325 from spryker-sdk/feature/frw-8801/master-adde…
Browse files Browse the repository at this point in the history
…d-php-83-support

FRW-8801 Added PHP 8.3 support.
  • Loading branch information
olhalivitchuk authored Sep 20, 2024
2 parents 9b5540e + 7a80140 commit d7bbb50
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
fail-fast: false
matrix:
php-version: [
'8.0',
'8.1',
'8.2',
'8.3'
]
Expand Down Expand Up @@ -61,14 +61,14 @@ jobs:

- name: Run tests
run: |
if [[ ${{ matrix.php-version }} == '8.0' ]]; then
if [[ ${{ matrix.php-version }} == '8.1' ]]; then
XDEBUG_MODE=coverage vendor/bin/phpunit tests/ --coverage-clover coverage.xml
else
composer tests
fi
- name: Code Coverage Report
if: success() && matrix.php-version == '8.0'
if: success() && matrix.php-version == '8.1'
uses: codecov/codecov-action@v1

automerge:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/trigger-remote-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: "Install PHP"
uses: shivammathur/setup-php@2.27.0
with:
php-version: 8.0
php-version: 8.1
tools: composer:v2

- run: |
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![Build Status](https://github.com/spryker-sdk/upgrader/workflows/CI/badge.svg?branch=master)](https://github.com/spryker-sdk/upgrader/actions?query=workflow%3ACI+branch%3Amaster)
[![codecov](https://codecov.io/gh/spryker-sdk/upgrader/branch/master/graph/badge.svg?token=AVljwSGALQ)](https://codecov.io/gh/spryker-sdk/upgrader)
[![Latest Stable Version](https://poser.pugx.org/spryker-sdk/upgrader/v/stable.svg)](https://packagist.org/packages/spryker-sdk/upgrader)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.1-8892BF.svg)](https://php.net/)
[![PHPStan](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)](https://phpstan.org/)

## Upgrader
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "Code evaluator and upgrader tool",
"license": "proprietary",
"require": {
"php": ">=8.0",
"php": ">=8.1",
"ext-json": "*",
"ext-simplexml": "*",
"composer/semver": "^3.3",
Expand Down
12 changes: 6 additions & 6 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
context: ./
dockerfile: infrastructure/dev.Dockerfile
args:
SPRYKER_PARENT_IMAGE: spryker/php:7.4
SPRYKER_PARENT_IMAGE: spryker/php:8.1
environment:
SPRYKER_XDEBUG_HOST_IP: ${SPRYKER_XDEBUG_HOST_IP:-host.docker.internal}
tty: true
Expand Down
2 changes: 1 addition & 1 deletion infrastructure/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG SPRYKER_PARENT_IMAGE=spryker/php:8.0
ARG SPRYKER_PARENT_IMAGE=spryker/php:8.1

FROM ${SPRYKER_PARENT_IMAGE} AS application-production-dependencies

Expand Down
2 changes: 1 addition & 1 deletion linux-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ services:
context: ./
dockerfile: infrastructure/dev.Dockerfile
args:
SPRYKER_PARENT_IMAGE: spryker/php:7.4
SPRYKER_PARENT_IMAGE: spryker/php:8.1
environment:
SPRYKER_XDEBUG_HOST_IP: ${SPRYKER_XDEBUG_HOST_IP:-host.docker.internal}
tty: true
Expand Down

0 comments on commit d7bbb50

Please sign in to comment.