Passed
Branch master (89a0e8)
by
unknown
06:01
created
Dramiel.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -199,7 +199,7 @@
 block discarded – undo
199 199
                         clearQueuedMessages($id);
200 200
                         continue;
201 201
                     }
202
-                    $channel = $guild->channels->get('id', (int)$queuedMessage['channel']);
202
+                    $channel = $guild->channels->get('id', (int) $queuedMessage['channel']);
203 203
                     //Check if channel is bad
204 204
                     if (null === $channel) {
205 205
                         $logger->addInfo("QueueProcessing Error- Item #{$id} : Channel provided is incorrect, removing it from the queue");
Please login to merge, or discard this patch.
src/plugins/onTick/evemails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@
 block discarded – undo
112 112
         $cacheClr = $baseUnix - 13500;
113 113
 
114 114
         //Set timer for next key based on number of keys
115
-        $nextKey = (1900 / (int)$this->numberOfKeys) + time();
115
+        $nextKey = (1900 / (int) $this->numberOfKeys) + time();
116 116
         $nextKeyTime = gmdate('Y-m-d H:i:s', $nextKey);
117 117
         setPermCache('mailLastChecked', $nextKey);
118 118
 
Please login to merge, or discard this patch.
src/plugins/onTick/notifications.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -125,7 +125,7 @@
 block discarded – undo
125 125
                 $this->fuelChannel = $this->toDiscordChannel;
126 126
             }
127 127
             //Set timer for next key based on number of keys
128
-            $nextKey = (1900 / (int)$this->numberOfKeys) + time();
128
+            $nextKey = (1900 / (int) $this->numberOfKeys) + time();
129 129
             $nextKeyTime = gmdate('Y-m-d H:i:s', $nextKey);
130 130
             setPermCache('notificationsLastChecked', $nextKey);
131 131
             //Set cache timer for api key
Please login to merge, or discard this patch.
src/plugins/admin/setAvatar.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@
 block discarded – undo
71 71
             $roles = $member->roles;
72 72
             foreach ($roles as $role) {
73 73
                 if (in_array(strtolower($role->name), $adminRoles, true)) {
74
-                    $avatarURL = strtolower((string)$data['messageString']);
74
+                    $avatarURL = strtolower((string) $data['messageString']);
75 75
                     $ch = curl_init($avatarURL);
76 76
                     if (substr($avatarURL, -4) === '.jpg') {
77 77
                         $fp = fopen('/tmp/avatar.jpg', 'wb');
Please login to merge, or discard this patch.