From 6b04ac3936b69b4e13442fb98af55c90c54e6384 Mon Sep 17 00:00:00 2001 From: core23 Date: Tue, 7 Dec 2021 19:17:33 +0100 Subject: [PATCH] Add symfony 6 support --- .github/settings.yml | 4 +++ .github/workflows/continuous-integration.yml | 1 + composer.json | 30 ++++++++++---------- 3 files changed, 20 insertions(+), 15 deletions(-) diff --git a/.github/settings.yml b/.github/settings.yml index c71327a..f17264f 100644 --- a/.github/settings.yml +++ b/.github/settings.yml @@ -18,8 +18,12 @@ branches: - "Static Code Analysis (8.1)" - "Test (PHP 8, symfony 5.4, lowest)" - "Test (PHP 8, symfony 5.4, highest)" + - "Test (PHP 8, symfony 6, lowest)" + - "Test (PHP 8, symfony 6, highest)" - "Test (PHP 8.1, symfony 5.4, lowest)" - "Test (PHP 8.1, symfony 5.4, highest)" + - "Test (PHP 8.1, symfony 6, lowest)" + - "Test (PHP 8.1, symfony 6, highest)" - "Code Coverage (8.1)" - "Mutation Tests (8.1)" strict: true diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 19e04d6..856100e 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -119,6 +119,7 @@ jobs: symfony: - 5.4 + - 6.0 steps: - name: "Checkout" diff --git a/composer.json b/composer.json index 553bcc6..77bb2e6 100644 --- a/composer.json +++ b/composer.json @@ -41,30 +41,30 @@ "ext-json": "*", "ext-soap": "*", "nucleos/twig-extensions": "^2.0", - "psr/log": "^1.0 || ^2.0", + "psr/log": "^1.0 || ^2.0 || ^3.0", "sonata-project/block-bundle": "^3.23.0 || ^4.5.1", "sonata-project/doctrine-extensions": "^1.1", "sonata-project/form-extensions": "^0.1.1 || ^1.4", - "symfony/config": "^5.4", - "symfony/console": "^5.4", - "symfony/dependency-injection": "^5.4", - "symfony/expression-language": "^5.4", - "symfony/form": "^5.4", - "symfony/framework-bundle": "^5.4", - "symfony/http-foundation": "^5.4", - "symfony/http-kernel": "^5.4", - "symfony/mailer": "^5.4", - "symfony/mime": "^5.4", - "symfony/options-resolver": "^5.4", - "symfony/translation-contracts": "^1.1 || ^2.0", - "symfony/twig-bridge": "^5.4", + "symfony/config": "^5.4 || ^6.0", + "symfony/console": "^5.4 || ^6.0", + "symfony/dependency-injection": "^5.4 || ^6.0", + "symfony/expression-language": "^5.4 || ^6.0", + "symfony/form": "^5.4 || ^6.0", + "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/http-foundation": "^5.4 || ^6.0", + "symfony/http-kernel": "^5.4 || ^6.0", + "symfony/mailer": "^5.4 || ^6.0", + "symfony/mime": "^5.4 || ^6.0", + "symfony/options-resolver": "^5.4 || ^6.0", + "symfony/translation-contracts": "^1.1 || ^2.0 || ^3.0", + "symfony/twig-bridge": "^5.4 || ^6.0", "twig/intl-extra": "^2.4 || ^3.0", "twig/twig": "^2.4 || ^3.0" }, "require-dev": { "bamarni/composer-bin-plugin": "^1.2", "ergebnis/composer-normalize": "^2.0.1", - "symfony/browser-kit": "^5.4" + "symfony/browser-kit": "^5.4 || ^6.0" }, "autoload": { "psr-4": {