Passed
Branch master (bcc732)
by Bob
02:55
created
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.
src/plugins/onMessage/corpInfo.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/admin/setNickname.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             foreach ($roles as $role) {
88 88
                 if (in_array($role->name, $adminRoles, true)) {
89 89
                     $member = $guild->members->get('id', $botID);
90
-                    $nick = (string)$data['messageString'];
90
+                    $nick = (string) $data['messageString'];
91 91
                     $member->setNickname($nick);
92 92
 
93 93
                     $msg = "Bot nickname changed to **{$nick}** by {$msgData['message']['from']}";
Please login to merge, or discard this patch.
src/plugins/admin/setGame.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
             $roles = $member->roles;
88 88
             foreach ($roles as $role) {
89 89
                 if (in_array($role->name, $adminRoles, true)) {
90
-                    $newGame = (string)$data['messageString'];
90
+                    $newGame = (string) $data['messageString'];
91 91
                     $game = $this->discord->factory(Game::class, [
92 92
                         'name' => $newGame,
93 93
                     ]);
Please login to merge, or discard this patch.
src/plugins/admin/getLog.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -86,7 +86,7 @@
 block discarded – undo
86 86
             $roles = $member->roles;
87 87
             foreach ($roles as $role) {
88 88
                 if (in_array($role->name, $adminRoles, true)) {
89
-                    $logType = (string)$data['messageString'];
89
+                    $logType = (string) $data['messageString'];
90 90
                     if ($logType == 'log') {
91 91
                         $filePath = __DIR__ . '/../../../log/dramielLog.log';
92 92
                     } elseif ($logType == 'error') {
Please login to merge, or discard this patch.