Skip to content

Commit 040a1fc

Browse files
committed
ran php-cs-fixer
1 parent 88e2829 commit 040a1fc

File tree

8 files changed

+14
-11
lines changed

8 files changed

+14
-11
lines changed

src/Bolt/BoltConnectionPool.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,13 +15,13 @@
1515

1616
use Bolt\connection\StreamSocket;
1717
use Exception;
18+
use function explode;
19+
use const FILTER_VALIDATE_IP;
20+
use function filter_var;
1821
use Laudis\Neo4j\Contracts\ConnectionPoolInterface;
1922
use Laudis\Neo4j\Enum\AccessMode;
2023
use Psr\Http\Message\UriInterface;
21-
use function explode;
22-
use function filter_var;
2324
use function str_starts_with;
24-
use const FILTER_VALIDATE_IP;
2525

2626
/**
2727
* @implements ConnectionPoolInterface<StreamSocket>

src/Client.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@
1515

1616
use Ds\Map;
1717
use Ds\Vector;
18-
use Laudis\Neo4j\Databags\SessionConfiguration;
19-
use Laudis\Neo4j\Enum\AccessMode;
2018
use function in_array;
2119
use InvalidArgumentException;
2220
use function is_array;

src/Neo4j/Neo4jConnectionPool.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Neo4j;
1515

16-
use Bolt\Bolt;
1716
use Bolt\connection\StreamSocket;
1817
use Exception;
1918
use Laudis\Neo4j\Bolt\BoltDriver;

src/Neo4j/RoutingTable.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ public function getWithRole(RoutingRoles $role): Set
5656
$tbr->add($address);
5757
}
5858
}
59-
6059
}
6160

6261
return $tbr;

tests/Helpers/TestHelper.php

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,19 @@
11
<?php
2+
23
/** @noinspection PhpUndefinedMethodInspection */
34
declare(strict_types=1);
45

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

615
namespace Laudis\Neo4j\Tests\Helpers;
716

8-
917
use Laudis\Neo4j\Bolt\BoltDriver;
1018
use PHPUnit\Framework\TestCase;
1119

tests/Integration/ClientIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ public function testInvalidRun(string $alias): void
149149
public function testValidStatement(string $alias): void
150150
{
151151
TestHelper::skipIfUnsupportedVersion($alias, __CLASS__);
152-
152+
153153
$response = $this->client->runStatement(
154154
Statement::create(<<<'CYPHER'
155155
MERGE (x:TestNode {test: $test})

tests/Integration/ComplexQueryTests.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@
1919
use InvalidArgumentException;
2020
use Laudis\Neo4j\ClientBuilder;
2121
use Laudis\Neo4j\Contracts\ClientInterface;
22-
use Laudis\Neo4j\Exception\Neo4jException;
2322
use Laudis\Neo4j\ParameterHelper;
2423
use PHPUnit\Framework\TestCase;
2524

tests/Integration/OGMFormatterIntegrationTest.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
namespace Laudis\Neo4j\Tests\Integration;
1515

1616
use DateInterval;
17-
use Laudis\Neo4j\Tests\Helpers\TestHelper;
1817
use function json_encode;
1918
use Laudis\Neo4j\ClientBuilder;
2019
use Laudis\Neo4j\Contracts\ClientInterface;
@@ -24,6 +23,7 @@
2423
use Laudis\Neo4j\Formatter\Specialised\HttpOGMArrayTranslator;
2524
use Laudis\Neo4j\Formatter\Specialised\HttpOGMStringTranslator;
2625
use Laudis\Neo4j\Formatter\Specialised\HttpOGMTranslator;
26+
use Laudis\Neo4j\Tests\Helpers\TestHelper;
2727
use Laudis\Neo4j\Types\CartesianPoint;
2828
use Laudis\Neo4j\Types\CypherList;
2929
use Laudis\Neo4j\Types\CypherMap;

0 commit comments

Comments
 (0)