From 3182bc0c450adc77c86507e2a71e219e9ff076d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dalibor=20Karlovi=C4=87?= Date: Mon, 5 Jun 2023 13:35:45 +0200 Subject: [PATCH] fix: do not use Psalm's restrictReturnTypes (#134) --- resources/PHP/common/psalm.xml.dist | 2 +- resources/Pimcore/application/psalm.xml.dist | 2 +- resources/Pimcore/library/psalm.xml.dist | 2 +- resources/YASSG/compat/psalm.xml.dist | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/PHP/common/psalm.xml.dist b/resources/PHP/common/psalm.xml.dist index 669b0ef..bff7b44 100644 --- a/resources/PHP/common/psalm.xml.dist +++ b/resources/PHP/common/psalm.xml.dist @@ -10,7 +10,7 @@ findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" limitMethodComplexity="true" - restrictReturnTypes="true" + restrictReturnTypes="false" strictBinaryOperands="true"> diff --git a/resources/Pimcore/application/psalm.xml.dist b/resources/Pimcore/application/psalm.xml.dist index 9cf10e9..e37879a 100644 --- a/resources/Pimcore/application/psalm.xml.dist +++ b/resources/Pimcore/application/psalm.xml.dist @@ -10,7 +10,7 @@ findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" limitMethodComplexity="true" - restrictReturnTypes="true" + restrictReturnTypes="false" strictBinaryOperands="true"> diff --git a/resources/Pimcore/library/psalm.xml.dist b/resources/Pimcore/library/psalm.xml.dist index ab91d6f..9181bc7 100644 --- a/resources/Pimcore/library/psalm.xml.dist +++ b/resources/Pimcore/library/psalm.xml.dist @@ -10,7 +10,7 @@ findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" limitMethodComplexity="true" - restrictReturnTypes="true" + restrictReturnTypes="false" strictBinaryOperands="true"> diff --git a/resources/YASSG/compat/psalm.xml.dist b/resources/YASSG/compat/psalm.xml.dist index 478c089..868e46b 100644 --- a/resources/YASSG/compat/psalm.xml.dist +++ b/resources/YASSG/compat/psalm.xml.dist @@ -10,7 +10,7 @@ findUnusedPsalmSuppress="true" findUnusedVariablesAndParams="true" limitMethodComplexity="true" - restrictReturnTypes="true" + restrictReturnTypes="false" strictBinaryOperands="true">