-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
psalm.xml
47 lines (45 loc) · 1.86 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
<?xml version="1.0"?>
<psalm
errorLevel="3"
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"/>
</projectFiles>
<issueHandlers>
<UndefinedFunction>
<errorLevel type="suppress">
<referencedFunction name="array_insert"/>
</errorLevel>
</UndefinedFunction>
<InternalMethod>
<errorLevel type="suppress">
<referencedMethod name="Contao\CoreBundle\Framework\Adapter::__call"/>
<referencedMethod name="Contao\CoreBundle\Framework\ContaoFramework::initialize"/>
<referencedMethod name="Contao\CoreBundle\Framework\ContaoFramework::getAdapter"/>
</errorLevel>
</InternalMethod>
<DeprecatedMethod>
<errorLevel type="suppress">
<referencedMethod name="Contao\Controller::addImageToTemplate"/>
<!-- Deprecated in doctrine/dbal 3, we also support ^2.11 -->
<referencedMethod name="Doctrine\DBAL\Connection::getSchemaManager"/>
<referencedMethod name="Doctrine\DBAL\Query\QueryBuilder::execute"/>
</errorLevel>
</DeprecatedMethod>
</issueHandlers>
<universalObjectCrates>
<class name="Contao\BackendTemplate"/>
<class name="Contao\ContentModel"/>
<class name="Contao\Database\Result"/>
<class name="Contao\FormFieldModel"/>
<class name="Contao\Model"/>
<class name="Contao\ModuleModel"/>
<class name="Contao\ModuleNews"/>
<class name="Contao\Template"/>
<class name="Contao\ThemeModel"/>
</universalObjectCrates>
</psalm>