From 91f6da622e0ab185934177f13824158fbf34f52e Mon Sep 17 00:00:00 2001 From: Jannik Zschiesche Date: Tue, 24 Sep 2024 16:38:14 +0200 Subject: [PATCH] Ignore return type of Storyblok stories for now --- CHANGELOG.md | 1 + phpstan/symfony.neon | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 50dbf5b..a56f5c6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,7 @@ ===== * (improvement) Add proper support for DQL types in PHPStan Doctrine. +* (improvement) Ignore return type of Storyblok stories for now. 1.3.4 diff --git a/phpstan/symfony.neon b/phpstan/symfony.neon index 2d8c05f..fb0e797 100644 --- a/phpstan/symfony.neon +++ b/phpstan/symfony.neon @@ -10,3 +10,7 @@ parameters: # as we validate in between and PHPStan can't know that. So let's just deactivate it. - identifier: doctrine.columnType + # Let's ignore return types of Storyblok stories for now + - + identifier: return.type + path: %currentWorkingDirectory%/src/Storyblok/Component/*Story.php