psalm.xml
<?xml version="1.0"?>
<psalm
phpVersion="7.3"
cacheDirectory="./var/cache/psalm"
allowPhpStormGenerics="true"
checkForThrowsDocblock="true"
hideExternalErrors="true"
ignoreInternalFunctionNullReturn="false"
ignoreInternalFunctionFalseReturn="false"
requireVoidReturnType="false"
strictBinaryOperands="true"
totallyTyped="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="vendor-bin/phpunit/vendor/vimeo/psalm/config.xsd"
errorBaseline=".baseline-psalm.xml"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<ignoreFiles>
<directory name="vendor"/>
<directory name="src/Console/Style/SF4"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MissingThrowsDocblock errorLevel="suppress" />
<!-- Compatibility issue with SF3.4: Remove when support will be dropped -->
<DocblockTypeContradiction errorLevel="suppress" />
<RedundantCondition errorLevel="suppress" />
<!-- Compatibility issue with SF4: Remove when support will be dropped -->
<DuplicateClass errorLevel="suppress" />
<MethodSignatureMismatch errorLevel="suppress" />
</issueHandlers>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>