Skip to content

Realize column factory #1417

Realize column factory

Realize column factory #1417

Triggered via pull request August 13, 2024 13:50
Status Failure
Total duration 1m 44s
Artifacts

static.yml

on: pull_request
Matrix: psalm
Fit to window
Zoom out
Zoom in

Annotations

7 errors and 2 warnings
InvalidArgument: src/Column/ColumnFactory.php#L139
src/Column/ColumnFactory.php:139:52: InvalidArgument: Argument 2 of Yiisoft\Db\Schema\Column\ColumnFactory::fromType expects type-alias(Yiisoft\Db\Schema\Column\ColumnSchemaInterface::ColumnInfo), but array{allow_null?: bool|null|string, auto_increment?: bool|string, columns?: array<string, Yiisoft\Db\Schema\Column\ColumnSchemaInterface>, comment?: null|string, computed?: bool|string, db_type?: null|string, default_value?: mixed, dimension?: int|string, enum_values?: array<array-key, mixed>|null, extra?: null|string, name?: string, precision?: int|null|string, primary_key?: bool|string, scale?: int|null|string, schema?: null|string, sequence_name?: null|string, size?: int|null|string, table?: null|string, type?: string} provided (see https://psalm.dev/004)
InvalidArgument: src/Schema.php#L749
src/Schema.php:749:51: InvalidArgument: Argument 2 of Yiisoft\Db\Schema\Column\ColumnFactoryInterface::fromType expects type-alias(Yiisoft\Db\Schema\Column\ColumnSchemaInterface::ColumnInfo), but array{columns: array<string, Yiisoft\Db\Schema\Column\ColumnSchemaInterface>, dimension: int} provided (see https://psalm.dev/004)
InvalidArgument: src/Schema.php#L752
src/Schema.php:752:39: InvalidArgument: Argument 2 of Yiisoft\Db\Schema\Column\ColumnFactoryInterface::fromDbType expects type-alias(Yiisoft\Db\Schema\Column\ColumnSchemaInterface::ColumnInfo), but array{dimension: int} provided (see https://psalm.dev/004)
PHP 8.0
Process completed with exit code 2.
PHP 8.2
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.3
The job was canceled because "ubuntu-latest_8_0" failed.
PHP 8.3
The operation was canceled.
PHP 8.1
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
PHP 8.0
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/