diff --git a/composer.json b/composer.json index 389f4584..1abe62db 100644 --- a/composer.json +++ b/composer.json @@ -37,7 +37,7 @@ "lint": "find . -name \\*.php -not -path './vendor/*' -print0 | xargs -0 -n1 php -l", "cs:check": "php-cs-fixer fix --dry-run --diff", "cs:fix": "php-cs-fixer fix", - "psalm": "psalm --output-format=github --no-progress --no-cache", + "psalm": "psalm --output-format=github --no-progress --no-cache --use-baseline=psalm-baseline.xml", "psalm-ui": "psalm --no-cache" } } diff --git a/psalm.xml b/psalm.xml index bc2225b9..0ff2508d 100644 --- a/psalm.xml +++ b/psalm.xml @@ -10,6 +10,7 @@ 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" + errorBaseline="psalm-baseline.xml" >