mirror of
https://github.com/danog/psalm.git
synced 2024-11-30 04:39:00 +01:00
156 lines
5.3 KiB
XML
156 lines
5.3 KiB
XML
<?xml version="1.0"?>
|
|
<psalm
|
|
name="Psalm for Psalm"
|
|
useDocblockTypes="true"
|
|
totallyTyped="true"
|
|
strictBinaryOperands="false"
|
|
rememberPropertyAssignmentsAfterCall="true"
|
|
throwExceptionOnError="0"
|
|
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
|
|
xmlns="https://getpsalm.org/schema/config"
|
|
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
|
|
>
|
|
<projectFiles>
|
|
<directory name="src" />
|
|
<directory name="tests" />
|
|
<directory name="examples" />
|
|
<ignoreFiles>
|
|
<file name="src/Psalm/CallMap.php" />
|
|
<directory name="src/Psalm/Stubs" />
|
|
<directory name="tests/stubs" />
|
|
</ignoreFiles>
|
|
</projectFiles>
|
|
|
|
<issueHandlers>
|
|
<MisplacedRequiredParam errorLevel="suppress" />
|
|
<PossiblyNullOperand errorLevel="suppress" />
|
|
<MissingConstructor>
|
|
<errorLevel type="suppress">
|
|
<file name="src/Psalm/Scanner/FunctionDocblockComment.php" />
|
|
<file name="src/Psalm/Storage/FunctionLikeStorage.php" />
|
|
<file name="src/Psalm/Storage/MethodStorage.php" />
|
|
<file name="src/Psalm/Storage/PropertyStorage.php" />
|
|
<file name="src/Psalm/Scanner/VarDocblockComment.php" />
|
|
</errorLevel>
|
|
</MissingConstructor>
|
|
<DeprecatedProperty errorLevel="suppress" />
|
|
|
|
<LessSpecificReturnType>
|
|
<errorLevel type="suppress">
|
|
<file name="src/Psalm/Plugin.php" />
|
|
</errorLevel>
|
|
</LessSpecificReturnType>
|
|
|
|
<UnusedParam>
|
|
<errorLevel type="suppress">
|
|
<file name="src/Psalm/Plugin.php" />
|
|
<directory name="examples" />
|
|
</errorLevel>
|
|
</UnusedParam>
|
|
|
|
<PossiblyUnusedParam>
|
|
<errorLevel type="suppress">
|
|
<file name="src/Psalm/Plugin.php" />
|
|
<directory name="examples" />
|
|
</errorLevel>
|
|
</PossiblyUnusedParam>
|
|
|
|
<UnusedClass>
|
|
<errorLevel type="suppress">
|
|
<directory name="examples" />
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</UnusedClass>
|
|
|
|
<UnusedProperty>
|
|
<errorLevel type="info">
|
|
<file name="src/Psalm/FileManipulation/FunctionDocblockManipulator.php" />
|
|
</errorLevel>
|
|
</UnusedProperty>
|
|
|
|
<PossiblyUnusedProperty>
|
|
<errorLevel type="info">
|
|
<file name="src/Psalm/Storage/FunctionLikeStorage.php" />
|
|
</errorLevel>
|
|
</PossiblyUnusedProperty>
|
|
|
|
<PossiblyUnusedMethod>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
<file name="src/Psalm/Plugin.php" />
|
|
<referencedMethod name="Psalm\Codebase::getParentInterfaces" />
|
|
<referencedMethod name="Psalm\Codebase::getMethodParams" />
|
|
<referencedMethod name="Psalm\Codebase::getMethodReturnType" />
|
|
<referencedMethod name="Psalm\Codebase::getMethodReturnTypeLocation" />
|
|
<referencedMethod name="Psalm\Codebase::getDeclaringMethodId" />
|
|
<referencedMethod name="Psalm\Codebase::getAppearingMethodId" />
|
|
<referencedMethod name="Psalm\Codebase::getOverriddenMethodIds" />
|
|
<referencedMethod name="Psalm\Codebase::getCasedMethodId" />
|
|
<referencedMethod name="Psalm\Codebase::isVariadic" />
|
|
<referencedMethod name="Psalm\Codebase::getMethodReturnsByRef" />
|
|
</errorLevel>
|
|
</PossiblyUnusedMethod>
|
|
|
|
<PropertyNotSetInConstructor>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
<file name="src/Psalm/Config.php" />
|
|
</errorLevel>
|
|
</PropertyNotSetInConstructor>
|
|
|
|
<MixedArgument>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</MixedArgument>
|
|
|
|
<MixedOperand>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</MixedOperand>
|
|
|
|
<MixedPropertyFetch>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</MixedPropertyFetch>
|
|
|
|
<NoInterfaceProperties>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</NoInterfaceProperties>
|
|
|
|
<NullArrayAccess>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</NullArrayAccess>
|
|
|
|
<NullPropertyFetch>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</NullPropertyFetch>
|
|
|
|
<NullArgument>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</NullArgument>
|
|
|
|
<PossiblyFalseArgument>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</PossiblyFalseArgument>
|
|
|
|
<TypeCoercion>
|
|
<errorLevel type="suppress">
|
|
<directory name="tests" />
|
|
</errorLevel>
|
|
</TypeCoercion>
|
|
</issueHandlers>
|
|
</psalm>
|