From f41e36cedab9248fa96163e5ca6969ef1dbcd750 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Wed, 28 Jul 2021 15:08:06 +0000 Subject: [PATCH] Add baseline for phpstan workaround analysis bug Signed-off-by: Matthew Peveler --- phpstan-baseline.neon | 7 +++++++ phpstan.neon | 3 +++ 2 files changed, 10 insertions(+) create mode 100644 phpstan-baseline.neon 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