generated from ghostwriter/wip
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
psalm-baseline.xml
145 lines (145 loc) · 4.83 KB
/
psalm-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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Console/Command/HandrailCommand.php">
<PossiblyNullArgument>
<code><![CDATA[$name]]></code>
<code><![CDATA[InstalledVersions::getPrettyVersion(Handrail::PACKAGE_NAME)]]></code>
</PossiblyNullArgument>
<PossiblyUnusedMethod>
<code><![CDATA[__construct]]></code>
</PossiblyUnusedMethod>
</file>
<file src="src/Console/InputOutput.php">
<PossiblyUnusedMethod>
<code><![CDATA[__construct]]></code>
<code><![CDATA[iterate]]></code>
</PossiblyUnusedMethod>
</file>
<file src="src/EventDispatcher/Event/ComposerPostInstall.php">
<PossiblyUnusedMethod>
<code><![CDATA[event]]></code>
</PossiblyUnusedMethod>
</file>
<file src="src/EventDispatcher/Event/ComposerPostUpdate.php">
<PossiblyUnusedMethod>
<code><![CDATA[event]]></code>
</PossiblyUnusedMethod>
</file>
<file src="src/EventDispatcher/Listener/ComposerPostInstallListener.php">
<MissingThrowsDocblock>
<code><![CDATA[run]]></code>
</MissingThrowsDocblock>
<PossiblyUnusedMethod>
<code><![CDATA[__construct]]></code>
</PossiblyUnusedMethod>
<UnusedParam>
<code><![CDATA[$composerPostInstall]]></code>
</UnusedParam>
</file>
<file src="src/EventDispatcher/Listener/ComposerPostUpdateListener.php">
<MissingThrowsDocblock>
<code><![CDATA[run]]></code>
</MissingThrowsDocblock>
<PossiblyUnusedMethod>
<code><![CDATA[__construct]]></code>
</PossiblyUnusedMethod>
<UnusedParam>
<code><![CDATA[$composerPostUpdate]]></code>
</UnusedParam>
</file>
<file src="src/Handrail.php">
<MoreSpecificImplementedParamType>
<code><![CDATA[$files]]></code>
</MoreSpecificImplementedParamType>
<PossiblyUnusedMethod>
<code><![CDATA[__construct]]></code>
</PossiblyUnusedMethod>
<UnusedProperty>
<code><![CDATA[$eventDispatcher]]></code>
</UnusedProperty>
</file>
<file src="src/Modifier/FunctionDeclarationModifier.php">
<UnusedVariable>
<code><![CDATA[$previousToken]]></code>
</UnusedVariable>
</file>
<file src="src/Plugin.php">
<MixedAssignment>
<code><![CDATA[$commands]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[getCommands]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[$commands ??= [$this->container->get(HandrailCommand::class)]]]></code>
<code><![CDATA[$commands ??= [$this->container->get(HandrailCommand::class)]]]></code>
</MixedReturnStatement>
<UnusedClass>
<code><![CDATA[Plugin]]></code>
</UnusedClass>
</file>
<file src="src/Value/File/ModifiedFile.php">
<LessSpecificReturnStatement>
<code><![CDATA[$this->path->__toString()]]></code>
</LessSpecificReturnStatement>
</file>
<file src="src/Value/File/ModifiedFileInterface.php">
<PossiblyUnusedReturnValue>
<code><![CDATA[OriginalFileInterface]]></code>
</PossiblyUnusedReturnValue>
</file>
<file src="src/Value/File/OriginalFile.php">
<ImplicitToStringCast>
<code><![CDATA[$path]]></code>
</ImplicitToStringCast>
<InvalidMethodCall>
<code><![CDATA[__toString]]></code>
</InvalidMethodCall>
<InvalidReturnStatement>
<code><![CDATA[$this->path]]></code>
</InvalidReturnStatement>
<InvalidReturnType>
<code><![CDATA[PathInterface]]></code>
</InvalidReturnType>
<MismatchingDocblockParamType>
<code><![CDATA[non-empty-string]]></code>
</MismatchingDocblockParamType>
<MismatchingDocblockPropertyType>
<code><![CDATA[non-empty-string]]></code>
</MismatchingDocblockPropertyType>
<MixedReturnStatement>
<code><![CDATA[$this->path->__toString()]]></code>
</MixedReturnStatement>
</file>
<file src="src/Value/Paths.php">
<ArgumentTypeCoercion>
<code><![CDATA[$path]]></code>
</ArgumentTypeCoercion>
<LessSpecificReturnType>
<code><![CDATA[OriginalFileInterface]]></code>
</LessSpecificReturnType>
<PossiblyUnusedMethod>
<code><![CDATA[new]]></code>
</PossiblyUnusedMethod>
</file>
<file src="tests/Unit/AbstractTestCase.php">
<PossiblyNullArgument>
<code><![CDATA[self::$temporaryDirectory]]></code>
</PossiblyNullArgument>
<PossiblyNullReference>
<code><![CDATA[delete]]></code>
</PossiblyNullReference>
</file>
<file src="tests/Unit/HandrailTest.php">
<ArgumentTypeCoercion>
<code><![CDATA[$temporaryFile]]></code>
</ArgumentTypeCoercion>
<PossiblyNullReference>
<code><![CDATA[createTemporaryFile]]></code>
</PossiblyNullReference>
<TooFewArguments>
<code><![CDATA[createTemporaryFile]]></code>
<code><![CDATA[createTemporaryFile]]></code>
</TooFewArguments>
</file>
</files>