forked from jobbyphp/jobby
-
Notifications
You must be signed in to change notification settings - Fork 1
/
psalm-baseline.xml
111 lines (111 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
101
102
103
104
105
106
107
108
109
110
111
<?xml version="1.0" encoding="UTF-8"?>
<files psalm-version="5.13.1@086b94371304750d1c673315321a55d15fc59015">
<file src="resources/jobby-pdo.php">
<MixedArgument>
<code>$job</code>
<code>$jobName</code>
<code>$job['command']</code>
</MixedArgument>
<MixedArgumentTypeCoercion>
<code>$job</code>
</MixedArgumentTypeCoercion>
<MixedAssignment>
<code>$job</code>
<code>$jobName</code>
<code>$job['closure']</code>
</MixedAssignment>
</file>
<file src="src/BackgroundJob.php">
<MixedArgument>
<code><![CDATA[$this->config['closure']]]></code>
<code><![CDATA[$this->config['dateFormat']]]></code>
<code><![CDATA[$this->config['environment']]]></code>
<code><![CDATA[$this->config['runOnHost']]]></code>
</MixedArgument>
<MixedAssignment>
<code>$command</code>
<code>$command</code>
<code>$haltDir</code>
<code>$maxRuntime</code>
<code>$runAs</code>
</MixedAssignment>
<MixedFunctionCall>
<code>$command()</code>
</MixedFunctionCall>
<MixedOperand>
<code>$haltDir</code>
</MixedOperand>
<PossiblyUndefinedArrayOffset>
<code>$_SERVER['REQUEST_TIME']</code>
</PossiblyUndefinedArrayOffset>
</file>
<file src="src/Helper.php">
<MixedArgument>
<code>$config['recipients']</code>
<code>$config['smtpHost']</code>
<code>$config['smtpPassword']</code>
<code>$config['smtpPort']</code>
<code>$config['smtpSecurity']</code>
<code>$config['smtpSender']</code>
<code>$config['smtpUsername']</code>
</MixedArgument>
<MixedArrayOffset>
<code><![CDATA[[$config['smtpSender'] => $config['smtpSenderName']]]]></code>
</MixedArrayOffset>
<MixedInferredReturnType>
<code>\Swift_Mailer</code>
</MixedInferredReturnType>
<RedundantConditionGivenDocblockType>
<code><![CDATA[$this->lockHandles[$lockFile]]]></code>
</RedundantConditionGivenDocblockType>
<UndefinedClass>
<code>\Swift_MailTransport</code>
</UndefinedClass>
</file>
<file src="src/Jobby.php">
<MixedArgument>
<code>$config['closure']</code>
<code>$config['schedule']</code>
</MixedArgument>
</file>
<file src="src/ScheduleChecker.php">
<DeprecatedMethod>
<code>CronExpression::factory($schedule)</code>
</DeprecatedMethod>
</file>
<file src="tests/BackgroundJobTest.php">
<MixedArgument>
<code>$config['closure']</code>
</MixedArgument>
<MixedOperand>
<code>static::JOB_NAME</code>
</MixedOperand>
<PossiblyFalseArgument>
<code><![CDATA[$this->getLogContent()]]></code>
</PossiblyFalseArgument>
</file>
<file src="tests/ExceptionTest.php">
<RedundantCondition>
<code>assertTrue</code>
</RedundantCondition>
</file>
<file src="tests/HelperTest.php">
<InvalidArgument>
<code><![CDATA[$mail->getSender()]]></code>
</InvalidArgument>
<MixedArgument>
<code><![CDATA[$mail->getFrom()]]></code>
<code><![CDATA[$mail->getFrom()]]></code>
<code><![CDATA[$mail->getFrom()]]></code>
</MixedArgument>
</file>
<file src="tests/JobbyTest.php">
<MixedAssignment>
<code>$closure</code>
<code>$wrapper</code>
</MixedAssignment>
<MixedMethodCall>
<code>getClosure</code>
</MixedMethodCall>
</file>
</files>