forked from realodix/urlhub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpsalm.xml.dist
44 lines (42 loc) · 1.45 KB
/
psalm.xml.dist
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
<?xml version="1.0"?>
<psalm
xmlns="https://getpsalm.org/schema/config"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="https://getpsalm.org/schema/config config.xsd"
errorLevel="4"
errorBaseline="psalm-baseline.xml"
findUnusedPsalmSuppress="true"
reportMixedIssues="false"
cacheDirectory="./.tmp/psalm"
>
<projectFiles>
<directory name="app"/>
<directory name="database/factories"/>
<directory name="database/seeders"/>
<ignoreFiles>
<directory name="vendor" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- Psalm doesn't understand PowerGrid very well
The code is according to the documentation https://livewire-powergrid.com/#/table/datasource-->
<PropertyNotSetInConstructor>
<errorLevel type="suppress">
<directory name="app/Http/Livewire" />
</errorLevel>
</PropertyNotSetInConstructor>
<InvalidReturnStatement>
<errorLevel type="suppress">
<directory name="app/Http/Livewire" />
</errorLevel>
</InvalidReturnStatement>
<InvalidReturnType>
<errorLevel type="suppress">
<directory name="app/Http/Livewire" />
</errorLevel>
</InvalidReturnType>
</issueHandlers>
<plugins>
<pluginClass class="Psalm\LaravelPlugin\Plugin"/>
</plugins>
</psalm>