Skip to content

Get Environment tests passing with migrations engine #495

Get Environment tests passing with migrations engine

Get Environment tests passing with migrations engine #495

Triggered via pull request January 23, 2024 05:12
Status Failure
Total duration 3m 41s
Artifacts

ci.yml

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

Annotations

13 errors and 2 warnings
cs-stan / Coding Standard & Static Analysis: 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.
cs-stan / Coding Standard & Static Analysis: 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.
cs-stan / Coding Standard & Static Analysis: 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.
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Migration/EnvironmentTest.php#L6
Type Migrations\Db\Adapter\AdapterFactory is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Migration/EnvironmentTest.php#L8
Type Migrations\Db\Adapter\PhinxAdapter is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Migration/EnvironmentTest.php#L14
Type Phinx\Seed\SeedInterface is not used in this file.
cs-stan / Coding Standard & Static Analysis: tests/TestCase/Db/Adapter/AdapterFactoryTest.php#L35
Expected 0 blank lines after opening function brace; 1 found
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 1.
PropertyTypeCoercion: 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)
UnusedBaselineEntry: 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)
cs-stan / Coding Standard & Static Analysis
Process completed with exit code 2.
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/