<?xml version="1.0"?>
<psalm
    totallyTyped="false"
    allowPhpStormGenerics="true"
    rememberPropertyAssignmentsAfterCall="false"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="https://getpsalm.org/schema/config file://./tools/03_psalm/vendor/vimeo/psalm/config.xsd"
>
    <projectFiles>
        <directory name="src/" />
        <directory name="tests/" />

        <ignoreFiles>
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <plugins>
        <pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin" />
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
    </plugins>

    <issueHandlers>
        <PropertyNotSetInConstructor>
            <errorLevel type="suppress">
                <referencedProperty name="App\Entity\UserGroup::$role" />
            </errorLevel>
        </PropertyNotSetInConstructor>
    </issueHandlers>
</psalm>

<?xml version="1.0"?>
<psalm
    totallyTyped="false"
    allowPhpStormGenerics="true"
    rememberPropertyAssignmentsAfterCall="false"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xmlns="https://getpsalm.org/schema/config"
    xsi:schemaLocation="https://getpsalm.org/schema/config file://./tools/03_psalm/vendor/vimeo/psalm/config.xsd"
    phpVersion="8.0"
>
    <projectFiles>
        <directory name="src/" />
        <directory name="tests/" />

        <ignoreFiles>
            <directory name="vendor" />
        </ignoreFiles>
    </projectFiles>

    <plugins>
        <pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin" />
        <pluginClass class="Psalm\PhpUnitPlugin\Plugin" />
    </plugins>

    <issueHandlers>
        <PropertyNotSetInConstructor>
            <errorLevel type="suppress">
                <referencedProperty name="App\Entity\UserGroup::$role" />
            </errorLevel>
        </PropertyNotSetInConstructor>
    </issueHandlers>
</psalm>

Use PHP version 8.0 with Psalm
Use PHP version 8.0 with Psalm
