Passed
Push — master ( 39edd6...47e6f5 )
by Pedro
01:57
created
public/index.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
 // Composer autoloading
22 22
 include __DIR__ . '/../vendor/autoload.php';
23 23
 
24
-if (! class_exists(Application::class)) {
24
+if (!class_exists(Application::class)) {
25 25
     throw new RuntimeException(
26 26
         "Unable to load application.\n"
27 27
         . "- Type `composer install` if you are developing locally.\n"
Please login to merge, or discard this patch.
module/Application/src/View/Helper/Event.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
         foreach ($this->nicks as $nick) {
22 22
             $event = str_replace(
23 23
                 $nick,
24
-                '<a href="' . $url('player-info', ['nick' => $nick]) . '">'. $nick .'</a>',
24
+                '<a href="' . $url('player-info', ['nick' => $nick]) . '">' . $nick . '</a>',
25 25
                 $event
26 26
             );
27 27
         }
Please login to merge, or discard this patch.
module/Application/src/Service/BotParser.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -376,7 +376,7 @@  discard block
 block discarded – undo
376 376
 
377 377
         $tmp = array_reverse($tmp);
378 378
         $modifiers['total'] = count($tmp);
379
-        $modifiers['items'] = array_slice($tmp, 0, ($limit > 0 ) ? $limit : null);
379
+        $modifiers['items'] = array_slice($tmp, 0, ($limit > 0) ? $limit : null);
380 380
 
381 381
         return $modifiers;
382 382
     }
@@ -413,11 +413,11 @@  discard block
 block discarded – undo
413 413
         if (($handle = fopen($this->config['bot_quest'], "r")) !== false) {
414 414
             while (($data = fgets($handle, 1024)) !== false) {
415 415
                 // T - title
416
-                if (! isset($data['title']) && $data[0] == "T") {
416
+                if (!isset($data['title']) && $data[0] == "T") {
417 417
                     $quest['title'] = substr($data, 2);
418 418
                 }
419 419
                 // Y - type. 1 for time based, 2 for stages
420
-                if (! isset($data['type']) && $data[0] == "Y") {
420
+                if (!isset($data['type']) && $data[0] == "Y") {
421 421
                     $quest['type'] = (int) substr($data, 2);
422 422
                 }
423 423
                 // S - objective
Please login to merge, or discard this patch.
module/Application/src/View/Helper/Scoreboard.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
         $url = $this->getView()->plugin('url');
12 12
 
13 13
         $class = '';
14
-        if (! $item['status']) {
14
+        if (!$item['status']) {
15 15
             $class = ' class="text-danger"';
16 16
         } else {
17 17
             $class = ' class="text-success"';
Please login to merge, or discard this patch.