nutgram/laravel

View on GitHub
psalm.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<psalm
        errorLevel="8"
        resolveFromConfigFile="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"
>
    <projectFiles>
        <directory name="src" />
        <ignoreFiles>
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>
    <issueHandlers>
        <PropertyNotSetInConstructor>
            <errorLevel type="suppress">
                <directory name="src"/>
            </errorLevel>
        </PropertyNotSetInConstructor>
        <InvalidThrow>
            <errorLevel type="suppress">
                <referencedClass name="Psr\SimpleCache\InvalidArgumentException"/>
            </errorLevel>
        </InvalidThrow>
        <UndefinedMethod>
            <errorLevel type="suppress">
                <referencedMethod name="ReflectionType::getName"/>
            </errorLevel>
        </UndefinedMethod>
        <PossiblyNullPropertyAssignmentValue>
            <errorLevel type="suppress">
                <directory name="src"/>
            </errorLevel>
        </PossiblyNullPropertyAssignmentValue>
        <UndefinedInterfaceMethod>
            <errorLevel type="suppress">
                <referencedMethod name="Psr\Container\ContainerInterface::getNew"/>
                <referencedMethod name="Psr\Container\ContainerInterface::extend"/>
                <referencedMethod name="Psr\Http\Client\ClientInterface::get"/>
                <referencedMethod name="Psr\Http\Client\ClientInterface::post"/>
                <referencedMethod name="Illuminate\Contracts\Filesystem\Filesystem::path"/>
                <referencedMethod name="Illuminate\Contracts\Filesystem\Filesystem::putFileAs"/>
            </errorLevel>
        </UndefinedInterfaceMethod>
        <InvalidScope>
            <errorLevel type="suppress">
                <directory name="tests/"/>
            </errorLevel>
        </InvalidScope>
    </issueHandlers>
</psalm>