-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm-baseline.xml
103 lines (103 loc) · 4.48 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.25.0@01a8eb06b9e9cc6cfb6a320bf9fb14331919d505">
<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/PropertyResolver/AssociationResolver.php">
<InternalClass>
<code><![CDATA[PropertyReadInfo::TYPE_METHOD]]></code>
<code><![CDATA[PropertyReadInfo::TYPE_PROPERTY]]></code>
</InternalClass>
<InternalMethod>
<code><![CDATA[getName]]></code>
<code><![CDATA[getName]]></code>
<code><![CDATA[getType]]></code>
</InternalMethod>
</file>
<file src="src/Cache/PropertyResolver/MethodResolver.php">
<InternalClass>
<code><![CDATA[PropertyReadInfo::TYPE_METHOD]]></code>
</InternalClass>
<InternalMethod>
<code><![CDATA[getName]]></code>
<code><![CDATA[getType]]></code>
</InternalMethod>
</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>