Passed
Branch master (334f84)
by
unknown
03:14
created
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.
Dramiel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -55,7 +55,7 @@  discard block
 block discarded – undo
55 55
 GLOBAL $logger;
56 56
 
57 57
 //Check we are not running on a 32bit platform
58
-if(PHP_INT_SIZE == 4)
58
+if (PHP_INT_SIZE == 4)
59 59
 {
60 60
 	$logger->error('32bit PHP found, if you are running a 64bit OS please install 64bit PHP');
61 61
 	die();
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
                         clearQueuedMessages($id);
207 207
                         continue;
208 208
                     }
209
-                    $channel = $guild->channels->get('id', (int)$queuedMessage['channel']);
209
+                    $channel = $guild->channels->get('id', (int) $queuedMessage['channel']);
210 210
                     //Check if channel is bad
211 211
                     if (null === $channel) {
212 212
                         $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/getKillmails.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -197,7 +197,7 @@
 block discarded – undo
197 197
                 if ($i < 10) {
198 198
                     $killID = $kill['killID'];
199 199
                     //check if mail is old
200
-                    if ((int)$killID <= (int)$oldID) {
200
+                    if ((int) $killID <= (int) $oldID) {
201 201
                         continue;
202 202
                     }
203 203
                     //save highest killID for cache
Please login to merge, or discard this patch.
src/plugins/onTick/authCheck.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -192,7 +192,7 @@  discard block
 block discarded – undo
192 192
 					if ($timeout > 9) {
193 193
 						continue;
194 194
 					}
195
-					else{
195
+					else {
196 196
 						$character = characterDetails($charID);
197 197
 						$timeout++;
198 198
 					}
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 					if ($timeout > 9) {
205 205
 						continue;
206 206
 					}
207
-					else{
207
+					else {
208 208
 						$corporationDetails = corpDetails($corporationID);
209 209
 						$timeout++;
210 210
 					}
@@ -392,7 +392,7 @@  discard block
 block discarded – undo
392 392
 						if ($timeout > 9) {
393 393
 							continue;
394 394
 						}
395
-						else{
395
+						else {
396 396
 							$character = characterDetails($charID);
397 397
 							$timeout++;
398 398
 						}
Please login to merge, or discard this patch.