Get Environment tests passing with migrations engine #495
Annotations
13 errors
Run phpstan:
src/Db/Adapter/AdapterFactory.php#L1
Ignored error pattern #^Method Migrations\\Db\\Adapter\\AdapterFactory\:\:getAdapter\(\) should return Migrations\\Db\\Adapter\\AdapterInterface but returns object\.$# in path /home/runner/work/migrations/migrations/src/Db/Adapter/AdapterFactory.php was not matched in reported errors.
|
Run phpstan:
src/Migration/Environment.php#L1
Ignored error pattern #^Parameter \#1 \$adapter of method Phinx\\Migration\\MigrationInterface\:\:setAdapter\(\) expects Phinx\\Db\\Adapter\\AdapterInterface, Migrations\\Db\\Adapter\\AdapterInterface given\.$# in path /home/runner/work/migrations/migrations/src/Migration/Environment.php was not matched in reported errors.
|
Run phpstan:
src/Migration/Environment.php#L1
Ignored error pattern #^Parameter \#1 \$adapter of method Phinx\\Seed\\SeedInterface\:\:setAdapter\(\) expects Phinx\\Db\\Adapter\\AdapterInterface, Migrations\\Db\\Adapter\\AdapterInterface given\.$# in path /home/runner/work/migrations/migrations/src/Migration/Environment.php was not matched in reported errors.
|
Run phpstan
Process completed with exit code 1.
|
Run phpcs:
tests/TestCase/Migration/EnvironmentTest.php#L6
Type Migrations\Db\Adapter\AdapterFactory is not used in this file.
|
Run phpcs:
tests/TestCase/Migration/EnvironmentTest.php#L8
Type Migrations\Db\Adapter\PhinxAdapter is not used in this file.
|
Run phpcs:
tests/TestCase/Migration/EnvironmentTest.php#L10
Type PDO is not used in this file.
|
Run phpcs:
tests/TestCase/Migration/EnvironmentTest.php#L14
Type Phinx\Seed\SeedInterface is not used in this file.
|
Run phpcs:
tests/TestCase/Db/Adapter/AdapterFactoryTest.php#L35
Expected 0 blank lines after opening function brace; 1 found
|
Run phpcs
Process completed with exit code 1.
|
Run psalm:
src/Db/Adapter/AdapterFactory.php#L83
src/Db/Adapter/AdapterFactory.php:83:9: PropertyTypeCoercion: $this->adapters expects 'array<string, Closure|class-string<Migrations\Db\Adapter\AdapterInterface>>', parent type 'non-empty-array<string, Closure|string>' provided (see https://psalm.dev/198)
|
Run psalm:
src/Migration/Environment.php#L1
src/Migration/Environment.php:0:0: UnusedBaselineEntry: Baseline for issue "InvalidArgument" has 3 extra entries. (see https://psalm.dev/316)
|
Run psalm
Process completed with exit code 2.
|
The logs for this run have expired and are no longer available.
Loading