diff --git a/composer.json b/composer.json index b9b8fc7..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" + "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" + "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" 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); }