Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,15 @@
"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",
"matthiasnoback/symfony-dependency-injection-test": "^4.0",
"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"
Expand Down
6 changes: 3 additions & 3 deletions tests/IntegrationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public function __construct()
parent::__construct('test', true);
}

public function registerBundles()
public function registerBundles(): iterable
{
return [
new FrameworkBundle(),
Expand All @@ -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);
}
Expand Down