4.next merge to 4.x #710
Annotations
18 errors
Run phpstan:
src/Command/BakeMigrationCommand.php#L1
Ignored error pattern #^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parseFields\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/Command/BakeMigrationCommand.php was not matched in reported errors.
|
Run phpstan:
src/Command/BakeMigrationCommand.php#L1
Ignored error pattern #^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parseIndexes\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/Command/BakeMigrationCommand.php was not matched in reported errors.
|
Run phpstan:
src/Command/BakeMigrationCommand.php#L1
Ignored error pattern #^Parameter \#1 \$arguments of method Migrations\\Util\\ColumnParser\:\:parsePrimaryKey\(\) expects array\<string\>, array\<int\<min, \-1\>\|int\<1, max\>, list\<string\>\|string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/Command/BakeMigrationCommand.php was not matched in reported errors.
|
Run phpstan:
src/Command/Phinx/CommandTrait.php (in context of class Migrations/Command/Phinx/MarkMigrated)#L75
Instanceof between Migrations\CakeManager and Migrations\CakeManager will always evaluate to true.
|
Run phpstan:
src/Command/Phinx/CommandTrait.php (in context of class Migrations/Command/Phinx/Status)#L75
Instanceof between Migrations\CakeManager and Migrations\CakeManager will always evaluate to true.
|
Run phpstan:
src/Migration/Environment.php#L89
Call to function method_exists() with Migrations\MigrationInterface and 'useTransactions' will always evaluate to true.
|
Run phpstan:
src/Migration/Manager.php#L1
Ignored error pattern #^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:verbose\(\) expects list\<string\>\|string, array\<non\-falsy\-string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/Migration/Manager.php was not matched in reported errors.
|
Run phpstan:
src/Shim/OutputAdapter.php#L1
Ignored error pattern #^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:out\(\) expects list\<string\>\|string, array\|string given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/Shim/OutputAdapter.php was not matched in reported errors.
|
Run phpstan:
src/TestSuite/Migrator.php#L1
Ignored error pattern #^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:dropTables\(\) expects list\<string\>\|null, non\-empty\-array\<string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/TestSuite/Migrator.php was not matched in reported errors.
|
Run phpstan:
src/TestSuite/Migrator.php#L1
Ignored error pattern #^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:truncateTables\(\) expects list\<string\>\|null, non\-empty\-array\<string\> given\.$# (argument.type) in path /home/runner/work/migrations/migrations/src/TestSuite/Migrator.php was not matched in reported errors.
|
Run psalm:
src/Command/Phinx/MarkMigrated.php#L1
src/Command/Phinx/MarkMigrated.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullReference" has 2 extra entries. (see https://psalm.dev/316)
|
Run psalm:
src/Command/Phinx/Status.php#L1
src/Command/Phinx/Status.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullArgument" has 1 extra entry. (see https://psalm.dev/316)
|
Run psalm:
src/Command/Phinx/Status.php#L1
src/Command/Phinx/Status.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullPropertyFetch" has 1 extra entry. (see https://psalm.dev/316)
|
Run psalm:
src/Command/Phinx/Status.php#L1
src/Command/Phinx/Status.php:0:0: UnusedBaselineEntry: Baseline for issue "PossiblyNullReference" has 4 extra entries. (see https://psalm.dev/316)
|
Run psalm:
src/Migration/Manager.php#L1
src/Migration/Manager.php:0:0: UnusedBaselineEntry: Baseline for issue "ArgumentTypeCoercion" has 1 extra entry. (see https://psalm.dev/316)
|
Run psalm:
src/Shim/OutputAdapter.php#L1
src/Shim/OutputAdapter.php:0:0: UnusedBaselineEntry: Baseline for issue "ArgumentTypeCoercion" has 2 extra entries. (see https://psalm.dev/316)
|
Run psalm:
src/TestSuite/Migrator.php#L1
src/TestSuite/Migrator.php:0:0: UnusedBaselineEntry: Baseline for issue "ArgumentTypeCoercion" has 3 extra entries. (see https://psalm.dev/316)
|
Run psalm
Process completed with exit code 2.
|
Loading