Aerendir/stripe-bundle

View on GitHub
psalm.xml

Summary

Maintainability
Test Coverage
<?xml version="1.0"?>
<psalm
    phpVersion="7.4"
    cacheDirectory="./var/cache/psalm"
    checkForThrowsDocblock="true"
    hideExternalErrors="true"
    ignoreInternalFunctionNullReturn="false"
    ignoreInternalFunctionFalseReturn="false"
    strictBinaryOperands="true"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="vendor-bin/phpunit/vendor/vimeo/psalm/config.xsd"
    errorBaseline=".baseline-psalm.xml"
>
    <projectFiles>
        <directory name="src"/>
        <directory name="tests"/>
        <ignoreFiles>
            <directory name="vendor"/>
        </ignoreFiles>
    </projectFiles>

    <issueHandlers>
        <MissingThrowsDocblock errorLevel="suppress" />
        <RedundantIdentityWithTrue errorLevel="suppress" />

        <!-- Causes issues in CI in some circumstances -->
        <ArgumentTypeCoercion errorLevel="suppress" />
        <MixedArrayAccess errorLevel="suppress" />
        <TooManyArguments errorLevel="suppress" />
        <UndefinedDocblockClass errorLevel="suppress" />
    </issueHandlers>
    <plugins>
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
        <pluginClass class="Weirdan\DoctrinePsalmPlugin\Plugin"/>
    </plugins>
</psalm>