Skip to content

refactor: Add bolt message objects #776

refactor: Add bolt message objects

refactor: Add bolt message objects #776

Triggered via pull request February 5, 2025 07:42
Status Success
Total duration 31s
Artifacts

static-analysis.yml

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

Annotations

11 warnings
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 either v3 or v4 of actions/cache to avoid interruptions. Learn more: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down
MixedReturnTypeCoercion: src/Contracts/BoltMessage.php#L42
src/Contracts/BoltMessage.php:42:17: MixedReturnTypeCoercion: The declared return type 'Iterator<mixed, Bolt\protocol\Response>' for Laudis\Neo4j\Contracts\BoltMessage::getResponses is more specific than the inferred return type 'Iterator' (see https://psalm.dev/197)
MixedReturnTypeCoercion: src/Contracts/BoltMessage.php#L45
src/Contracts/BoltMessage.php:45:16: MixedReturnTypeCoercion: The type 'Iterator' is more general than the declared return type 'Iterator<mixed, Bolt\protocol\Response>' for Laudis\Neo4j\Contracts\BoltMessage::getResponses (see https://psalm.dev/197)
MixedAssignment: src/Formatter/BasicFormatter.php#L154
src/Formatter/BasicFormatter.php:154:13: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
MixedAssignment: src/TypeCaster.php#L120
src/TypeCaster.php:120:17: MixedAssignment: Unable to determine the type of this assignment (see https://psalm.dev/032)
MixedAssignment: src/Types/CypherMap.php#L38
src/Types/CypherMap.php:38:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Types/CypherMap.php#L56
src/Types/CypherMap.php:56:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Types/Map.php#L367
src/Types/Map.php:367:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Types/Map.php#L382
src/Types/Map.php:382:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Types/Map.php#L397
src/Types/Map.php:397:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)
MixedAssignment: src/Types/Map.php#L412
src/Types/Map.php:412:13: MixedAssignment: Unable to determine the type that $value is being assigned to (see https://psalm.dev/032)