From 35dda758d440377bd11e9302c881caa36b50aed0 Mon Sep 17 00:00:00 2001 From: Toni Rudolf Date: Sat, 26 Nov 2022 14:12:30 +0100 Subject: [PATCH 1/2] Added symfony 6 support --- composer.json | 4 ++-- tests/IntegrationTest.php | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/composer.json b/composer.json index b9b8fc7..4fddf86 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "php-http/discovery": "^1.6", "php-http/httplug-bundle": "^1.17", "php-http/httplug": "^2.0", - "symfony/http-kernel": "^3.4 || ^4.0 || ^5.0" + "symfony/http-kernel": "^3.4 || ^4.0 || ^5.0 || ^6.0" }, "require-dev": { "http-interop/http-factory-guzzle": "^1.0", @@ -23,7 +23,7 @@ "php-http/guzzle6-adapter": "^1.1.1 || ^2.0", "php-http/mock-client": "^1.1", "phpunit/phpunit": "^8.4", - "symfony/framework-bundle": "^3.4 || ^4.4 || ^5.0" + "symfony/framework-bundle": "^3.4 || ^4.4 || ^5.0 || ^6.0" }, "suggest": { "eightpoints/guzzle-bundle": "Make a custom Guzzle instance for Slack with ease" diff --git a/tests/IntegrationTest.php b/tests/IntegrationTest.php index 0a54561..502faf9 100644 --- a/tests/IntegrationTest.php +++ b/tests/IntegrationTest.php @@ -48,7 +48,7 @@ public function __construct() parent::__construct('test', true); } - public function registerBundles() + public function registerBundles(): iterable { return [ new FrameworkBundle(), @@ -57,12 +57,12 @@ public function registerBundles() ]; } - public function getCacheDir() + public function getCacheDir(): string { return sys_get_temp_dir().'/cache'.spl_object_hash($this); } - public function getLogDir() + public function getLogDir(): string { return sys_get_temp_dir().'/logs'.spl_object_hash($this); } From 9505d4abf8e368b7a14b7f894773c4e317ee115c Mon Sep 17 00:00:00 2001 From: Toni Rudolf Date: Wed, 16 Oct 2024 08:58:46 +0200 Subject: [PATCH 2/2] Added symfony 7 support --- composer.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 4fddf86..eb6e9cd 100644 --- a/composer.json +++ b/composer.json @@ -15,7 +15,7 @@ "php-http/discovery": "^1.6", "php-http/httplug-bundle": "^1.17", "php-http/httplug": "^2.0", - "symfony/http-kernel": "^3.4 || ^4.0 || ^5.0 || ^6.0" + "symfony/http-kernel": "^3.4 || ^4.0 || ^5.0 || ^6.0 || ^7.0" }, "require-dev": { "http-interop/http-factory-guzzle": "^1.0", @@ -23,7 +23,7 @@ "php-http/guzzle6-adapter": "^1.1.1 || ^2.0", "php-http/mock-client": "^1.1", "phpunit/phpunit": "^8.4", - "symfony/framework-bundle": "^3.4 || ^4.4 || ^5.0 || ^6.0" + "symfony/framework-bundle": "^3.4 || ^4.4 || ^5.0 || ^6.0 || ^7.0" }, "suggest": { "eightpoints/guzzle-bundle": "Make a custom Guzzle instance for Slack with ease"