-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathpsalm.xml
50 lines (49 loc) · 1.95 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<?xml version="1.0"?>
<psalm
errorLevel="7"
hideExternalErrors="true"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="https://getpsalm.org/schema/config"
xsi:schemaLocation="https://getpsalm.org/schema/config https://getpsalm.org/schema/config"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<TooManyArguments>
<errorLevel type="suppress">
<referencedFunction name="Symfony\Contracts\EventDispatcher\EventDispatcherInterface::dispatch"/>
</errorLevel>
</TooManyArguments>
<InternalMethod>
<errorLevel type="suppress">
<referencedMethod name="Contao\CoreBundle\Framework\Adapter::__call"/>
<referencedMethod name="Contao\CoreBundle\Framework\ContaoFramework::initialize"/>
<referencedMethod name="Contao\CoreBundle\Framework\ContaoFramework::createInstance"/>
<referencedMethod name="Contao\CoreBundle\Framework\ContaoFramework::getAdapter"/>
</errorLevel>
</InternalMethod>
<UndefinedMagicPropertyFetch>
<errorLevel type="suppress">
<referencedProperty name="Contao\DataContainer::$activeRecord"/>
</errorLevel>
</UndefinedMagicPropertyFetch>
<DeprecatedClass>
<errorLevel type="suppress">
<referencedClass name="Symfony\Component\Security\Core\Security"/>
</errorLevel>
</DeprecatedClass>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Contao\BackendUser::hasAccess"/>
</errorLevel>
</DeprecatedMethod>
</issueHandlers>
<universalObjectCrates>
<class name="Contao\Database\Result"/>
<class name="Contao\Model"/>
</universalObjectCrates>
</psalm>