Skip to content

Commit

Permalink
SDK-5711: Removed php 7.4 from support (#304)
Browse files Browse the repository at this point in the history
  • Loading branch information
vol4onok authored Jan 5, 2024
1 parent 09ae390 commit 5a187f6
Show file tree
Hide file tree
Showing 8 changed files with 706 additions and 997 deletions.
9 changes: 4 additions & 5 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ jobs:
fail-fast: false
matrix:
php-version: [
'7.4',
'8.1',
'8.0',
'8.2',
'8.3'
]
Expand Down Expand Up @@ -51,7 +50,7 @@ jobs:
if [[ ${{ matrix.php-version }} == '8.2' || ${{ matrix.php-version }} == '8.3' ]]; then
composer update laminas/laminas-servicemanager laminas/laminas-stdlib laminas/laminas-filter --prefer-stable --optimize-autoloader
else
composer install --optimize-autoloader
composer install --prefer-dist --no-interaction --optimize-autoloader
fi
- name: PHPStan checks
Expand All @@ -62,14 +61,14 @@ jobs:

- name: Run tests
run: |
if [[ ${{ matrix.php-version }} == '7.4' ]]; then
if [[ ${{ matrix.php-version }} == '8.0' ]]; 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 == '7.4'
if: success() && matrix.php-version == '8.0'
uses: codecov/codecov-action@v1

automerge:
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%207.4-8892BF.svg)](https://php.net/)
[![Minimum PHP Version](https://img.shields.io/badge/php-%3E%3D%208.0-8892BF.svg)](https://php.net/)
[![PHPStan](https://img.shields.io/badge/PHPStan-level%208-brightgreen.svg?style=flat)](https://phpstan.org/)

## Upgrader
Expand Down
36 changes: 18 additions & 18 deletions 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": ">=7.4",
"php": ">=8.0",
"ext-json": "*",
"ext-simplexml": "*",
"composer/semver": "^3.3",
Expand All @@ -16,24 +16,24 @@
"m4tthumphrey/php-gitlab-api": "^11.12",
"nikic/php-parser": "4.15.*",
"phpstan/phpstan": "^1.10",
"spryker-sdk/azure-php-client": "dev-master as 1.0.0",
"spryker-sdk/integrator": "dev-master as 1.0.0",
"spryker-sdk/sdk-contracts": "^0.4.7",
"spryker-sdk/utils": "^0.1.2",
"symfony/config": "^5.4",
"symfony/console": "^5.4",
"symfony/dependency-injection": "^5.4",
"symfony/dotenv": "^5.4",
"symfony/filesystem": "^5.4",
"symfony/finder": "^5.4",
"symfony/framework-bundle": "^5.4",
"symfony/http-kernel": "^5.4",
"spryker-sdk/azure-php-client": "^0.2.1",
"spryker-sdk/integrator": "^0.1.1",
"spryker-sdk/sdk-contracts": "^0.5.0",
"spryker-sdk/utils": "^0.2.1",
"symfony/config": "^6.0",
"symfony/console": "^6.0",
"symfony/dependency-injection": "^6.0",
"symfony/dotenv": "^6.0",
"symfony/filesystem": "^6.0",
"symfony/finder": "^6.0",
"symfony/framework-bundle": "^6.0",
"symfony/http-kernel": "^6.0",
"symfony/monolog-bundle": "^3.10",
"symfony/process": "^5.4",
"symfony/runtime": "^5.4",
"symfony/serializer": "^5.4",
"symfony/uid": "^5.4",
"symfony/yaml": "^5.4"
"symfony/process": "^6.0",
"symfony/runtime": "^6.0",
"symfony/serializer": "^6.0",
"symfony/uid": "^6.0",
"symfony/yaml": "^6.0"
},
"require-dev": {
"phpunit/phpunit": "^9.6",
Expand Down
Loading

0 comments on commit 5a187f6

Please sign in to comment.