-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpsalm-baseline.xml
61 lines (61 loc) · 2.23 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="4.23.0@f1fe6ff483bf325c803df9f510d09a03fd796f88">
<file src="src/ReflectionFactory.php">
<ArgumentTypeCoercion occurrences="1">
<code>$requestedName</code>
</ArgumentTypeCoercion>
<InvalidStringClass occurrences="1">
<code>new $requestedName(...$parameters)</code>
</InvalidStringClass>
<MissingReturnType occurrences="1">
<code>resolveParameterType</code>
</MissingReturnType>
<MixedArgument occurrences="3">
<code>$name</code>
<code>$this->resolveParameterType($container, $requestedName)</code>
<code>$type</code>
</MixedArgument>
<MixedAssignment occurrences="4">
<code>$cached</code>
<code>$name</code>
<code>$parameters[]</code>
<code>$type</code>
</MixedAssignment>
<MixedInferredReturnType occurrences="1">
<code>array</code>
</MixedInferredReturnType>
<MixedReturnStatement occurrences="1">
<code>self::$parameterCache[$requestedName]</code>
</MixedReturnStatement>
<RedundantCondition occurrences="1">
<code>$parameter->getType()</code>
</RedundantCondition>
<UndefinedMethod occurrences="1">
<code>getName</code>
</UndefinedMethod>
</file>
<file src="test/ReflectionFactoryTest.php">
<MissingReturnType occurrences="5">
<code>testCannotCreateServiceWithMissingDependency</code>
<code>testCannotCreateServiceWithoutConstructorTypeHints</code>
<code>testCreatesService</code>
<code>testCreatesServiceFromCachedDefinition</code>
<code>testGeneratesNewCache</code>
</MissingReturnType>
<MixedArrayAccess occurrences="3">
<code>$cachedDefinitions[BarService::class]</code>
<code>$cachedDefinitions[FooService::class]</code>
<code>$cachedDefinitions[QuxService::class]</code>
</MixedArrayAccess>
<MixedAssignment occurrences="1">
<code>$cachedDefinitions</code>
</MixedAssignment>
<PropertyNotSetInConstructor occurrences="2">
<code>ReflectionFactoryTest</code>
<code>ReflectionFactoryTest</code>
</PropertyNotSetInConstructor>
<UnresolvableInclude occurrences="1">
<code>include $cacheFile</code>
</UnresolvableInclude>
</file>
</files>