-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathpsalm-baseline.xml
More file actions
83 lines (83 loc) · 2.89 KB
/
psalm-baseline.xml
File metadata and controls
83 lines (83 loc) · 2.89 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="6.16.1@f1f5de594dc76faf8784e02d3dc4716c91c6f6ac">
<file src="src/Builder.php">
<DeprecatedInterface>
<code><![CDATA[HttpClient]]></code>
</DeprecatedInterface>
<MixedArgumentTypeCoercion>
<code><![CDATA[$name]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$optionsOrService]]></code>
</MixedAssignment>
<PropertyNotSetInConstructor>
<code><![CDATA[$cache]]></code>
<code><![CDATA[$httpClient]]></code>
<code><![CDATA[$requestFactory]]></code>
</PropertyNotSetInConstructor>
<PropertyTypeCoercion>
<code><![CDATA[$httpClient]]></code>
</PropertyTypeCoercion>
<UnusedClass>
<code><![CDATA[Builder]]></code>
</UnusedClass>
</file>
<file src="src/Service/Factory.php">
<ArgumentTypeCoercion>
<code><![CDATA[$classOrCallable]]></code>
</ArgumentTypeCoercion>
<DeprecatedInterface>
<code><![CDATA[HttpClient]]></code>
</DeprecatedInterface>
<InvalidPropertyAssignmentValue>
<code><![CDATA[$requestFactory]]></code>
<code><![CDATA[$requestFactory ?: Psr17FactoryDiscovery::findRequestFactory()]]></code>
</InvalidPropertyAssignmentValue>
<LessSpecificReturnStatement>
<code><![CDATA[$r->newInstanceArgs($args)]]></code>
</LessSpecificReturnStatement>
<MixedReturnStatement>
<code><![CDATA[call_user_func($classOrCallable)]]></code>
</MixedReturnStatement>
<PossiblyNullArgument>
<code><![CDATA[$classOrCallable]]></code>
</PossiblyNullArgument>
<PossiblyUnusedMethod>
<code><![CDATA[setHttpClient]]></code>
<code><![CDATA[setRequestFactory]]></code>
</PossiblyUnusedMethod>
<PropertyTypeCoercion>
<code><![CDATA[$httpClient]]></code>
<code><![CDATA[$httpClient]]></code>
</PropertyTypeCoercion>
<UndefinedDocblockClass>
<code><![CDATA[RequestFactory]]></code>
</UndefinedDocblockClass>
<UnsafeInstantiation>
<code><![CDATA[new $classOrCallable($this->httpClient, $this->requestFactory, $args)]]></code>
</UnsafeInstantiation>
</file>
<file src="src/Service/Registry.php">
<MixedArgument>
<code><![CDATA[$class]]></code>
</MixedArgument>
<MixedArgumentTypeCoercion>
<code><![CDATA[$name]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$class]]></code>
</MixedAssignment>
<MixedReturnStatement>
<code><![CDATA[isset(self::$services[$name]) ? self::$services[$name] : null]]></code>
<code><![CDATA[isset(self::$services[$name]) ? self::$services[$name] : null]]></code>
</MixedReturnStatement>
</file>
<file src="src/Swap.php">
<MixedArgumentTypeCoercion>
<code><![CDATA[$name]]></code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code><![CDATA[$value]]></code>
</MixedAssignment>
</file>
</files>