diff --git a/composer.json b/composer.json index 582fea35..d3a8c7f1 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": [ @@ -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', ];