Passed
Push — master ( 27e515...1328b4 )
by Bob
03:08
created
Dramiel.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -148,8 +148,9 @@
 block discarded – undo
148 148
         
149 149
         // Run the Tick plugins
150 150
         $ws->loop->addPeriodicTimer(1, function () use ($pluginsT) {
151
-            foreach ($pluginsT as $plugin)
152
-                $plugin->tick();
151
+            foreach ($pluginsT as $plugin) {
152
+                            $plugin->tick();
153
+            }
153 154
         });
154 155
 
155 156
         // Mem cleanup every 30 minutes
Please login to merge, or discard this patch.
src/plugins/onTick/notifications.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             $cached = $xml->cachedUntil[0];
139 139
             $baseUnix = strtotime($cached);
140 140
             $cacheClr = $baseUnix - 13500;
141
-            if (!isset($this->fuelChannel)){
141
+            if (!isset($this->fuelChannel)) {
142 142
                 $this->fuelChannel = $this->toDiscordChannel;
143 143
             }
144 144
             if ($cacheClr <= time()) {
@@ -273,7 +273,7 @@  discard block
 block discarded – undo
273 273
                             $typeName = dbQueryField("SELECT typeName FROM invTypes WHERE typeID = :id",
274 274
                                 "typeName", array(":id" => $typeID), "ccp");
275 275
                             $msg = "POS in {$systemName} - {$moonName} needs fuel. Only {$blocksRemaining} {$typeName}'s remaining.";
276
-                            if($this->fuelSkip != "false"){
276
+                            if ($this->fuelSkip != "false") {
277 277
                                 $msg = "skip";
278 278
                             }
279 279
 
Please login to merge, or discard this patch.