From 7b8ffc90d27b63aa21fa1ec73ac743823f992583 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Guzm=C3=A1n=20Maeso?= Date: Fri, 3 May 2024 15:04:36 +0200 Subject: [PATCH 1/2] feat: avoid warnings with psalm 6 --- psalm.xml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/psalm.xml b/psalm.xml index bb410780..c69edd1c 100644 --- a/psalm.xml +++ b/psalm.xml @@ -3,6 +3,8 @@ errorLevel="4" memoizeMethodCallResults="true" errorBaseline="psalm-baseline.xml" + findUnusedBaselineEntry="true" + findUnusedCode="true" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" From 7392a9207655438a7775b1801c082b214e25f33b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=81ngel=20Guzm=C3=A1n=20Maeso?= Date: Fri, 3 May 2024 15:09:03 +0200 Subject: [PATCH 2/2] fix: set as default false for avoid a lot noise with decorators --- psalm.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/psalm.xml b/psalm.xml index c69edd1c..71321eb0 100644 --- a/psalm.xml +++ b/psalm.xml @@ -3,8 +3,8 @@ errorLevel="4" memoizeMethodCallResults="true" errorBaseline="psalm-baseline.xml" - findUnusedBaselineEntry="true" - findUnusedCode="true" + findUnusedBaselineEntry="false" + findUnusedCode="false" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd"