Skip to content

Fix collected actions #3159

Fix collected actions

Fix collected actions #3159

Triggered via push August 31, 2023 16:58
Status Failure
Total duration 7m 22s
Artifacts

static.yml

on: push
Matrix: psalm / psalm
Fit to window
Zoom out
Zoom in

Annotations

7 errors
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L70
src/Debug/DatabaseCollector.php:70:9: PropertyTypeCoercion: $this->queries expects 'array<string, array{actions: array<string, mixed>, line: string, params: array<array-key, mixed>, rawSql: string, rowNumber: int, sql: string, status: string, transactionId: int}>', parent type 'non-empty-array<string, array{actions: non-empty-array<0|string, mixed>, line: string, params: array<array-key, mixed>, position?: int, rawSql: string, rowNumber?: int, sql: string, status: string, transactionId: int}>' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L96
src/Debug/DatabaseCollector.php:96:9: PropertyTypeCoercion: $this->queries expects 'array<string, array{actions: array<string, mixed>, line: string, params: array<array-key, mixed>, rawSql: string, rowNumber: int, sql: string, status: string, transactionId: int}>', parent type 'non-empty-array<string, array{actions: array<int|string, array{action: "query.end", time: float}|mixed>, line: string, params: array<array-key, mixed>, rawSql: string, rowNumber: int, rowsNumber?: int, sql: string, status: string, transactionId: int}>' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L111
src/Debug/DatabaseCollector.php:111:9: PropertyTypeCoercion: $this->queries expects 'array<string, array{actions: array<string, mixed>, line: string, params: array<array-key, mixed>, rawSql: string, rowNumber: int, sql: string, status: string, transactionId: int}>', parent type 'non-empty-array<string, array{actions: array<int|string, array{action: "query.error", time: float}|mixed>, exception?: Throwable, line: string, params: array<array-key, mixed>, rawSql: string, rowNumber: int, sql: string, status: string, transactionId: int}>' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L125
src/Debug/DatabaseCollector.php:125:9: PropertyTypeCoercion: $this->transactions expects 'array<int, array{actions: array<string, mixed>, exception: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>', parent type 'non-empty-array<int, array{actions: non-empty-array<0|string, mixed>, exception?: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L147
src/Debug/DatabaseCollector.php:147:9: PropertyTypeCoercion: $this->transactions expects 'array<int, array{actions: array<string, mixed>, exception: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>', parent type 'non-empty-array<int, array{actions: array<int|string, array{action: "transaction.rollback", line: string, time: float}|mixed>, exception: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>' provided (see https://psalm.dev/198)
PropertyTypeCoercion: src/Debug/DatabaseCollector.php#L162
src/Debug/DatabaseCollector.php:162:9: PropertyTypeCoercion: $this->transactions expects 'array<int, array{actions: array<string, mixed>, exception: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>', parent type 'non-empty-array<int, array{actions: array<int|string, array{action: "transaction.commit", line: string, time: float}|mixed>, exception: Throwable|null, id: int, level: null|string, line: string, position: int, status: string}>' provided (see https://psalm.dev/198)
psalm / PHP 8.0-ubuntu-latest
Process completed with exit code 2.