-
Notifications
You must be signed in to change notification settings - Fork 59
Expand file tree
/
Copy pathpsalm.xml
More file actions
61 lines (59 loc) · 2.25 KB
/
psalm.xml
File metadata and controls
61 lines (59 loc) · 2.25 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
50
51
52
53
54
55
56
57
58
59
60
61
<?xml version="1.0"?>
<psalm
errorLevel="3"
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>
<ignoreFiles>
<file name="src/Task/ParallelExec.php" />
<file name="src/Task/NonParallelExecV0.php" />
<file name="src/Task/NonParallelExecV1.php" />
<file name="src/Task/RoboAdapter.php" />
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- phpqa specifics (multiple versions, compatibility classes, dynamic tools, ...) -->
<UnusedClass>
<errorLevel type="info">
<directory name="tests" />
<directory name="src/Tools/Analyzer" />
<directory name="src/Task" />
<file name="RoboFile.php" />
</errorLevel>
</UnusedClass>
<PossiblyUnusedMethod>
<errorLevel type="info">
<file name="src/CodeAnalysisTasks.php" />
<file name="src/RunningTool.php" />
</errorLevel>
</PossiblyUnusedMethod>
<PossiblyInvalidArgument>
<errorLevel type="info">
<file name="src/paths.php" />
</errorLevel>
</PossiblyInvalidArgument>
<PossiblyInvalidCast>
<errorLevel type="info">
<file name="src/paths.php" />
</errorLevel>
</PossiblyInvalidCast>
<ArgumentTypeCoercion errorLevel="info" />
<PropertyTypeCoercion errorLevel="info" />
<PossiblyFalseOperand errorLevel="info" />
<UndefinedConstant errorLevel="info" />
<UndefinedClass errorLevel="info" />
<UndefinedMethod errorLevel="info" />
<InvalidArrayOffset errorLevel="info" />
<InvalidFunctionCall errorLevel="info" />
<InvalidReturnType errorLevel="info" />
<ReservedWord errorLevel="info" />
<!-- false positive -->
<TooManyArguments>
<errorLevel type="info">
<directory name="tests" /><!-- Too many arguments for Prophecy -->
</errorLevel>
</TooManyArguments>
</issueHandlers>
</psalm>