-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpsalm.xml
More file actions
49 lines (45 loc) · 1.84 KB
/
psalm.xml
File metadata and controls
49 lines (45 loc) · 1.84 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
49
<?xml version="1.0"?>
<psalm
errorLevel="6"
resolveFromConfigFile="true"
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"
findUnusedBaselineEntry="false"
findUnusedCode="false"
allowPhpStormGenerics="true"
allowStringToStandInForClass="true"
memoizeMethodCallResults="true"
>
<projectFiles>
<directory name="src" />
<ignoreFiles>
<directory name="vendor" />
<directory name="tests" />
<directory name="stubs" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<MissingOverrideAttribute errorLevel="suppress" />
<!-- Suppress Laravel compatibility issues -->
<UndefinedClass errorLevel="suppress" />
<UndefinedMethod errorLevel="suppress" />
<UndefinedConstant errorLevel="suppress" />
<!-- Allow common Laravel patterns -->
<LessSpecificReturnType errorLevel="suppress" />
<MoreSpecificReturnType errorLevel="suppress" />
<PropertyNotSetInConstructor errorLevel="suppress" />
<MissingConstructor errorLevel="suppress" />
<PossiblyNullReference errorLevel="suppress" />
<PossiblyUndefinedMethod errorLevel="suppress" />
<!-- Focus on security issues only -->
<TaintedInput errorLevel="error" />
<TaintedShell errorLevel="error" />
<TaintedSql errorLevel="error" />
<TaintedFile errorLevel="error" />
<TaintedHeader errorLevel="error" />
<TaintedHtml errorLevel="error" />
</issueHandlers>
<!-- Removed Laravel plugin due to compatibility issues with newer Laravel versions -->
<!-- Focus on security analysis without framework-specific plugins -->
</psalm>