Psalm: Use baseline

Signed-off-by: Marcel Klehr <mklehr@gmx.net>
This commit is contained in:
Marcel Klehr 2021-01-20 19:12:42 +01:00
parent e02b440909
commit cc6817bee9
2 changed files with 2 additions and 1 deletions

View File

@ -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"
}
}

View File

@ -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"
>
<projectFiles>
<directory name="lib" />