We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4b69ec commit af971a4Copy full SHA for af971a4
composer.json
@@ -19,6 +19,6 @@
19
"require": {
20
"ext-curl": "*",
21
"ext-json": "*",
22
- "guzzlehttp/guzzle": "^6.5"
+ "guzzlehttp/guzzle": ">=6.5.0"
23
}
24
src/DockerClient.php
@@ -55,7 +55,7 @@ private function testConnection()
55
return $this->info();
56
} catch (\Exception $e) {
57
$search = 'failed binding local connection end';
58
- if (str_contains(strtolower($e->getMessage()), $search)) {
+ if (strpos(strtolower($e->getMessage()), $search) !== false) {
59
$text = sprintf('Could not bind to docker socket at %s', $this->unixSocket);
60
throw new DockerSocketNotFound($text);
61
0 commit comments