Skip to content

Commit 8d17f53

Browse files
workflow update
1 parent b8175f6 commit 8d17f53

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/neo4j.2025.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
strategy:
1212
fail-fast: false
1313
matrix:
14-
neo4j-version: ['2025.07', '2025']
14+
neo4j-version: ['2025.09', '2025']
1515
php-version: ['8.1', '8.2', '8.3', '8.4']
1616

1717
services:

tests/TestLayer.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ protected function sayHello(AProtocol $protocol, string $name, string $password)
6666
* @return float|int
6767
* @link https://neo4j.com/docs/http-api/current/endpoints/#discovery-api
6868
*/
69-
protected function getCompatibleBoltVersion(string $url = null): float|int
69+
protected function getCompatibleBoltVersion(?string $url = null): float|int
7070
{
7171
$json = file_get_contents($url ?? $GLOBALS['NEO_BROWSER'] ?? ('http://' . ($GLOBALS['NEO_HOST'] ?? 'localhost') . ':7474/'));
7272
$decoded = json_decode($json, true);
@@ -75,7 +75,7 @@ protected function getCompatibleBoltVersion(string $url = null): float|int
7575

7676
$neo4jVersion = $decoded['neo4j_version'];
7777

78-
if (version_compare($neo4jVersion, '2025.08', '>='))
78+
if (version_compare($neo4jVersion, '2025.10', '>='))
7979
return 6;
8080
if (version_compare($neo4jVersion, '5.26', '>='))
8181
return 5.8;

0 commit comments

Comments
 (0)