psalm.xml
<?xml version="1.0"?>
<psalm
checkForThrowsInGlobalScope="true"
loadXdebugStub="true"
findUnusedVariablesAndParams="true"
ensureArrayIntOffsetsExist="true"
ensureArrayStringOffsetsExist="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config tools/psalm/vendor/vimeo/psalm/config.xsd"
hoistConstants="true"
resolveFromConfigFile="true"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>