-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
psalm-baseline.xml
56 lines (56 loc) · 1.77 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.9.0@8b9ad1eb9e8b7d3101f949291da2b9f7767cd163">
<file src="src/AuthorizationMiddleware.php">
<MixedInferredReturnType>
<code>ResponseInterface</code>
<code>ResponseInterface</code>
</MixedInferredReturnType>
<MixedMethodCall>
<code>withStatus</code>
<code>withStatus</code>
</MixedMethodCall>
<MixedReturnStatement>
<code>$responseFactory()</code>
<code><![CDATA[($this->responseFactory)()->withStatus(401)]]></code>
<code><![CDATA[($this->responseFactory)()->withStatus(403)]]></code>
</MixedReturnStatement>
</file>
<file src="src/AuthorizationMiddlewareFactory.php">
<MixedArgument>
<code><![CDATA[$container->get(ResponseInterface::class)]]></code>
</MixedArgument>
</file>
<file src="test/AuthorizationMiddlewareFactoryTest.php">
<MixedAssignment>
<code>$responseFactory</code>
</MixedAssignment>
<MixedFunctionCall>
<code>$responseFactory()</code>
</MixedFunctionCall>
</file>
<file src="test/AuthorizationMiddlewareTest.php">
<MixedArgumentTypeCoercion>
<code>$roles</code>
</MixedArgumentTypeCoercion>
</file>
<file src="test/ConfigProviderTest.php">
<MissingReturnType>
<code>testInvocationReturnsArrayWithDependencies</code>
<code>testProviderDefinesExpectedFactoryServices</code>
</MissingReturnType>
<MixedArgument>
<code>$factories</code>
</MixedArgument>
<MixedAssignment>
<code>$factories</code>
</MixedAssignment>
<RedundantCondition>
<code>assertIsArray</code>
</RedundantCondition>
</file>
<file src="test/ExceptionTest.php">
<PossiblyUnusedMethod>
<code>exception</code>
</PossiblyUnusedMethod>
</file>
</files>