diff --git a/.phive/phars.xml b/.phive/phars.xml index d311bfa5..a655ee46 100644 --- a/.phive/phars.xml +++ b/.phive/phars.xml @@ -1,5 +1,5 @@ - + diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon index ed5f2611..6a91bd20 100644 --- a/phpstan-baseline.neon +++ b/phpstan-baseline.neon @@ -120,6 +120,12 @@ parameters: count: 1 path: src/Migration/Environment.php + - + message: '#^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:verbose\(\) expects list\\|string, array\ given\.$#' + identifier: argument.type + count: 1 + path: src/Migration/Manager.php + - message: '#^Parameter \#1 \.\.\.\$arg1 of function max expects non\-empty\-array, array given\.$#' identifier: argument.type @@ -138,6 +144,24 @@ parameters: count: 1 path: src/Shim/OutputAdapter.php + - + message: '#^Parameter \#1 \$message of method Cake\\Console\\ConsoleIo\:\:out\(\) expects list\\|string, array\|string given\.$#' + identifier: argument.type + count: 2 + path: src/Shim/OutputAdapter.php + + - + message: '#^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:dropTables\(\) expects list\\|null, non\-empty\-array\ given\.$#' + identifier: argument.type + count: 1 + path: src/TestSuite/Migrator.php + + - + message: '#^Parameter \#2 \$tables of method Cake\\TestSuite\\ConnectionHelper\:\:truncateTables\(\) expects list\\|null, non\-empty\-array\ given\.$#' + identifier: argument.type + count: 2 + path: src/TestSuite/Migrator.php + - message: '#^Offset 0 on non\-empty\-list\ in isset\(\) always exists and is not nullable\.$#' identifier: isset.offset diff --git a/psalm-baseline.xml b/psalm-baseline.xml index 2a71ce6c..d75e690f 100644 --- a/psalm-baseline.xml +++ b/psalm-baseline.xml @@ -157,6 +157,12 @@ + {$phpFile}"; + }, + $phpFiles + )]]> @@ -198,6 +204,10 @@ + + + + io->level()]]> @@ -205,6 +215,13 @@ + + + + + + + regexpParseColumn]]>