Skip to content

Get started on PhinxAdapter #484

Get started on PhinxAdapter

Get started on PhinxAdapter #484

Triggered via pull request January 18, 2024 05:07
Status Failure
Total duration 3m 46s
Artifacts

ci.yml

on: pull_request
Windows - PHP 8.1 & SQL Server
3m 34s
Windows - PHP 8.1 & SQL Server
cs-stan  /  Coding Standard & Static Analysis
56s
cs-stan / Coding Standard & Static Analysis
Matrix: testsuite-linux
Fit to window
Zoom out
Zoom in

Annotations

31 errors and 2 warnings
testsuite-linux (8.1, sqlite, prefer-lowest)
Process completed with exit code 2.
testsuite-linux (8.2, sqlite)
Process completed with exit code 2.
testsuite-linux (8.1, sqlite)
Process completed with exit code 2.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L97
PHPDoc tag @param references unknown parameter: $phinxIndex
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L125
PHPDoc tag @param for parameter $column with type Migrations\Db\Column is not subtype of native type Migrations\Db\Table\Column.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L125
Parameter $column of method Migrations\Db\Adapter\PhinxAdapter::convertColumnToPhinx() has invalid type Migrations\Db\Column.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L178
PHPDoc tag @param references unknown parameter: $index
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L207
Method Migrations\Db\Adapter\PhinxAdapter::convertAction() has invalid return type Migrations\Db\Adapter\Action.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L207
PHPDoc tag @param references unknown parameter: $action
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L207
PHPDoc tag @return with type Migrations\Db\Adapter\Action is not subtype of native type Migrations\Db\Action\Action.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L276
Variable $action might not be defined.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L286
PHPDoc tag @param references unknown parameter: $literal
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L610
Method Migrations\Db\Adapter\PhinxAdapter::getColumns() should return array<Phinx\Db\Table\Column> but returns array<Migrations\Db\Table\Column>.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L16
Type Error is not used in this file.
cs-stan / Coding Standard & Static Analysis: src/Db/Adapter/PhinxAdapter.php#L279
Found more than a single empty line between content
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Db/Adapter/PhinxAdapterTest.php#L13
Type Migrations\Db\Adapter\UnsupportedColumnTypeException is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Db/Adapter/PhinxAdapterTest.php#L14
Type Migrations\Db\Expression is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Db/Adapter/PhinxAdapterTest.php#L16
Type Migrations\Db\Table is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Db/Adapter/PhinxAdapterTest.php#L25
Type ReflectionObject is not used in this file.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
UndefinedDocblockClass: src/Db/Adapter/PhinxAdapter.php#L122
src/Db/Adapter/PhinxAdapter.php:122:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Migrations\Db\Column does not exist (see https://psalm.dev/200)
MismatchingDocblockParamType: src/Db/Adapter/PhinxAdapter.php#L122
src/Db/Adapter/PhinxAdapter.php:122:15: MismatchingDocblockParamType: Parameter $column has wrong type 'Migrations\Db\Column', should be 'Migrations\Db\Table\Column' (see https://psalm.dev/141)
UndefinedDocblockClass: src/Db/Adapter/PhinxAdapter.php#L205
src/Db/Adapter/PhinxAdapter.php:205:16: UndefinedDocblockClass: Docblock-defined class, interface or enum named Migrations\Db\Adapter\Action does not exist (see https://psalm.dev/200)
InvalidNullableReturnType: src/Db/Adapter/PhinxAdapter.php#L350
src/Db/Adapter/PhinxAdapter.php:350:33: InvalidNullableReturnType: The declared return type 'Symfony\Component\Console\Input\InputInterface' for Migrations\Db\Adapter\PhinxAdapter::getInput is not nullable, but 'Symfony\Component\Console\Input\InputInterface|null' contains null (see https://psalm.dev/144)
NullableReturnStatement: src/Db/Adapter/PhinxAdapter.php#L352
src/Db/Adapter/PhinxAdapter.php:352:16: NullableReturnStatement: The declared return type 'Symfony\Component\Console\Input\InputInterface' for Migrations\Db\Adapter\PhinxAdapter::getInput is not nullable, but the function returns 'Symfony\Component\Console\Input\InputInterface|null' (see https://psalm.dev/139)
InvalidArgument: src/Db/Adapter/PhinxAdapter.php#L380
src/Db/Adapter/PhinxAdapter.php:380:44: InvalidArgument: Argument 1 of Migrations\Db\Adapter\PhinxAdapter::convertColumnToPhinx expects Migrations\Db\Column, but Migrations\Db\Table\Column provided (see https://psalm.dev/004)
InvalidReturnType: src/Db/Adapter/PhinxAdapter.php#L608
src/Db/Adapter/PhinxAdapter.php:608:52: InvalidReturnType: The declared return type 'array<array-key, Phinx\Db\Table\Column>' for Migrations\Db\Adapter\PhinxAdapter::getColumns is incorrect, got 'array<array-key, Migrations\Db\Table\Column>' (see https://psalm.dev/011)
InvalidReturnStatement: src/Db/Adapter/PhinxAdapter.php#L610
src/Db/Adapter/PhinxAdapter.php:610:16: InvalidReturnStatement: The inferred type 'array<array-key, Migrations\Db\Table\Column>' does not match the declared return type 'array<array-key, Phinx\Db\Table\Column>' for Migrations\Db\Adapter\PhinxAdapter::getColumns (see https://psalm.dev/128)
InvalidArgument: src/Db/Adapter/PhinxAdapter.php#L733
src/Db/Adapter/PhinxAdapter.php:733:69: InvalidArgument: Argument 2 of Migrations\Db\Adapter\AdapterInterface::executeActions expects array<array-key, Migrations\Db\Action\Action>, but array<array-key, Migrations\Db\Adapter\Action> provided (see https://psalm.dev/004)
UndefinedInterfaceMethod: src/Db/Adapter/PhinxAdapter.php#L757
src/Db/Adapter/PhinxAdapter.php:757:32: UndefinedInterfaceMethod: Method Migrations\Db\Adapter\AdapterInterface::getSelectBuilder does not exist (see https://psalm.dev/181)
Windows - PHP 8.1 & SQL Server
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
Windows - PHP 8.1 & SQL Server
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/