34 lines
1.2 KiB
XML
34 lines
1.2 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
checkForThrowsInGlobalScope="true"
|
|
ensureArrayStringOffsetsExist="true"
|
|
findUnusedPsalmSuppress="true"
|
|
findUnusedBaselineEntry="true"
|
|
findUnusedCode="false"
|
|
sealAllMethods="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"
|
|
errorLevel="2"
|
|
autoloader="psalm-autoloader.php"
|
|
>
|
|
<projectFiles>
|
|
<directory name="src"/>
|
|
<ignoreFiles>
|
|
<!-- Psalm reports issues about vendors by some reason. -->
|
|
<directory name="vendor"/>
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
<issueHandlers>
|
|
<PossiblyNullArgument>
|
|
<errorLevel type="suppress">
|
|
<referencedFunction name="/__construct/"/>
|
|
</errorLevel>
|
|
</PossiblyNullArgument>
|
|
<!-- @see https://github.com/vimeo/psalm/issues/8765 -->
|
|
<PossiblyUndefinedVariable errorLevel="suppress"/>
|
|
<PropertyNotSetInConstructor errorLevel="suppress"/>
|
|
<RiskyTruthyFalsyComparison errorLevel="suppress"/>
|
|
</issueHandlers>
|
|
</psalm>
|