<?xml version="1.0"?>
<psalm
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xmlns="https://getpsalm.org/schema/config"
        name="Psalm for Cleantalk AntiSpam Protection"
        errorLevel="4"
        throwExceptionOnError="0"
        findUnusedCode="true"
        ensureArrayStringOffsetsExist="true"
        ensureArrayIntOffsetsExist="true"
        allowNamedArgumentCalls="false"
        hoistConstants="true"
        phpVersion="5.6"
        hideExternalErrors="true"
        xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
        limitMethodComplexity="true"
>
    <projectFiles>
        <directory name="./"/>
        <ignoreFiles allowMissingFiles="true">
            <directory name="vendor"/>
            <directory name="tests"/>
        </ignoreFiles>
    </projectFiles>

    <issueHandlers>
        <MissingPropertyType errorLevel="suppress"/>
        <UnusedClass>
            <errorLevel type="suppress">
                <directory name="./"/>
            </errorLevel>
        </UnusedClass>
        <InvalidGlobal>
            <errorLevel type="suppress">
            </errorLevel>
        </InvalidGlobal>
        <UnusedVariable>
            <errorLevel type="suppress">
            </errorLevel>
        </UnusedVariable>
        <PossiblyUnusedProperty>
            <errorLevel type="suppress">
                <directory name="./"/>
            </errorLevel>
        </PossiblyUnusedProperty>
        <PossiblyUnusedMethod>
            <errorLevel type="suppress">
                <directory name="./"/>
            </errorLevel>
        </PossiblyUnusedMethod>
    </issueHandlers>

</psalm>
