Skip to content

Commit 4579b9f

Browse files
committed
reran php cs fixer
1 parent 51a2a78 commit 4579b9f

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

75 files changed

+274
-222
lines changed

.php-cs-fixer.dist.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,6 @@
6363
MultilineCommentOpeningClosingAloneFixer::name() => true,
6464
MultilinePromotedPropertiesFixer::name() => true,
6565
PhpUnitAssertArgumentsOrderFixer::name() => true,
66-
PhpdocNoSuperfluousParamFixer::name() => true,
6766
PhpdocParamOrderFixer::name() => true,
6867
StringableInterfaceFixer::name() => true,
6968
])

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
"nyholm/psr7-server": "^1.0",
5050
"kriswallsmith/buzz": "^1.2",
5151
"vimeo/psalm": "^5.0",
52-
"friendsofphp/php-cs-fixer": "3.15.0",
52+
"friendsofphp/php-cs-fixer": "3.68.5",
5353
"psalm/plugin-phpunit": "^0.18",
5454
"monolog/monolog": "^2.2",
5555
"symfony/uid": "^5.0",

src/Authentication/BasicAuth.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ public function __construct(
3838
private readonly string $username,
3939
private readonly string $password,
4040
private readonly ?Neo4jLogger $logger,
41-
) {}
41+
) {
42+
}
4243

4344
/**
4445
* @throws Exception

src/Authentication/KerberosAuth.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,13 @@ final class KerberosAuth implements AuthenticateInterface
4040
public function __construct(
4141
private readonly string $token,
4242
private readonly ?Neo4jLogger $logger,
43-
) {}
43+
) {
44+
}
4445

4546
public function authenticateHttp(RequestInterface $request, UriInterface $uri, string $userAgent): RequestInterface
4647
{
4748
$this->logger?->log(LogLevel::DEBUG, 'Authenticating using KerberosAuth');
49+
4850
/**
4951
* @psalm-suppress ImpureMethodCall Request is a pure object:
5052
*

src/Authentication/NoAuth.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,14 @@ final class NoAuth implements AuthenticateInterface
3838
* @pure
3939
*/
4040
public function __construct(
41-
private readonly ?Neo4jLogger $logger
42-
) {}
41+
private readonly ?Neo4jLogger $logger,
42+
) {
43+
}
4344

4445
public function authenticateHttp(RequestInterface $request, UriInterface $uri, string $userAgent): RequestInterface
4546
{
4647
$this->logger?->log(LogLevel::DEBUG, 'Authentication disabled');
48+
4749
/**
4850
* @psalm-suppress ImpureMethodCall Request is a pure object:
4951
*

src/Authentication/OpenIDConnectAuth.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,14 @@ final class OpenIDConnectAuth implements AuthenticateInterface
3636
*/
3737
public function __construct(
3838
private readonly string $token,
39-
private readonly ?Neo4jLogger $logger
40-
) {}
39+
private readonly ?Neo4jLogger $logger,
40+
) {
41+
}
4142

4243
public function authenticateHttp(RequestInterface $request, UriInterface $uri, string $userAgent): RequestInterface
4344
{
4445
$this->logger?->log(LogLevel::DEBUG, 'Authenticating using OpenIDConnectAuth');
46+
4547
/**
4648
* @psalm-suppress ImpureMethodCall Request is a pure object:
4749
*

src/Basic/Client.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@
2222
final class Client implements ClientInterface
2323
{
2424
public function __construct(
25-
private readonly ClientInterface $client
26-
) {}
25+
private readonly ClientInterface $client,
26+
) {
27+
}
2728

2829
public function run(string $statement, iterable $parameters = [], ?string $alias = null): SummarizedResult
2930
{

src/Basic/Driver.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,9 @@ final class Driver implements DriverInterface
2727
* @psalm-external-mutation-free
2828
*/
2929
public function __construct(
30-
private readonly DriverInterface $driver
31-
) {}
30+
private readonly DriverInterface $driver,
31+
) {
32+
}
3233

3334
/**
3435
* @psalm-mutation-free

src/Basic/Session.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,9 @@
2323
final class Session implements SessionInterface
2424
{
2525
public function __construct(
26-
private readonly SessionInterface $session
27-
) {}
26+
private readonly SessionInterface $session,
27+
) {
28+
}
2829

2930
/**
3031
* @param iterable<Statement> $statements

src/Basic/UnmanagedTransaction.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
final class UnmanagedTransaction implements UnmanagedTransactionInterface
2222
{
2323
public function __construct(
24-
private readonly UnmanagedTransactionInterface $tsx
25-
) {}
24+
private readonly UnmanagedTransactionInterface $tsx,
25+
) {
26+
}
2627

2728
/**
2829
* @param iterable<string, mixed> $parameters

0 commit comments

Comments
 (0)