-
-
Notifications
You must be signed in to change notification settings - Fork 7
/
psalm-baseline.xml
131 lines (131 loc) Β· 4.82 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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Bootloader/GRPCBootloader.php">
<ArgumentTypeCoercion>
<code><![CDATA[$list]]></code>
</ArgumentTypeCoercion>
<DeprecatedClass>
<code><![CDATA[CompatiblePipelineBuilder::class]]></code>
</DeprecatedClass>
<DeprecatedInterface>
<code><![CDATA[Autowire|class-string<CoreInterceptorInterface>|CoreInterceptorInterface]]></code>
</DeprecatedInterface>
<DocblockTypeContradiction>
<code><![CDATA[$container->get(CompatiblePipelineBuilder::class)]]></code>
</DocblockTypeContradiction>
<InvalidArgument>
<code><![CDATA[$listener]]></code>
</InvalidArgument>
<RedundantConditionGivenDocblockType>
<code><![CDATA[$pipelineBuilder]]></code>
</RedundantConditionGivenDocblockType>
<TooManyArguments>
<code><![CDATA[new AutowireHandler($container, false)]]></code>
</TooManyArguments>
</file>
<file src="src/Centrifugo/Dispatcher.php">
<DeprecatedClass>
<code><![CDATA[CompatiblePipelineBuilder::class]]></code>
</DeprecatedClass>
<UndefinedThisPropertyAssignment>
<code><![CDATA[$this->pipelineBuilder]]></code>
</UndefinedThisPropertyAssignment>
</file>
<file src="src/Centrifugo/Interceptor/InterceptorRegistry.php">
<DeprecatedInterface>
<code><![CDATA[$object]]></code>
<code><![CDATA[array]]></code>
</DeprecatedInterface>
<LessSpecificReturnStatement>
<code><![CDATA[\array_merge(
$this->interceptors[self::INTERCEPTORS_FOR_ALL_SERVICES] ?? [],
$this->interceptors[$type] ?? [],
)]]></code>
</LessSpecificReturnStatement>
<MoreSpecificReturnType>
<code><![CDATA[array]]></code>
</MoreSpecificReturnType>
</file>
<file src="src/Centrifugo/Interceptor/RegistryInterface.php">
<DeprecatedInterface>
<code><![CDATA[TInterceptor|TLegacyInterceptor]]></code>
<code><![CDATA[list<TInterceptor|TLegacyInterceptor>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Centrifugo/RequestHandler.php">
<DeprecatedInterface>
<code><![CDATA[RequestHandler]]></code>
</DeprecatedInterface>
</file>
<file src="src/Centrifugo/Server.php">
<DeprecatedClass>
<code><![CDATA[CompatiblePipelineBuilder::class]]></code>
</DeprecatedClass>
<PossiblyNullArgument>
<code><![CDATA[$services->getService($type)]]></code>
</PossiblyNullArgument>
</file>
<file src="src/Config/GRPCConfig.php">
<DeprecatedInterface>
<code><![CDATA[array<Autowire|class-string<InterceptorInterface>|class-string<CoreInterceptorInterface>>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Config/TcpConfig.php">
<DeprecatedInterface>
<code><![CDATA[array<non-empty-string, list<TInterceptor|TLegacyInterceptor>>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Console/Command/GRPC/GenerateCommand.php">
<PossiblyNullArgument>
<code><![CDATA[$binaryPath]]></code>
</PossiblyNullArgument>
<RedundantCondition>
<code><![CDATA[$binaryPath !== null]]></code>
<code><![CDATA[\assert($binaryPath !== null)]]></code>
</RedundantCondition>
<RiskyTruthyFalsyComparison>
<code><![CDATA[\realpath($protoFile)]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/GRPC/ProtoCompiler.php">
<RiskyTruthyFalsyComparison>
<code><![CDATA[\realpath($protoFile)]]></code>
<code><![CDATA[\realpath($this->tmpDir())]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/GRPC/ProtocCommandBuilder.php">
<RiskyTruthyFalsyComparison>
<code><![CDATA[\realpath($dir)]]></code>
<code><![CDATA[\realpath($path)]]></code>
</RiskyTruthyFalsyComparison>
</file>
<file src="src/GRPC/ServiceLocator.php">
<MoreSpecificImplementedParamType>
<code><![CDATA[$class]]></code>
</MoreSpecificImplementedParamType>
<RedundantCondition>
<code><![CDATA[$interface->isSubclassOf($className)]]></code>
</RedundantCondition>
</file>
<file src="src/Queue/Dispatcher.php">
<DeprecatedMethod>
<code><![CDATA[complete]]></code>
<code><![CDATA[fail]]></code>
<code><![CDATA[fail]]></code>
</DeprecatedMethod>
</file>
<file src="src/Tcp/Interceptor/RegistryInterface.php">
<DeprecatedInterface>
<code><![CDATA[TInterceptor|TLegacyInterceptor]]></code>
<code><![CDATA[array<CoreInterceptorInterface|InterceptorInterface>]]></code>
</DeprecatedInterface>
</file>
<file src="src/Tcp/Server.php">
<DeprecatedClass>
<code><![CDATA[CompatiblePipelineBuilder::class]]></code>
</DeprecatedClass>
<PossiblyInvalidArgument>
<code><![CDATA[$this->interceptors->getInterceptors($server)]]></code>
</PossiblyInvalidArgument>
</file>
</files>