psalm.xml
<?xml version="1.0"?>
<psalm
autoloader="tests/psalm-autoload.php"
errorLevel="1"
findUnusedBaselineEntry="true"
findUnusedCode="false"
hideExternalErrors="true"
phpVersion="8.0"
resolveFromConfigFile="true"
skipChecksOnUnresolvableIncludes="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config vendor-bin/psalm/vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<file name="tests/console-application.php"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\MockeryPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
</plugins>
<issueHandlers>
<RedundantCast errorLevel="suppress"/>
<UnresolvableInclude errorLevel="suppress"/>
</issueHandlers>
</psalm>