-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathpsalm-baseline.xml
83 lines (83 loc) · 3.8 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Cache/Configuration/CachedConfigurationLoader.php">
<MixedArgument>
<code><![CDATA[require $cache->getPath()]]></code>
</MixedArgument>
<UnresolvableInclude>
<code><![CDATA[require $cache->getPath()]]></code>
</UnresolvableInclude>
</file>
<file src="src/Cache/RouteMetadata/AttributeMetadataProvider.php">
<PossiblyUndefinedArrayOffset>
<code><![CDATA[$method]]></code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/Cache/RouteMetadata/YamlMetadataProvider.php">
<ArgumentTypeCoercion>
<code><![CDATA[$this->buildRouteParam(...)]]></code>
<code><![CDATA[(array) $value]]></code>
<code><![CDATA[(array) $value]]></code>
<code><![CDATA[(array) $value]]></code>
<code><![CDATA[(array) $value]]></code>
</ArgumentTypeCoercion>
<InvalidArgument>
<code><![CDATA[$value]]></code>
</InvalidArgument>
<PossiblyInvalidArgument>
<code><![CDATA[$value]]></code>
<code><![CDATA[(array) $value]]></code>
<code><![CDATA[(array) $value]]></code>
</PossiblyInvalidArgument>
</file>
<file src="src/Command/DebugCommand.php">
<InvalidArgument>
<code><![CDATA[$params]]></code>
</InvalidArgument>
<TypeDoesNotContainType>
<code><![CDATA[Kernel::MAJOR_VERSION === 6]]></code>
<code><![CDATA[Kernel::MAJOR_VERSION === 6]]></code>
</TypeDoesNotContainType>
</file>
<file src="src/DependencyInjection/PurgatoryExtension.php">
<ArgumentTypeCoercion>
<code><![CDATA[static function (ChildDefinition $definition, AsExpressionLanguageFunction $attribute, \ReflectionClass|\ReflectionMethod $reflection): void {
$definition->addTag(
name: 'purgatory.expression_language_function',
attributes: [
'function' => $attribute->functionName,
'method' => $reflection instanceof \ReflectionMethod
? $reflection->name
: ($reflection->hasMethod('__invoke') ? '__invoke'
: throw new RuntimeException(\sprintf('Invalid expression language function, the method "%s::__invoke()" does not exist.', $reflection->name))),
],
);
}]]></code>
<code><![CDATA[static function (ChildDefinition $definition, AsRouteParamService $attribute, \ReflectionClass|\ReflectionMethod $reflection): void {
$definition->addTag(
name: 'purgatory.route_parameter_service',
attributes: [
'alias' => $attribute->alias,
'method' => $reflection instanceof \ReflectionMethod
? $reflection->name
: ($reflection->hasMethod('__invoke') ? '__invoke'
: throw new RuntimeException(\sprintf('Invalid route parameter service, the method "%s::__invoke()" does not exist.', $reflection->name))),
],
);
}]]></code>
<code><![CDATA[static function (ChildDefinition $definition, PurgeOn $attribute, \ReflectionClass|\ReflectionMethod $reflection): void {
$definition->addTag(
name: 'purgatory.purge_on',
attributes: [
'class' => $reflection instanceof \ReflectionMethod ? $reflection->class : $reflection->name,
],
);
}]]></code>
</ArgumentTypeCoercion>
</file>
<file src="src/Doctrine/DBAL/PurgatoryConnection.php">
<DuplicateClass>
<code><![CDATA[PurgatoryConnection]]></code>
</DuplicateClass>
</file>
</files>