From bee9e39eebfd3ba2e31b587ef26d81f6b3f22248 Mon Sep 17 00:00:00 2001 From: Tom Swinkels Date: Wed, 11 Nov 2020 09:49:39 +0100 Subject: [PATCH 1/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 582fea35..929fce0f 100644 --- a/composer.json +++ b/composer.json @@ -1,5 +1,5 @@ { - "name": "plumtreesystems/neo4j-php-client", + "name": "tomswinkels/neo4j-php-client", "type": "library", "description": "Neo4j-PHP-Client is the most advanced PHP Client for Neo4j", "keywords": [ From 0e6a831d06c36c7a6559c117467828dc1b7c0b45 Mon Sep 17 00:00:00 2001 From: Tom Swinkels Date: Wed, 11 Nov 2020 10:52:11 +0100 Subject: [PATCH 2/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 929fce0f..ca7f244e 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-bcmath": "*", "ext-mbstring": "*", "graphaware/neo4j-common": "^3.4", - "symfony/event-dispatcher": "^4.0 || ^5.0", + "symfony/event-dispatcher": "^2.7 || ^3.0 || ^4.0 || ^5.0", "myclabs/php-enum": "^1.4", "php-http/httplug": "^1.0", "php-http/message-factory": "^1.0", From 4db54537489f63dd3b81548adebfaf5e9fb2e571 Mon Sep 17 00:00:00 2001 From: Tom Swinkels Date: Wed, 11 Nov 2020 12:48:08 +0100 Subject: [PATCH 3/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index ca7f244e..5b7b23d7 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-bcmath": "*", "ext-mbstring": "*", "graphaware/neo4j-common": "^3.4", - "symfony/event-dispatcher": "^2.7 || ^3.0 || ^4.0 || ^5.0", + "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", "myclabs/php-enum": "^1.4", "php-http/httplug": "^1.0", "php-http/message-factory": "^1.0", From d873b09603fd5adc17cb0f4e53a159e2b746e73b Mon Sep 17 00:00:00 2001 From: Tom Swinkels Date: Wed, 11 Nov 2020 13:45:03 +0100 Subject: [PATCH 4/5] Update composer.json --- composer.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 5b7b23d7..929fce0f 100644 --- a/composer.json +++ b/composer.json @@ -25,7 +25,7 @@ "ext-bcmath": "*", "ext-mbstring": "*", "graphaware/neo4j-common": "^3.4", - "symfony/event-dispatcher": "^3.0 || ^4.0 || ^5.0", + "symfony/event-dispatcher": "^4.0 || ^5.0", "myclabs/php-enum": "^1.4", "php-http/httplug": "^1.0", "php-http/message-factory": "^1.0", From 5eb95e50100e0992f8121dd33040809b22569204 Mon Sep 17 00:00:00 2001 From: lujunyi Date: Thu, 21 Oct 2021 16:04:40 +0800 Subject: [PATCH 5/5] update to guzzle7 --- composer.json | 6 +++--- src/HttpDriver/Driver.php | 2 +- src/HttpDriver/Session.php | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/composer.json b/composer.json index 929fce0f..d3a8c7f1 100644 --- a/composer.json +++ b/composer.json @@ -27,12 +27,12 @@ "graphaware/neo4j-common": "^3.4", "symfony/event-dispatcher": "^4.0 || ^5.0", "myclabs/php-enum": "^1.4", - "php-http/httplug": "^1.0", + "php-http/httplug": "^2.0", "php-http/message-factory": "^1.0", - "php-http/client-common": "^1.0", + "php-http/client-common": "^2.0", "php-http/discovery": "^1.0", "php-http/message": "^1.0", - "php-http/guzzle6-adapter": "^1.0", + "php-http/guzzle7-adapter": "^1.0", "plumtreesystems/neo4j-bolt": "^4.0" }, "require-dev": { diff --git a/src/HttpDriver/Driver.php b/src/HttpDriver/Driver.php index 3b711a87..18383090 100644 --- a/src/HttpDriver/Driver.php +++ b/src/HttpDriver/Driver.php @@ -13,7 +13,7 @@ use GraphAware\Common\Connection\BaseConfiguration; use GraphAware\Common\Driver\DriverInterface; -use Http\Adapter\Guzzle6\Client; +use Http\Adapter\Guzzle7\Client; class Driver implements DriverInterface { diff --git a/src/HttpDriver/Session.php b/src/HttpDriver/Session.php index 02c3cc44..6f122f6b 100644 --- a/src/HttpDriver/Session.php +++ b/src/HttpDriver/Session.php @@ -18,7 +18,7 @@ use GraphAware\Neo4j\Client\Exception\Neo4jException; use GraphAware\Neo4j\Client\Formatter\ResponseFormatter; use GuzzleHttp\Client as GuzzleClient; -use Http\Adapter\Guzzle6\Client; +use Http\Adapter\Guzzle7\Client; use Http\Client\Common\Plugin\ErrorPlugin; use Http\Client\Common\PluginClient; use Http\Client\Exception\HttpException; @@ -200,7 +200,7 @@ public function prepareRequest(Pipeline $pipeline) 'statements' => $statements, ]); $headers = [ - 'X-Stream' => true, + // 'X-Stream' => true, 'Content-Type' => 'application/json', ]; @@ -279,7 +279,7 @@ public function pushToTransaction($transactionId, array $statementsStack) } $headers = [ - 'X-Stream' => true, + // 'X-Stream' => true, 'Content-Type' => 'application/json', ];