| <?xml version="1.0"?>
<psalm
    autoloader="cli-autoload.php"
    useDocblockTypes="true"
    totallyTyped="true"
>
    <projectFiles>
        <directory name="bin" />
        <directory name="src" />
    </projectFiles>
    <issueHandlers>
        <InvalidScope errorLevel="suppress" />
        <MissingClosureReturnType errorLevel="suppress" />
        <PropertyNotSetInConstructor errorLevel="info" /> <!-- Memcached false positive -->
        <RedundantConditionGivenDocblockType errorLevel="suppress" />
        <UndefinedClass errorLevel="info" /><!-- Memcached is optional (PECL) -->
        <UndefinedConstant errorLevel="suppress" />
        <!-- Possibly Psalm false positives; deal with later. -->
        <RedundantCastGivenDocblockType errorLevel="info" />
        <InvalidThrow errorLevel="info" />
        <DocblockTypeContradiction errorLevel="info" />
        <PossiblyUndefinedArrayOffset errorLevel="info" />
        <UnsafeInstantiation errorLevel="info" />
        <MissingReturnType errorLevel="info" />
        <RedundantCast errorLevel="suppress" />
        <InvalidDocblock errorLevel="info" />
        <MismatchingDocblockReturnType errorLevel="info" />
        <MixedArgumentTypeCoercion errorLevel="info" />
        <InvalidScalarArgument errorLevel="info" />
        <InvalidArgument errorLevel="info" />
        <MixedArgument errorLevel="info" />
        <NullArgument errorLevel="info" />
        <InvalidArrayOffset errorLevel="info" />
        <TypeDoesNotContainNull errorLevel="info" />
        <MixedArrayAccess errorLevel="info" />
        <UnnecessaryVarAnnotation errorLevel="info" />
        <UnusedVariable errorLevel="info" />
        <UnusedClosureParam errorLevel="info" />
    </issueHandlers>
</psalm>
 |