forked from contao/contao
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml
36 lines (35 loc) · 1.31 KB
/
psalm.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<!--
Depending on the installed PHP version, Composer will allow packages using
PHP 7.4 or 8.0 syntax. Psalm, however, will use the minimum PHP version defined
in the composer.json for its parser (which is currently PHP 7.2), therefore we
have to specify "7.4" here to make Psalm understand arrow functions.
@see https://github.com/laminas/laminas-code/issues/67
-->
<psalm
errorLevel="7"
phpVersion="7.4"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config tools/psalm/vendor/vimeo/psalm/config.xsd"
>
<projectFiles>
<directory name="core-bundle/src"/>
<directory name="core-bundle/tests"/>
<ignoreFiles>
<directory name="core-bundle/src/Resources"/>
<directory name="core-bundle/tests/Fixtures"/>
</ignoreFiles>
</projectFiles>
<plugins>
<pluginClass class="Psalm\PhpUnitPlugin\Plugin"/>
<pluginClass class="Psalm\SymfonyPsalmPlugin\Plugin"/>
</plugins>
<issueHandlers>
<UndefinedTrait>
<errorLevel type="suppress">
<file name="vendor/symfony/phpunit-bridge/ExpectDeprecationTrait.php"/>
</errorLevel>
</UndefinedTrait>
</issueHandlers>
</psalm>