forked from cachethq/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsalm.xml
More file actions
48 lines (44 loc) · 1.71 KB
/
Copy pathpsalm.xml
File metadata and controls
48 lines (44 loc) · 1.71 KB
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
<?xml version="1.0"?>
<psalm
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"
errorLevel="3"
findUnusedCode="false"
ensureOverrideAttribute="false"
runTaintAnalysis="true"
>
<projectFiles>
<directory name="src"/>
<directory name="database/factories"/>
<directory name="database/seeders"/>
<directory name="config"/>
<!-- composer require psalm/plugin-phpunit psalm/plugin-mockery for the full tests support -->
<!-- <directory name="tests"/>-->
<ignoreFiles allowMissingFiles="true">
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<plugins>
<!-- All Psalm Laravel options: https://github.com/psalm/psalm-plugin-laravel/blob/master/docs/config.md -->
<pluginClass class="Psalm\LaravelPlugin\Plugin">
<resolveDynamicWhereClauses value="true" />
<findMissingTranslations value="false" />
<findMissingViews value="false" />
</pluginClass>
</plugins>
<issueHandlers>
<ClassMustBeFinal errorLevel="info"/>
<ImplicitToStringCast errorLevel="info"/>
<MissingClosureReturnType errorLevel="info"/>
<MissingImmutableAnnotation errorLevel="info"/>
<MissingOverrideAttribute errorLevel="info"/>
<RedundantCast errorLevel="info"/>
<RedundantCondition errorLevel="info"/>
<UnnecessaryVarAnnotation errorLevel="suppress"/>
</issueHandlers>
<forbiddenFunctions>
<function name="var_dump" />
<function name="dd" />
</forbiddenFunctions>
</psalm>