psalm.xml
<?xml version="1.0"?>
<psalm
errorLevel="1"
resolveFromConfigFile="true"
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"
findUnusedBaselineEntry="true"
findUnusedCode="true"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- Closure -->
<MissingClosureParamType errorLevel="suppress" />
<MissingClosureReturnType errorLevel="suppress" />
<DocblockTypeContradiction errorLevel="suppress" />
<PossiblyUnusedMethod errorLevel="info" />
<RedundantCastGivenDocblockType errorLevel="info" />
<RedundantCondition errorLevel="info" />
<RedundantConditionGivenDocblockType errorLevel="suppress" />
<RiskyTruthyFalsyComparison errorLevel="info" />
</issueHandlers>
</psalm>