Files
Kamil Kokot 4737051992 Fix CI: update matrix to Symfony 7.4, fix Psalm template param
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
2026-06-12 12:10:04 +02:00

82 lines
2.8 KiB
XML

<?xml version="1.0"?>
<psalm
errorLevel="4"
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>
<InvalidAttribute>
<errorLevel type="suppress">
<file name="src/Mink/MinkParameters.php" />
</errorLevel>
</InvalidAttribute>
<InvalidOperand>
<errorLevel type="suppress">
<file name="src/ServiceContainer/SymfonyExtension.php" />
</errorLevel>
</InvalidOperand>
<InvalidReturnStatement>
<errorLevel type="suppress">
<file name="src/Context/Environment/InitializedSymfonyExtensionEnvironment.php" />
</errorLevel>
</InvalidReturnStatement>
<InvalidReturnType>
<errorLevel type="suppress">
<file name="src/Context/Environment/InitializedSymfonyExtensionEnvironment.php" />
</errorLevel>
</InvalidReturnType>
<MissingTemplateParam>
<errorLevel type="suppress">
<file name="src/Mink/MinkParameters.php" />
</errorLevel>
</MissingTemplateParam>
<!-- Workaround for https://github.com/vimeo/psalm/issues/7026 -->
<ReservedWord>
<errorLevel type="suppress">
<directory name="src" />
</errorLevel>
</ReservedWord>
<UndefinedClass>
<errorLevel type="suppress">
<referencedClass name="Symfony\Component\BrowserKit\AbstractBrowser" />
<referencedClass name="Symfony\Component\BrowserKit\Client" />
<referencedClass name="Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator" />
</errorLevel>
</UndefinedClass>
<UndefinedInterfaceMethod>
<errorLevel type="suppress">
<file name="src/ServiceContainer/SymfonyExtension.php" />
</errorLevel>
</UndefinedInterfaceMethod>
<UnusedForeachValue>
<errorLevel type="suppress">
<file name="src/Bundle/DependencyInjection/FriendsOfBehatSymfonyExtensionExtension.php" />
<file name="src/ServiceContainer/SymfonyExtension.php" />
</errorLevel>
</UnusedForeachValue>
<UnusedMethodCall>
<errorLevel type="suppress">
<file name="src/ServiceContainer/SymfonyExtension.php" />
</errorLevel>
</UnusedMethodCall>
</issueHandlers>
</psalm>