Add and use a ShimAdapter #656
ci.yml
on: pull_request
Windows - PHP 8.1 & SQL Server
2m 57s
cs-stan
/
Coding Standard & Static Analysis
1m 1s
Matrix: testsuite-linux
Annotations
36 errors and 2 warnings
testsuite-linux (8.1, sqlite, prefer-lowest)
Process completed with exit code 2.
|
testsuite-linux (8.3, sqlite)
Process completed with exit code 2.
|
testsuite-linux (8.2, sqlite)
Process completed with exit code 2.
|
testsuite-linux (8.1, sqlite, dev-5.next as 5.1.0)
Process completed with exit code 2.
|
testsuite-linux (8.1, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.4, sqlite)
Process completed with exit code 2.
|
testsuite-linux (8.4, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.1, sqlite)
Process completed with exit code 2.
|
testsuite-linux (8.2, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.3, pgsql)
Process completed with exit code 2.
|
testsuite-linux (8.4, mysql)
Process completed with exit code 2.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Environment.php#L137
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Environment.php#L137
Parameter $seed of method Migrations\Migration\Environment::executeSeed() has invalid type Migrations\Seed\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Manager.php#L480
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Manager.php#L480
Parameter $seed of method Migrations\Migration\Manager::executeSeed() has invalid type Migrations\Seed\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Manager.php#L530
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Migration/Manager.php#L530
Parameter $seed of method Migrations\Migration\Manager::printSeedStatus() has invalid type Migrations\Seed\SeedInterface.
|
cs-stan / Coding Standard & Static Analysis:
src/Shim/SeedAdapter.php#L66
PHPDoc tag @param has invalid value (\Phinx\Seed\SeedInterface;): Unexpected token ";", expected variable at offset 69
|
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
|
cs-stan / Coding Standard & Static Analysis:
src/SeedInterface.php#L15
Type Symfony\Component\Console\Input\InputInterface is not used in this file.
|
cs-stan / Coding Standard & Static Analysis:
src/SeedInterface.php#L16
Type Symfony\Component\Console\Output\OutputInterface is not used in this file.
|
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
|
UndefinedDocblockClass:
src/Migration/Environment.php#L134
src/Migration/Environment.php:134:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Migrations\Seed\SeedInterface does not exist (see https://psalm.dev/200)
|
MismatchingDocblockParamType:
src/Migration/Environment.php#L134
src/Migration/Environment.php:134:15: MismatchingDocblockParamType: Parameter $seed has wrong type 'Migrations\Seed\SeedInterface', should be 'Migrations\SeedInterface' (see https://psalm.dev/141)
|
UndefinedDocblockClass:
src/Migration/Manager.php#L477
src/Migration/Manager.php:477:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Migrations\Seed\SeedInterface does not exist (see https://psalm.dev/200)
|
MismatchingDocblockParamType:
src/Migration/Manager.php#L477
src/Migration/Manager.php:477:15: MismatchingDocblockParamType: Parameter $seed has wrong type 'Migrations\Seed\SeedInterface', should be 'Migrations\SeedInterface' (see https://psalm.dev/141)
|
UndefinedDocblockClass:
src/Migration/Manager.php#L525
src/Migration/Manager.php:525:15: UndefinedDocblockClass: Docblock-defined class, interface or enum named Migrations\Seed\SeedInterface does not exist (see https://psalm.dev/200)
|
MismatchingDocblockParamType:
src/Migration/Manager.php#L525
src/Migration/Manager.php:525:15: MismatchingDocblockParamType: Parameter $seed has wrong type 'Migrations\Seed\SeedInterface', should be 'Migrations\SeedInterface' (see https://psalm.dev/141)
|
InvalidArgument:
src/Migration/Manager.php#L685
src/Migration/Manager.php:685:40: InvalidArgument: Argument 1 of Migrations\Migration\Manager::executeSeed expects Migrations\Seed\SeedInterface, but Migrations\SeedInterface provided (see https://psalm.dev/004)
|
InvalidArgument:
src/Migration/Manager.php#L691
src/Migration/Manager.php:691:36: InvalidArgument: Argument 1 of Migrations\Migration\Manager::executeSeed expects Migrations\Seed\SeedInterface, but Migrations\SeedInterface provided (see https://psalm.dev/004)
|
ArgumentTypeCoercion:
src/Migration/Manager.php#L1014
src/Migration/Manager.php:1014:29: ArgumentTypeCoercion: Argument 1 of Migrations\Migration\Manager::setSeeds expects array<array-key, Migrations\SeedInterface>, but parent type array<array-key, mixed|object> provided (see https://psalm.dev/193)
|
InvalidDocblock:
src/Shim/SeedAdapter.php#L66
src/Shim/SeedAdapter.php:66:5: InvalidDocblock: Badly-formatted @param in docblock for Migrations\Shim\SeedAdapter::__construct (see https://psalm.dev/008)
|
testsuite-linux (8.2, mysql)
Process completed with exit code 2.
|
testsuite-linux (8.1, mysql)
Process completed with exit code 2.
|
testsuite-linux (8.3, mysql)
Process completed with exit code 2.
|
Windows - PHP 8.1 & SQL Server
Process completed with exit code 1.
|
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/
|