From a138fb4815b9473585aad3e1c1dabd9107fee9b2 Mon Sep 17 00:00:00 2001 From: Jannik Zschiesche Date: Thu, 6 Jun 2024 18:03:08 +0200 Subject: [PATCH] Automatically ignore all PHPStorm attributes-related errors in PHPStan --- CHANGELOG.md | 6 ++++++ phpstan/lib.neon | 1 + 2 files changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 8deb5b7..95fdff0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,9 @@ +1.3.4 +===== + +* (improvement) Automatically ignore all PHPStorm attributes-related errors in PHPStan. + + 1.3.3 ===== diff --git a/phpstan/lib.neon b/phpstan/lib.neon index 829b4fa..37e11e7 100644 --- a/phpstan/lib.neon +++ b/phpstan/lib.neon @@ -24,6 +24,7 @@ parameters: - %currentWorkingDirectory%/vendor-bin ignoreErrors: + - message: "#^Attribute class JetBrains\\\\PhpStorm\\\\.*? does not exist\\.$#" - identifier: missingType.iterableValue - identifier: argument.type