<commit_before><?xml version="1.0"?>
<psalm
    errorLevel="5"
    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"
    cacheDirectory="./.github/psalm/cache/"
    errorBaseline=".github/psalm/psalm.baseline.xml"
>
    <projectFiles>
        <directory name="src" />
        <ignoreFiles>
            <directory name="src/Symfony/*/*/Tests" />
            <directory name="src/Symfony/*/*/*/Tests" />
            <directory name="src/Symfony/*/*/*/*/Tests" />
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <issueHandlers>
        <UndefinedClass>
            <errorLevel type="suppress">
                <!-- Class has been added in PHP 8.1 -->
                <referencedClass name="ReflectionIntersectionType"/>
            </errorLevel>
        </UndefinedClass>
    </issueHandlers>
</psalm>
<commit_msg>Silence Psalm errors about Enum classes<commit_after><?xml version="1.0"?>
<psalm
    errorLevel="5"
    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"
    cacheDirectory="./.github/psalm/cache/"
    errorBaseline=".github/psalm/psalm.baseline.xml"
>
    <projectFiles>
        <directory name="src" />
        <ignoreFiles>
            <directory name="src/Symfony/*/*/Tests" />
            <directory name="src/Symfony/*/*/*/Tests" />
            <directory name="src/Symfony/*/*/*/*/Tests" />
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <issueHandlers>
        <UndefinedClass>
            <errorLevel type="suppress">
                <!-- These classes have been added in PHP 8.1 -->
                <referencedClass name="BackedEnum"/>
                <referencedClass name="ReflectionIntersectionType"/>
                <referencedClass name="UnitEnum"/>
            </errorLevel>
        </UndefinedClass>
    </issueHandlers>
</psalm>

{'fraction_non_alphanumeric': 0.16080402010050251, 'fraction_numerical': 0.009136592051164915, 'mean_word_length': 2.3537519142419603, 'pattern_counts': {'":': 0, '<': 45, '<?xml version=': 2, '>': 45, 'https://': 4, 'lorem ipsum': 0, 'www.': 2, 'xml': 8}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1107043', 'n_tokens_mistral': 695, 'n_tokens_neox': 653, 'n_words': 94}