Passed
Push — master ( 6acf27...7f51e1 )
by
unknown
04:09 queued 01:30
created
src/Helper/ConfigReader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $configPath = require self::getBasePath() . 'config/mailer.php';
16 16
 
17
-        if (! is_array($configPath)) {
17
+        if (!is_array($configPath)) {
18 18
             throw new Exception('The configuration format is invalid. It must be an array!');
19 19
         }
20 20
 
Please login to merge, or discard this patch.
src/Queue/Backend/Redis/RedisMailJob.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     use EventHandlerTrait;
11 11
 
12 12
 /**
13
-     * @var int the unix timestamp the job should be processed
14
-     */
13
+ * @var int the unix timestamp the job should be processed
14
+ */
15 15
 
16 16
 
17 17
     private $timeToSend;
Please login to merge, or discard this patch.
src/Queue/Backend/Redis/RedisQueueStoreAdapter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -157,7 +157,7 @@
 block discarded – undo
157 157
     protected function migrateJobs($from, $to)
158 158
     {
159 159
         $options = ['cas' => true, 'watch' => $from, 'retry' => 10];
160
-        $this->getConnection()->getInstance()->transaction($options, function ($transaction) use ($from, $to) {
160
+        $this->getConnection()->getInstance()->transaction($options, function($transaction) use ($from, $to) {
161 161
 
162 162
                 $time = time();
163 163
         // First we need to get all of jobs that have expired based on the current time
Please login to merge, or discard this patch.
src/Queue/Backend/Pdo/PdoMailJob.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,8 @@
 block discarded – undo
10 10
     use EventHandlerTrait;
11 11
 
12 12
 /**
13
-     * State new.
14
-     */
13
+ * State new.
14
+ */
15 15
 
16 16
 
17 17
     const STATE_NEW = 'N';
Please login to merge, or discard this patch.
src/Queue/Backend/Pdo/PdoQueueStoreConnection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
 
21 21
     protected function defineConnectionString()
22 22
     {
23
-        if (! isset($this->configuration['dsn'])) {
23
+        if (!isset($this->configuration['dsn'])) {
24 24
             $this->configuration['dsn'] = sprintf("mysql:host=%s;dbname=%s;port=%s", $this->configuration['host'] ?? '', $this->configuration['db'] ?? '', $this->configuration['port'] ?? 3306);
25 25
         }
26 26
     }
Please login to merge, or discard this patch.
src/Queue/Backend/RabbitMq/RabbitMqQueueConnection.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@
 block discarded – undo
28 28
      */
29 29
     public function connect()
30 30
     {
31
-        if (! is_null($this->connection)) {
31
+        if (!is_null($this->connection)) {
32 32
             $this->disconnect();
33 33
         }
34 34
 
Please login to merge, or discard this patch.
src/Queue/Cli/MailMessageWorker.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,8 +12,8 @@
 block discarded – undo
12 12
     use EventHandlerTrait;
13 13
 
14 14
 /**
15
-     * @var Mailer instance to the send the mails
16
-     */
15
+ * @var Mailer instance to the send the mails
16
+ */
17 17
 
18 18
 
19 19
     private $mailer;
Please login to merge, or discard this patch.
src/Builder/MessageBuilder.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
      */
88 88
     protected static function setCc(MailMessage $mailMessage, Email $message)
89 89
     {
90
-        if (! is_null($mailMessage->cc)) {
90
+        if (!is_null($mailMessage->cc)) {
91 91
             self::setEmail($mailMessage->cc, 'cc', $message);
92 92
         }
93 93
     }
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
      */
100 100
     protected static function setBcc(MailMessage $mailMessage, Email $message)
101 101
     {
102
-        if (! is_null($mailMessage->bcc)) {
102
+        if (!is_null($mailMessage->bcc)) {
103 103
             self::setEmail($mailMessage->bcc, 'bcc', $message);
104 104
         }
105 105
     }
Please login to merge, or discard this patch.