From de05ff52084abb152501e8103b448c9d5e430e12 Mon Sep 17 00:00:00 2001 From: Christopher Georg Date: Sun, 16 Apr 2023 23:57:10 +0700 Subject: [PATCH] chore: silence psalm warnings, remove duplicate config param for call psalm --- composer.json | 2 +- psalm.xml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/composer.json b/composer.json index 90af9354..d5017064 100644 --- a/composer.json +++ b/composer.json @@ -54,7 +54,7 @@ "docker-run": "docker run -it -v \"${PWD}\":/opt/rollbar/rollbar-php rollbar/rollbar-php:3", "test": [ "phpcs --standard=PSR2 src tests", - "psalm --long-progress --use-baseline=psalm.baseline", + "psalm --long-progress", "phpunit --coverage-clover build/logs/clover.xml --testsuite 'Rollbar Test Suite'" ], "fix": "phpcbf --standard=PSR2 src tests", diff --git a/psalm.xml b/psalm.xml index d5684205..1bb33875 100644 --- a/psalm.xml +++ b/psalm.xml @@ -6,6 +6,8 @@ xmlns="https://getpsalm.org/schema/config" xsi:schemaLocation="https://getpsalm.org/schema/config vendor/vimeo/psalm/config.xsd" errorBaseline="psalm.baseline" + findUnusedBaselineEntry="false" + findUnusedCode="false" >