Skip to content

[feat]: More precise handling of errors when verifying connectivity #755

[feat]: More precise handling of errors when verifying connectivity

[feat]: More precise handling of errors when verifying connectivity #755

Triggered via pull request November 25, 2024 08:23
Status Failure
Total duration 34s
Artifacts

static-analysis.yml

on: pull_request
Lint & Analyse
22s
Lint & Analyse
Fit to window
Zoom out
Zoom in

Annotations

9 errors and 4 warnings
UndefinedClass: src/Bolt/BoltDriver.php#L106
src/Bolt/BoltDriver.php:106:18: UndefinedClass: Class, interface or enum named Laudis\Neo4j\Bolt\ConnectException does not exist (see https://psalm.dev/019)
PossiblyNullReference: src/Bolt/BoltDriver.php#L107
src/Bolt/BoltDriver.php:107:39: PossiblyNullReference: Cannot call method log on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Common/DriverSetupManager.php#L150
src/Common/DriverSetupManager.php:150:33: PossiblyNullReference: Cannot call method log on possibly null value (see https://psalm.dev/083)
PossiblyNullReference: src/Neo4j/Neo4jDriver.php#L110
src/Neo4j/Neo4jDriver.php:110:39: PossiblyNullReference: Cannot call method log on possibly null value (see https://psalm.dev/083)
PossiblyFalseArgument: tests/Integration/ClientIntegrationTest.php#L43
tests/Integration/ClientIntegrationTest.php:43:29: PossiblyFalseArgument: Argument 1 of str_starts_with cannot be false, possibly string value expected (see https://psalm.dev/104)
UndefinedClass: tests/Integration/ClientIntegrationTest.php#L58
tests/Integration/ClientIntegrationTest.php:58:23: UndefinedClass: Class, interface or enum named Laudis\Neo4j\Tests\Integration\RuntimeException does not exist (see https://psalm.dev/019)
PossiblyFalseArgument: tests/Integration/ClientIntegrationTest.php#L71
tests/Integration/ClientIntegrationTest.php:71:29: PossiblyFalseArgument: Argument 1 of str_starts_with cannot be false, possibly string value expected (see https://psalm.dev/104)
UndefinedClass: tests/Integration/ClientIntegrationTest.php#L86
tests/Integration/ClientIntegrationTest.php:86:23: UndefinedClass: Class, interface or enum named Laudis\Neo4j\Tests\Integration\RuntimeException does not exist (see https://psalm.dev/019)
Lint & Analyse
Process completed with exit code 2.
Lint & Analyse
Your workflow is using a version of actions/cache that is scheduled for deprecation, actions/cache@v2. Please update your workflow to use the latest version of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-09-16-notice-of-upcoming-deprecations-and-changes-in-github-actions-services/
Lint & Analyse
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
Lint & Analyse
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/cache@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
MixedArrayAccess: tests/Integration/Neo4jLoggerTest.php#L141
tests/Integration/Neo4jLoggerTest.php:141:61: MixedArrayAccess: Cannot access array value on mixed variable $infoLogs[2][1] (see https://psalm.dev/051)