Skip to content

Commit 4512c5a

Browse files
committed
freeze and run static analysis library to same version as github actions
1 parent d37e237 commit 4512c5a

File tree

73 files changed

+5
-189
lines changed

Some content is hidden

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

73 files changed

+5
-189
lines changed

.github/workflows/static-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
steps:
88
- uses: actions/checkout@v2
99
- name: "PHP-CS-Fixer"
10-
uses: docker://oskarstark/php-cs-fixer-ga:3.9.4
10+
uses: docker://oskarstark/php-cs-fixer-ga:3.8.0
1111
with:
1212
args: --dry-run
1313
- name: "PSalm"

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@
88
[![Latest Stable Version](https://poser.pugx.org/laudis/neo4j-php-client/v)](https://packagist.org/packages/laudis/neo4j-php-client)
99
[![Commits Since latest](https://img.shields.io/github/commits-since/neo4j-php/neo4j-php-client/latest)](https://github.com/neo4j-php/neo4j-php-client/commits/main)
1010

11-
[![Packagist Downloads](https://img.shields.io/packagist/dt/laudis/neo4j-php-client)](//packagist.org/packages/laudis/neo4j-php-client)
12-
[![Packagist Downloads](https://img.shields.io/packagist/dm/laudis/neo4j-php-client)](//packagist.org/packages/laudis/neo4j-php-client)
11+
[![Packagist Downloads](https://img.shields.io/packagist/dt/laudis/neo4j-php-client)](https://packagist.org/packages/laudis/neo4j-php-client/stats)
12+
[![Packagist Downloads](https://img.shields.io/packagist/dm/laudis/neo4j-php-client)](https://packagist.org/packages/laudis/neo4j-php-client/stats)
1313
[![Discord](https://img.shields.io/discord/787399249741479977)](https://discord.com/channels/787399249741479977)
1414

1515

composer.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@
4444
"nyholm/psr7": "^1.3",
4545
"nyholm/psr7-server": "^1.0",
4646
"kriswallsmith/buzz": "^1.2",
47-
"vimeo/psalm": "^4.24",
48-
"friendsofphp/php-cs-fixer": "^3.9",
47+
"vimeo/psalm": "4.23.0",
48+
"friendsofphp/php-cs-fixer": "3.8.0",
4949
"psalm/plugin-phpunit": "^0.15.1",
5050
"monolog/monolog": "^2.2",
5151
"psr/log": "^1.1",

src/Authentication/Authenticate.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,8 @@
1414
namespace Laudis\Neo4j\Authentication;
1515

1616
use function explode;
17-
1817
use Laudis\Neo4j\Contracts\AuthenticateInterface;
1918
use Psr\Http\Message\UriInterface;
20-
2119
use function substr_count;
2220

2321
/**

src/Authentication/BasicAuth.php

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

1616
use function base64_encode;
17-
1817
use Bolt\helpers\Auth;
1918
use Bolt\protocol\V3;
2019
use Exception;

src/Bolt/BoltConfiguration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use function call_user_func;
1717
use function is_callable;
1818
use function is_string;
19-
2019
use Laudis\Neo4j\Client;
2120
use Laudis\Neo4j\Contracts\ConfigInterface;
2221

src/Bolt/BoltConnection.php

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,7 @@
2929
use LogicException;
3030
use Psr\Http\Message\UriInterface;
3131
use RuntimeException;
32-
3332
use function str_starts_with;
34-
3533
use WeakReference;
3634

3735
/**

src/Bolt/BoltConnectionPool.php

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

1616
use Bolt\protocol\V3;
1717
use Exception;
18-
1918
use function explode;
20-
2119
use Laudis\Neo4j\BoltFactory;
2220
use Laudis\Neo4j\Common\ConnectionConfiguration;
2321
use Laudis\Neo4j\Contracts\AuthenticateInterface;

src/Bolt/BoltDriver.php

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

1616
use Bolt\Bolt;
1717
use Exception;
18-
1918
use function is_string;
20-
2119
use Laudis\Neo4j\Authentication\Authenticate;
2220
use Laudis\Neo4j\Common\Uri;
2321
use Laudis\Neo4j\Contracts\AuthenticateInterface;

src/Bolt/BoltResult.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@
1616
use function array_splice;
1717
use function call_user_func;
1818
use function count;
19-
2019
use Generator;
2120
use Iterator;
2221

0 commit comments

Comments
 (0)