diff --git a/phpstan-baseline.neon b/phpstan-baseline.neon new file mode 100644 index 000000000..584611b45 --- /dev/null +++ b/phpstan-baseline.neon @@ -0,0 +1,7 @@ +parameters: + ignoreErrors: + - + message: "#^Call to function is_subclass_of\\(\\) with non\\-empty\\-string and 'Phinx\\\\\\\\Migration…' will always evaluate to false\\.$#" + count: 1 + path: src/Phinx/Console/Command/Create.php + diff --git a/phpstan.neon b/phpstan.neon index 3d2a7a9d8..ff3b3c000 100644 --- a/phpstan.neon +++ b/phpstan.neon @@ -1,3 +1,6 @@ +includes: + - phpstan-baseline.neon + parameters: level: 6 treatPhpDocTypesAsCertain: false