Skip to content

updated minimum psr simple cache requirement #610

updated minimum psr simple cache requirement

updated minimum psr simple cache requirement #610

Triggered via push November 4, 2023 14:15
Status Success
Total duration 45s
Artifacts
Lint & Analyse
35s
Lint & Analyse
Fit to window
Zoom out
Zoom in

Annotations

11 warnings
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/
PossiblyUndefinedIntArrayOffset: src/Authentication/Authenticate.php#L85
src/Authentication/Authenticate.php:85:21: PossiblyUndefinedIntArrayOffset: Possibly undefined array key (see https://psalm.dev/215)
MoreSpecificReturnType: src/Bolt/SslConfigurationFactory.php#L29
src/Bolt/SslConfigurationFactory.php:29:16: MoreSpecificReturnType: The declared return type 'array{0: ''|'s'|'ssc', 1: array{SNI_enabled?: bool, allow_self_signed?: bool, peer_name?: string, verify_peer?: bool}}' for Laudis\Neo4j\Bolt\SslConfigurationFactory::create is more specific than the inferred return type 'list{string, array{SNI_enabled?: bool, allow_self_signed?: bool, peer_name?: string, verify_peer?: bool}}' (see https://psalm.dev/070)
LessSpecificReturnStatement: src/Bolt/SslConfigurationFactory.php#L46
src/Bolt/SslConfigurationFactory.php:46:20: LessSpecificReturnStatement: The type 'list{non-empty-string, array{SNI_enabled?: bool, allow_self_signed?: bool, peer_name?: string, verify_peer?: bool}}' is more general than the declared return type 'array{0: ''|'s'|'ssc', 1: array{SNI_enabled?: bool, allow_self_signed?: bool, peer_name?: string, verify_peer?: bool}}' for Laudis\Neo4j\Bolt\SslConfigurationFactory::create (see https://psalm.dev/129)
LessSpecificReturnStatement: src/Bolt/SslConfigurationFactory.php#L49
src/Bolt/SslConfigurationFactory.php:49:16: LessSpecificReturnStatement: The type 'list{string, array<never, never>}' is more general than the declared return type 'array{0: ''|'s'|'ssc', 1: array{SNI_enabled?: bool, allow_self_signed?: bool, peer_name?: string, verify_peer?: bool}}' for Laudis\Neo4j\Bolt\SslConfigurationFactory::create (see https://psalm.dev/129)
InvalidArgument: src/Common/SysVSemaphore.php#L44
src/Common/SysVSemaphore.php:44:25: InvalidArgument: Argument 1 of Laudis\Neo4j\Common\SysVSemaphore::__construct expects resource, but SysvSemaphore|false provided (see https://psalm.dev/004)
InvalidArgument: src/Common/SysVSemaphore.php#L50
src/Common/SysVSemaphore.php:50:29: InvalidArgument: Argument 1 of sem_acquire expects SysvSemaphore, but resource provided (see https://psalm.dev/004)
InvalidArgument: src/Common/SysVSemaphore.php#L61
src/Common/SysVSemaphore.php:61:26: InvalidArgument: Argument 1 of sem_release expects SysvSemaphore, but resource provided (see https://psalm.dev/004)
MissingTemplateParam: src/Databags/DatabaseInfo.php#L23
src/Databags/DatabaseInfo.php:23:13: MissingTemplateParam: Laudis\Neo4j\Databags\DatabaseInfo has missing template params when extending Laudis\Neo4j\Types\AbstractCypherObject, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Databags/Plan.php#L27
src/Databags/Plan.php:27:13: MissingTemplateParam: Laudis\Neo4j\Databags\Plan has missing template params when extending Laudis\Neo4j\Types\AbstractCypherObject, expecting 2 (see https://psalm.dev/182)
MissingTemplateParam: src/Databags/ProfiledPlan.php#L26
src/Databags/ProfiledPlan.php:26:13: MissingTemplateParam: Laudis\Neo4j\Databags\ProfiledPlan has missing template params when extending Laudis\Neo4j\Types\AbstractCypherObject, expecting 2 (see https://psalm.dev/182)