-
Notifications
You must be signed in to change notification settings - Fork 8
/
baseline.xml
73 lines (73 loc) · 2.52 KB
/
baseline.xml
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
62
63
64
65
66
67
68
69
70
71
72
73
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.20.0@3f284e96c9d9be6fe6b15c79416e1d1903dcfef4">
<file src="src/Contract/Result/OutputResult.php">
<InvalidReturnStatement>
<code><![CDATA[array_key_exists($type, $this->rules) ? array_values($this->rules[$type]) : []]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[list<T>]]></code>
</InvalidReturnType>
</file>
<file src="src/Core/Ast/AstMap/ClassLike/ClassLikeToken.php">
<ArgumentTypeCoercion>
<code>$pattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Ast/AstMap/Function/FunctionToken.php">
<ArgumentTypeCoercion>
<code>$pattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Ast/Parser/TypeScope.php">
<RiskyTruthyFalsyComparison>
<code>$alias</code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/Core/Layer/Collector/BoolCollector.php">
<RiskyTruthyFalsyComparison>
<code><![CDATA[!$configuration['must']]]></code>
<code><![CDATA[!$configuration['must_not']]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/Core/Layer/Collector/ComposerFilesParser.php">
<InvalidReturnStatement>
<code>$lockedPackages</code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[array<string, array{
* autoload?: array{'psr-0'?: array<string, string>, 'psr-4'?: array<string, string>},
* autoload-dev?: array{'psr-0'?: array<string, string>, 'psr-4'?: array<string, string>},
* }>]]></code>
</InvalidReturnType>
</file>
<file src="src/Core/Layer/Collector/DirectoryCollector.php">
<ArgumentTypeCoercion>
<code>$validatedPattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Layer/Collector/GlobCollector.php">
<ArgumentTypeCoercion>
<code>$validatedPattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Layer/Collector/MethodCollector.php">
<ArgumentTypeCoercion>
<code>$pattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Layer/Collector/RegexCollector.php">
<ArgumentTypeCoercion>
<code>$pattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Core/Layer/Collector/TagValueRegexCollector.php">
<ArgumentTypeCoercion>
<code>$pattern</code>
</ArgumentTypeCoercion>
</file>
<file src="src/Supportive/Console/Command/DebugLayerRunner.php">
<RiskyTruthyFalsyComparison>
<code>$layer</code>
</RiskyTruthyFalsyComparison>
</file>
</files>