Skip to content

Commit 1193c22

Browse files
committed
fixed static analysis
1 parent 545d705 commit 1193c22

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

docker-compose.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ services:
6060
neo4j:
6161
networks:
6262
- neo4j
63-
image: neo4j:3.5-enterprise
63+
image: neo4j:4.4-enterprise
6464
healthcheck:
6565
test: "wget -q --method=HEAD http://localhost:7474 || exit 1"
6666
interval: 30s
@@ -76,7 +76,7 @@ services:
7676
env_file:
7777
- .env
7878
core1:
79-
image: neo4j:3.5-enterprise
79+
image: neo4j:4.4-enterprise
8080
healthcheck:
8181
test: "wget -q --method=HEAD http://localhost:7474 || exit 1"
8282
interval: 30s
@@ -97,7 +97,7 @@ services:
9797
- .env
9898

9999
core2:
100-
image: neo4j:3.5-enterprise
100+
image: neo4j:4.4-enterprise
101101
healthcheck:
102102
test: "wget -q --method=HEAD http://localhost:7474 || exit 1"
103103
interval: 30s
@@ -118,7 +118,7 @@ services:
118118
- .env
119119

120120
core3:
121-
image: neo4j:3.5-enterprise
121+
image: neo4j:4.4-enterprise
122122
healthcheck:
123123
test: "wget -q --method=HEAD http://localhost:7474 || exit 1"
124124
interval: 30s
@@ -139,7 +139,7 @@ services:
139139
- .env
140140

141141
readreplica1:
142-
image: neo4j:3.5-enterprise
142+
image: neo4j:4.4-enterprise
143143
healthcheck:
144144
test: "wget -q --method=HEAD http://localhost:7474 || exit 1"
145145
interval: 30s

psalm.xml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
<?xml version="1.0"?>
22
<psalm
33
checkForThrowsInGlobalScope="true"
4-
loadXdebugStub="true"
54
findUnusedVariablesAndParams="true"
65
ensureArrayIntOffsetsExist="true"
76
ensureArrayStringOffsetsExist="true"

src/Bolt/BoltResult.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313

1414
namespace Laudis\Neo4j\Bolt;
1515

16-
use Laudis\Neo4j\Enum\ConnectionProtocol;
1716
use function array_key_exists;
1817
use function array_splice;
1918
use Bolt\protocol\V4;
@@ -22,6 +21,7 @@
2221
use Generator;
2322
use Iterator;
2423
use Laudis\Neo4j\Common\BoltConnection;
24+
use Laudis\Neo4j\Enum\ConnectionProtocol;
2525

2626
/**
2727
* @psalm-import-type BoltCypherStats from \Laudis\Neo4j\Contracts\FormatterInterface
@@ -96,7 +96,7 @@ public function iterator(): Generator
9696
}
9797

9898
if ($this->finishedCallback) {
99-
call_user_func($this->finishedCallback, $this->meta);
99+
call_user_func($this->finishedCallback, $this->meta ?? []);
100100
}
101101
}
102102

0 commit comments

Comments
 (0)