Files
automagistre/psalm.xml

52 lines
1.6 KiB
XML

<?xml version="1.0"?>
<psalm
totallyTyped="false"
useDocblockTypes="true"
allowPhpStormGenerics="true"
requireVoidReturnType="true"
ignoreInternalFunctionFalseReturn="false"
ignoreInternalFunctionNullReturn="false"
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"
>
<projectFiles>
<directory name="src"/>
<directory name="tests"/>
<directory name="config"/>
<directory name="public"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<InvalidArgument errorLevel="info"/>
<MissingParamType errorLevel="info"/>
<MissingDependency errorLevel="info"/>
<PropertyNotSetInConstructor errorLevel="info"/>
<DeprecatedClass errorLevel="info"/>
<DeprecatedMethod errorLevel="info"/>
<PossiblyNullArrayOffset errorLevel="info"/>
<PossiblyNullOperand errorLevel="info"/>
<PossiblyNullReference errorLevel="info"/>
<PossiblyFalseOperand errorLevel="info"/>
<ImpureArgument errorLevel="info"/>
<InternalMethod>
<errorLevel type="suppress">
<referencedMethod name="Doctrine\DBAL\Types\Type::__construct"/>
</errorLevel>
</InternalMethod>
</issueHandlers>
<plugins>
<pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin"/>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
</plugins>
</psalm>