-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathpsalm.xml
More file actions
54 lines (53 loc) · 2.32 KB
/
Copy pathpsalm.xml
File metadata and controls
54 lines (53 loc) · 2.32 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
<?xml version="1.0"?>
<psalm
errorLevel="1"
resolveFromConfigFile="true"
findUnusedVariablesAndParams="false"
findUnusedCode="false"
phpVersion="8.1.0"
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"
errorBaseline="psalm-baseline.xml"
>
<projectFiles>
<directory name="src"/>
<ignoreFiles>
<directory name="vendor"/>
</ignoreFiles>
</projectFiles>
<issueHandlers>
<!-- Legacy SDK: dynamic property hydration from API payloads -->
<MissingConstructor errorLevel="suppress"/>
<!-- Typed class constants (PHP 8.3+ syntax); SDK stays PHP 8.1-compatible until min is raised -->
<MissingClassConstType errorLevel="suppress"/>
<PropertyNotSetInConstructor errorLevel="suppress"/>
<UnusedClass errorLevel="suppress"/>
<PossiblyUnusedMethod errorLevel="suppress"/>
<ClassMustBeFinal errorLevel="suppress"/>
<MissingOverrideAttribute errorLevel="suppress"/>
<LessSpecificReturnType errorLevel="info"/>
<MissingClosureReturnType errorLevel="info"/>
<!-- Incremental typing: keep CI green while improving annotations over time -->
<MissingPropertyType errorLevel="info"/>
<MissingParamType errorLevel="info"/>
<MissingReturnType errorLevel="info"/>
<MixedArgument errorLevel="info"/>
<MixedAssignment errorLevel="info"/>
<MixedOperand errorLevel="info"/>
<MixedArrayAccess errorLevel="info"/>
<MixedArrayOffset errorLevel="info"/>
<MixedReturnStatement errorLevel="info"/>
<MixedPropertyFetch errorLevel="info"/>
<MixedMethodCall errorLevel="info"/>
<MixedArgumentTypeCoercion errorLevel="info"/>
<MixedPropertyTypeCoercion errorLevel="info"/>
<RiskyTruthyFalsyComparison errorLevel="info"/>
<LessSpecificReturnStatement errorLevel="info"/>
<MoreSpecificReturnType errorLevel="info"/>
<MoreSpecificImplementedParamType errorLevel="info"/>
<LessSpecificImplementedReturnType errorLevel="info"/>
<DocblockTypeContradiction errorLevel="info"/>
<ImplicitToStringCast errorLevel="info"/>
</issueHandlers>
</psalm>