generated from spiral-packages/package-skeleton
-
-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpsalm-baseline.xml
100 lines (100 loc) · 3.33 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
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.26.1@d747f6500b38ac4f7dfc5edbcae6e4b637d7add0">
<file src="src/Bootloader/TemporalBridgeBootloader.php">
<MixedArgument>
<code><![CDATA[$env->get('TEMPORAL_ADDRESS', '127.0.0.1:7233')]]></code>
</MixedArgument>
</file>
<file src="src/Commands/InfoCommand.php">
<MixedArgumentTypeCoercion>
<code><![CDATA[$taskQueue]]></code>
<code><![CDATA[$taskQueue]]></code>
</MixedArgumentTypeCoercion>
<UnusedVariable>
<code><![CDATA[$class]]></code>
</UnusedVariable>
</file>
<file src="src/Commands/Scaffolder/ActivityCommand.php">
<MixedArgument>
<code><![CDATA[$method]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$method]]></code>
</MixedAssignment>
</file>
<file src="src/Commands/Scaffolder/WorkflowCommand.php">
<MixedArgument>
<code><![CDATA[$method]]></code>
<code><![CDATA[$name]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$method]]></code>
<code><![CDATA[$name]]></code>
</MixedAssignment>
</file>
<file src="src/Config/TemporalConfig.php">
<MixedArgument>
<code><![CDATA[$address]]></code>
<code><![CDATA[$clientOptions]]></code>
<code><![CDATA[$namespace]]></code>
</MixedArgument>
<MixedArrayAssignment>
<code><![CDATA[$config['clients']['default']]]></code>
</MixedArrayAssignment>
<MixedAssignment>
<code><![CDATA[$address]]></code>
<code><![CDATA[$clientOptions]]></code>
<code><![CDATA[$namespace]]></code>
</MixedAssignment>
<MixedMethodCall>
<code><![CDATA[withNamespace]]></code>
</MixedMethodCall>
</file>
<file src="src/Dispatcher.php">
<MixedArgument>
<code><![CDATA[$taskQueue]]></code>
</MixedArgument>
<MixedAssignment>
<code><![CDATA[$taskQueue]]></code>
</MixedAssignment>
<MixedInferredReturnType>
<code><![CDATA[object]]></code>
</MixedInferredReturnType>
<MixedMethodCall>
<code><![CDATA[getDeclarationList]]></code>
</MixedMethodCall>
<MixedReturnStatement>
<code><![CDATA[$this->scope->runScope(
new Scope('temporal-activity'),
static fn(FactoryInterface $factory): object => $factory->make($class->getName()),
)]]></code>
</MixedReturnStatement>
</file>
<file src="src/Scaffolder/Declaration/ActivityDeclaration.php">
<InvalidClassConstantType>
<code><![CDATA[TYPE]]></code>
</InvalidClassConstantType>
</file>
<file src="src/Scaffolder/Declaration/WorkflowDeclaration.php">
<InvalidClassConstantType>
<code><![CDATA[TYPE]]></code>
</InvalidClassConstantType>
</file>
<file src="src/WorkerFactory.php">
<MixedInferredReturnType>
<code><![CDATA[object]]></code>
</MixedInferredReturnType>
<MixedReturnStatement>
<code><![CDATA[match (true) {
\is_string($alias) => $this->factory->make($alias),
$alias instanceof Autowire => $alias->resolve($this->factory),
default => $alias,
}]]></code>
<code><![CDATA[match (true) {
\is_string($alias) => $this->factory->make($alias),
$alias instanceof Autowire => $alias->resolve($this->factory),
default => $alias,
}]]></code>
</MixedReturnStatement>
</file>
</files>