Fix collected actions #3159
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.
|