From 4680c76571e9812979a204bac641cc5744afb492 Mon Sep 17 00:00:00 2001 From: Alexander Borisov Date: Mon, 4 Dec 2023 18:19:07 +0300 Subject: [PATCH] Add Symfony 7 support (#55) --- .github/workflows/tests.yaml | 1 + CHANGELOG.md | 1 + composer.json | 16 ++++++++-------- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/.github/workflows/tests.yaml b/.github/workflows/tests.yaml index 22cca3f..7e40d12 100644 --- a/.github/workflows/tests.yaml +++ b/.github/workflows/tests.yaml @@ -16,6 +16,7 @@ jobs: - "8.0" - "8.1" - "8.2" + - "8.3" deps: - latest - lowest diff --git a/CHANGELOG.md b/CHANGELOG.md index 7dcb525..11bf19d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ CHANGELOG * Allow to set update type for webhook command * Allow to set timeout for api instances * Use symfony/http-client if available +* Add Symfony 7 support 5.0.0 (2022-01-21) ------------------ diff --git a/composer.json b/composer.json index 91187d0..3e91fd2 100644 --- a/composer.json +++ b/composer.json @@ -27,18 +27,18 @@ "php": "^8.0", "ext-curl": "*", "ext-json": "*", - "symfony/console": "^5.4 || ^6.0", - "symfony/event-dispatcher": "^5.4 || ^6.0", - "symfony/framework-bundle": "^5.4 || ^6.0", + "symfony/console": "^5.4 || ^6.0 || ^7.0", + "symfony/event-dispatcher": "^5.4 || ^6.0 || ^7.0", + "symfony/framework-bundle": "^5.4 || ^6.0 || ^7.0", "telegram-bot/api": "^2.3.14" }, "require-dev": { "friendsofphp/php-cs-fixer": "~3.23.0", - "symfony/phpunit-bridge": "^6.3", - "symfony/security-http": "^5.4 || ^6.0", - "symfony/http-client": "^5.4 || ^6.0", - "symfony/messenger": "^5.4 || ^6.0", - "symfony/yaml": "^5.4 || ^6.0", + "symfony/phpunit-bridge": "^7.0.1", + "symfony/security-http": "^5.4 || ^6.0 || ^7.0", + "symfony/http-client": "^5.4 || ^6.0 || ^7.0", + "symfony/messenger": "^5.4 || ^6.0 || ^7.0", + "symfony/yaml": "^5.4 || ^6.0 || ^7.0", "vimeo/psalm": "~4.30.0", "psalm/plugin-symfony": "^4.0" },