Add and use a ShimAdapter #656
Annotations
21 errors
Run phpstan:
src/Migration/Environment.php#L137
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
Run phpstan:
src/Migration/Environment.php#L137
Parameter $seed of method Migrations\Migration\Environment::executeSeed() has invalid type Migrations\Seed\SeedInterface.
|
Run phpstan:
src/Migration/Manager.php#L480
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
Run phpstan:
src/Migration/Manager.php#L480
Parameter $seed of method Migrations\Migration\Manager::executeSeed() has invalid type Migrations\Seed\SeedInterface.
|
Run phpstan:
src/Migration/Manager.php#L530
PHPDoc tag @param for parameter $seed with type Migrations\Seed\SeedInterface is not subtype of native type Migrations\SeedInterface.
|
Run phpstan:
src/Migration/Manager.php#L530
Parameter $seed of method Migrations\Migration\Manager::printSeedStatus() has invalid type Migrations\Seed\SeedInterface.
|
Run phpstan:
src/Shim/SeedAdapter.php#L66
PHPDoc tag @param has invalid value (\Phinx\Seed\SeedInterface;): Unexpected token ";", expected variable at offset 69
|
Run phpstan
Process completed with exit code 1.
|
Run phpcs:
src/SeedInterface.php#L15
Type Symfony\Component\Console\Input\InputInterface is not used in this file.
|
Run phpcs:
src/SeedInterface.php#L16
Type Symfony\Component\Console\Output\OutputInterface is not used in this file.
|
Run phpcs
Process completed with exit code 1.
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Run psalm:
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)
|
Loading