Passed
Branch master (bcc732)
by Bob
02:55
created
src/plugins/onTick/periodicStatusCheck.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -97,7 +97,7 @@
 block discarded – undo
97 97
         //Crest
98 98
         $crestData = json_decode(downloadData('https://crest-tq.eveonline.com/'), true);
99 99
         $crestStatus = isset($crestData['serviceStatus']) ? $crestData['serviceStatus'] : 'offline';
100
-        $tqOnline = (int)$crestData['userCount'];
100
+        $tqOnline = (int) $crestData['userCount'];
101 101
 
102 102
         if (!isset($xml->result)) {
103 103
             $this->logger->addInfo('statusCheck: TQ Status check canceled, API Error.');
Please login to merge, or discard this patch.
src/plugins/onMessage/auth.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -92,7 +92,7 @@
 block discarded – undo
92 92
      */
93 93
     function onMessage($msgData, $message)
94 94
     {
95
-        $channelID = (int)$msgData['message']['channelID'];
95
+        $channelID = (int) $msgData['message']['channelID'];
96 96
 
97 97
         if (in_array($channelID, $this->excludeChannel, true)) {
98 98
             return null;
Please login to merge, or discard this patch.
src/plugins/onMessage/about.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -76,7 +76,7 @@
 block discarded – undo
76 76
     {
77 77
         $this->message = $message;
78 78
         $info['guilds'] = $this->discord->guilds->count();
79
-        $channelID = (int)$msgData['message']['channelID'];
79
+        $channelID = (int) $msgData['message']['channelID'];
80 80
 
81 81
         if (in_array($channelID, $this->excludeChannel, true))
82 82
         {
Please login to merge, or discard this patch.
src/plugins/onMessage/charInfo.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     function onMessage($msgData, $message)
74 74
     {
75
-        $channelID = (int)$msgData['message']['channelID'];
75
+        $channelID = (int) $msgData['message']['channelID'];
76 76
 
77 77
         if (in_array($channelID, $this->excludeChannel, true))
78 78
         {
Please login to merge, or discard this patch.
src/plugins/onMessage/price.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -88,7 +88,7 @@
 block discarded – undo
88 88
     {
89 89
         $this->message = $message;
90 90
         $user = $msgData['message']['from'];
91
-        $channelID = (int)$msgData['message']['channelID'];
91
+        $channelID = (int) $msgData['message']['channelID'];
92 92
 
93 93
         if (in_array($channelID, $this->excludeChannel, true))
94 94
         {
Please login to merge, or discard this patch.
src/plugins/onMessage/eveStatus.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@  discard block
 block discarded – undo
70 70
      */
71 71
     function onMessage($msgData, $message)
72 72
     {
73
-        $channelID = (int)$msgData['message']['channelID'];
73
+        $channelID = (int) $msgData['message']['channelID'];
74 74
 
75 75
         if (in_array($channelID, $this->excludeChannel, true))
76 76
         {
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
             $crestData = json_decode(downloadData('https://crest-tq.eveonline.com/'), true);
89 89
 
90 90
             $tqStatus = isset($crestData['serviceStatus']) ? $crestData['serviceStatus'] : 'offline';
91
-            $tqOnline = (int)$crestData['userCount'];
91
+            $tqOnline = (int) $crestData['userCount'];
92 92
 
93 93
             $msg = "**TQ Status:** {$tqStatus} with {$tqOnline} users online.";
94 94
             $this->logger->addInfo("eveStatus: Sending eve status info to {$user}");
Please login to merge, or discard this patch.
src/plugins/onMessage/help.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     function onMessage($msgData, $message)
72 72
     {
73
-        $channelID = (int)$msgData['message']['channelID'];
73
+        $channelID = (int) $msgData['message']['channelID'];
74 74
 
75 75
         if (in_array($channelID, $this->excludeChannel, true))
76 76
         {
Please login to merge, or discard this patch.
src/plugins/onMessage/fleetUpOps.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -91,7 +91,7 @@
 block discarded – undo
91 91
      */
92 92
     function onMessage($msgData, $message)
93 93
     {
94
-        $channelID = (int)$msgData['message']['channelID'];
94
+        $channelID = (int) $msgData['message']['channelID'];
95 95
 
96 96
         if (in_array($channelID, $this->excludeChannel, true))
97 97
         {
Please login to merge, or discard this patch.
src/plugins/onMessage/time.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -72,7 +72,7 @@
 block discarded – undo
72 72
      */
73 73
     function onMessage($msgData, $message)
74 74
     {
75
-        $channelID = (int)$msgData['message']['channelID'];
75
+        $channelID = (int) $msgData['message']['channelID'];
76 76
 
77 77
         if (in_array($channelID, $this->excludeChannel, true))
78 78
         {
Please login to merge, or discard this patch.