Skip to content

Commit 6c3a4ca

Browse files
committed
php-cs-fixer
1 parent 779843f commit 6c3a4ca

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

src/Network/Http/HttpSession.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ public function run(iterable $statements): Vector
5353
{
5454
$request = $this->factory->post($this->data, $statements);
5555
$uri = $request->getUri();
56-
$request = $request->withUri($uri->withPath($uri->getPath() . '/commit'));
56+
$request = $request->withUri($uri->withPath($uri->getPath().'/commit'));
5757
$response = $this->client->sendRequest($request);
5858
$data = $this->interpretResponse($response);
5959

tests/Integration/HttpConsistencyTest.php

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
11
<?php
2+
23
declare(strict_types=1);
34

5+
/*
6+
* This file is part of the Laudis Neo4j package.
7+
*
8+
* (c) Laudis technologies <http://laudis.tech>
9+
*
10+
* For the full copyright and license information, please view the LICENSE
11+
* file that was distributed with this source code.
12+
*/
413

514
namespace Laudis\Neo4j\Tests\Integration;
615

7-
816
use Laudis\Neo4j\ClientBuilder;
917
use Laudis\Neo4j\Contracts\ClientInterface;
1018
use Laudis\Neo4j\Databags\Statement;
@@ -47,7 +55,7 @@ public function testConsistency(string $alias): void
4755
public function testConsistencyTransaction(string $alias): void
4856
{
4957
$tsx = $this->client->openTransaction([
50-
Statement::create('CREATE (n:aaa) SET n.name="aaa" return n')
58+
Statement::create('CREATE (n:aaa) SET n.name="aaa" return n'),
5159
], $alias);
5260

5361
$tsx->commit([Statement::create('CREATE (n:bbb) SET n.name="bbb" return n')]);
@@ -67,7 +75,7 @@ public function aliases(): array
6775
return [
6876
['http'],
6977
['bolt'],
70-
['neo4j']
78+
['neo4j'],
7179
];
7280
}
7381
}

tests/Unit/ClientBuilderTest.php

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,6 @@
1717
use Buzz\Exception\NetworkException;
1818
use InvalidArgumentException;
1919
use Laudis\Neo4j\ClientBuilder;
20-
use Laudis\Neo4j\Exception\Neo4jException;
21-
use Laudis\Neo4j\Network\Bolt\BoltInjections;
22-
use Laudis\Neo4j\Network\Http\HttpInjections;
2320
use PHPUnit\Framework\TestCase;
2421

2522
final class ClientBuilderTest extends TestCase

0 commit comments

Comments
 (0)