From 79d8188564bd4d208cacd8f352b2688972115e2a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Fr=C3=A9mont?= Date: Fri, 15 Apr 2022 14:14:37 +0200 Subject: [PATCH] Drop Symfony 4 support --- .github/workflows/build.yml | 26 +++----------------------- composer.json | 28 ++++++++++++++-------------- src/Component/composer.json | 4 ++-- 3 files changed, 19 insertions(+), 39 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 66e72b36f..88f3600b7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -17,29 +17,9 @@ jobs: strategy: fail-fast: false matrix: - include: - - - php: 8.0 - symfony: ^4.4 - - - php: 8.0 - symfony: ^5.4 - twig: ^2.12 - - - php: 8.0 - symfony: ^5.4 - twig: ^3.0 - - - php: 8.1 - symfony: ^4.4 - - - php: 8.1 - symfony: ^5.4 - twig: ^2.12 - - - php: 8.1 - symfony: ^5.4 - twig: ^3.0 + php: ["8.0", "8.1"] + symfony: ["^5.4"] + twig: ["^2.12", "^3.0"] steps: - diff --git a/composer.json b/composer.json index 87804e098..9242e1857 100644 --- a/composer.json +++ b/composer.json @@ -36,17 +36,17 @@ "gedmo/doctrine-extensions": "^2.4.12 || ^3.0", "jms/serializer-bundle": "^3.5 || ^4.0", "sylius/registry": "^1.2", - "symfony/config": "^4.4 || ^5.4", - "symfony/expression-language": "^4.4 || ^5.4", - "symfony/form": "^4.4 || ^5.4", - "symfony/framework-bundle": "^4.4 || ^5.4", - "symfony/http-foundation": "^4.4 || ^5.4", - "symfony/security-csrf": "^4.4 || ^5.4", - "symfony/routing": "^4.4 || ^5.4", - "symfony/translation": "^4.4 || ^5.4", - "symfony/twig-bundle": "^4.4 || ^5.4", - "symfony/validator": "^4.4 || ^5.4", - "symfony/yaml": "^4.4 || ^5.4", + "symfony/config": "^5.4", + "symfony/expression-language": "^5.4", + "symfony/form": "^5.4", + "symfony/framework-bundle": "^5.4", + "symfony/http-foundation": "^5.4", + "symfony/security-csrf": "^5.4", + "symfony/routing": "^5.4", + "symfony/translation": "^5.4", + "symfony/twig-bundle": "^5.4", + "symfony/validator": "^5.4", + "symfony/yaml": "^5.4", "webmozart/assert": "^1.8", "willdurand/hateoas-bundle": "^2.0", "winzou/state-machine-bundle": "^0.6" @@ -68,9 +68,9 @@ "phpunit/phpunit": "^9.5", "sylius-labs/coding-standard": "^4.0", "sylius/grid-bundle": "^1.7", - "symfony/dependency-injection": "^4.4 || ^5.4", - "symfony/dotenv": "^4.4 || ^5.4", - "symfony/workflow": "^4.4 || ^5.4", + "symfony/dependency-injection": "^5.4", + "symfony/dotenv": "^5.4", + "symfony/workflow": "^5.4", "symplify/easy-coding-standard": "^9.4", "twig/twig": "^2.12 || ^3.0", "vimeo/psalm": "4.7.0", diff --git a/src/Component/composer.json b/src/Component/composer.json index 059842d9c..cbc02db93 100644 --- a/src/Component/composer.json +++ b/src/Component/composer.json @@ -32,8 +32,8 @@ "doctrine/inflector": "^1.4 || ^2.0", "gedmo/doctrine-extensions": "^2.4.12 || ^3.0", "pagerfanta/core": "^3.0", - "symfony/event-dispatcher": "^4.4 || ^5.4", - "symfony/property-access": "^4.4 || ^5.4", + "symfony/event-dispatcher": "^5.4", + "symfony/property-access": "^5.4", "winzou/state-machine": "^0.4" }, "require-dev": {