Skip to content

Import Db/Table package and get tests passing #445

Import Db/Table package and get tests passing

Import Db/Table package and get tests passing #445

Triggered via pull request December 1, 2023 05:06
Status Failure
Total duration 46s
Artifacts

ci.yml

on: pull_request
cs-stan  /  Coding Standard & Static Analysis
35s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

13 errors
testsuite-linux (8.2, pgsql)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Command/BakeSeedCommand.php#L155
Parameter #2 $options of class Cake\Console\Arguments constructor expects array<string, bool|string|null>, array<string, array<int, string>|bool|string|null> given.
cs-stan / Coding Standard & Static Analysis: src/Db/Table/ForeignKey.php#L85
PHPDoc tag @param for parameter $table with type Phinx\Db\Table\Table is incompatible with native type Migrations\Db\Table\Table.
cs-stan / Coding Standard & Static Analysis: src/Db/Table/ForeignKey.php#L97
PHPDoc tag @return with type Phinx\Db\Table\Table is incompatible with native type Migrations\Db\Table\Table.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
InvalidArgument: src/Command/BakeSeedCommand.php#L155
src/Command/BakeSeedCommand.php:155:13: InvalidArgument: Argument 2 of Cake\Console\Arguments::__construct expects array<string, bool|null|string>, but non-empty-array<string, bool|list<string>|null|string> provided (see https://psalm.dev/004)
RedundantCast: src/Db/Table/Column.php#L249
src/Db/Table/Column.php:249:23: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
RedundantCast: src/Db/Table/Column.php#L552
src/Db/Table/Column.php:552:25: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
RedundantCast: src/Db/Table/Column.php#L586
src/Db/Table/Column.php:586:27: RedundantCast: Redundant cast to bool (see https://psalm.dev/262)
MismatchingDocblockParamType: src/Db/Table/ForeignKey.php#L82
src/Db/Table/ForeignKey.php:82:15: MismatchingDocblockParamType: Parameter $table has wrong type 'Phinx\Db\Table\Table', should be 'Migrations\Db\Table\Table' (see https://psalm.dev/141)
InvalidPropertyAssignmentValue: src/Db/Table/ForeignKey.php#L87
src/Db/Table/ForeignKey.php:87:34: InvalidPropertyAssignmentValue: $this->referencedTable with declared type 'Migrations\Db\Table\Table' cannot be assigned type 'Phinx\Db\Table\Table' (see https://psalm.dev/145)
MismatchingDocblockReturnType: src/Db/Table/ForeignKey.php#L95
src/Db/Table/ForeignKey.php:95:16: MismatchingDocblockReturnType: Docblock has incorrect return type 'Phinx\Db\Table\Table', should be 'Migrations\Db\Table\Table' (see https://psalm.dev/142)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.