From 9b0a6a430c203aee806b56d58bb7df8251a54157 Mon Sep 17 00:00:00 2001 From: Ondrej Mirtes Date: Fri, 17 Jun 2022 23:19:27 +0200 Subject: [PATCH] Update Larastan baseline --- e2e/integration/larastan-baseline.neon | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/e2e/integration/larastan-baseline.neon b/e2e/integration/larastan-baseline.neon index 91699c1703..11c7bd10d4 100644 --- a/e2e/integration/larastan-baseline.neon +++ b/e2e/integration/larastan-baseline.neon @@ -1,6 +1,16 @@ parameters: ignoreErrors: + - + message: "#^Creating new ReflectionClass is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\\. Use objects retrieved from ReflectionProvider instead\\.$#" + count: 2 + path: repo/src/Properties/ModelPropertyExtension.php + - message: "#^Function is_subclass_of\\(\\) is a runtime reflection concept that might not work in PHPStan because it uses fully static reflection engine\\. Use objects retrieved from ReflectionProvider instead\\.$#" count: 1 path: repo/src/Rules/NoUnnecessaryCollectionCallRule.php + + - + message: "#^Although PHPStan\\\\Reflection\\\\Php\\\\PhpMethodReflection is covered by backward compatibility promise, this instanceof assumption might break because it's not guaranteed to always stay the same\\.$#" + count: 1 + path: repo/src/Types/RelationParserHelper.php