From 0a0533af894e8880b7037c919d8c00e9b6a957ef Mon Sep 17 00:00:00 2001 From: Artem Henvald Date: Mon, 3 Jan 2022 14:22:23 +0200 Subject: [PATCH] Support Symfony 6 (#24) --- .github/workflows/ci.yaml | 4 ++++ README.md | 2 +- composer.json | 20 ++++++++++---------- 3 files changed, 15 insertions(+), 11 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 616c246..68bbfda 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -91,6 +91,10 @@ jobs: - '8.1' symfony-version: - '5.4' + - '6.0' + exclude: + - php-version: '7.4' + symfony-version: '6.0' steps: - name: 'Checkout Code' uses: actions/checkout@v2 diff --git a/README.md b/README.md index 85d40f8..1bd470b 100755 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ ## Requirements 🧐 * PHP 7.4, 8.0, 8.1 -* Symfony 5.4 +* Symfony 5.4, 6.0 ## Installation 🌱 diff --git a/composer.json b/composer.json index 1a5892b..a2e6cdc 100755 --- a/composer.json +++ b/composer.json @@ -24,16 +24,16 @@ "require": { "php": ">=7.4.0", "fresh/datetime": "^1.7", - "symfony/console": "^5.4", - "symfony/config": "^5.4", - "symfony/dependency-injection": "^5.4", - "symfony/framework-bundle": "^5.4", - "symfony/http-client": "^5.4", - "symfony/http-foundation": "^5.4", - "symfony/http-kernel": "^5.4", - "symfony/security-core": "^5.4", - "symfony/validator": "^5.4", - "symfony/yaml": "^5.4" + "symfony/console": "^5.4 || ^6.0", + "symfony/config": "^5.4 || ^6.0", + "symfony/dependency-injection": "^5.4 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/http-client": "^5.4 || ^6.0", + "symfony/http-foundation": "^5.4 || ^6.0", + "symfony/http-kernel": "^5.4 || ^6.0", + "symfony/security-core": "^5.4 || ^6.0", + "symfony/validator": "^5.4 || ^6.0", + "symfony/yaml": "^5.4 || ^6.0" }, "require-dev": { "escapestudios/symfony2-coding-standard": "^3.12",