Completed
Pull Request — master (#22)
by Matthew
03:51 queued 02:04
created
src/Command/LeaderboardCheckCommand.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@
 block discarded – undo
49 49
             $data = json_decode($this->redis->get($key), true);
50 50
 
51 51
             if ($data['beingUpdated'] == 1) {
52
-                $output->writeln("Server {$server} is currently being updated. Deferring.");
52
+                $output->writeln("server {$server} is currently being updated. Deferring.");
53 53
                 continue;
54 54
             }
55 55
 
Please login to merge, or discard this patch.
src/Command/DeleteAlertCommand.php 1 patch
Upper-Lower-Casing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
         $alert = $this->alertRepo->readSingleById($id, 'primary', true);
55 55
 
56 56
         if (empty($force) && empty($id)) {
57
-            $output->writeln("ALERT {$id} DOES NOT EXIST!");
57
+            $output->writeln("alert {$id} DOES NOT EXIST!");
58 58
             return false;
59 59
         }
60 60
 
@@ -99,7 +99,7 @@  discard block
 block discarded – undo
99 99
         $this->deleteAlert($id);
100 100
 
101 101
         if ($this->verbose === 1) {
102
-            $output->writeln("Alert {$id} successfully deleted!");
102
+            $output->writeln("alert {$id} successfully deleted!");
103 103
         }
104 104
 
105 105
         return true;
Please login to merge, or discard this patch.
src/Command/ArchiveCommand.php 1 patch
Upper-Lower-Casing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
         $alerts = $this->alertRepo->fireStatementAndReturn($query);
74 74
         $count = count($alerts);
75 75
 
76
-        $output->writeln("Detected {$count} alerts to be archived");
76
+        $output->writeln("detected {$count} alerts to be archived");
77 77
 
78 78
         if ($count > 0) {
79 79
             $tables = [
@@ -115,7 +115,7 @@  discard block
 block discarded – undo
115 115
             ['json' => $payload]
116 116
         );
117 117
 
118
-        $output->writeln("Archived {$records} records!");
118
+        $output->writeln("archived {$records} records!");
119 119
     }
120 120
 
121 121
     /**
@@ -183,7 +183,7 @@  discard block
 block discarded – undo
183 183
             $this->recordsArchived += $stm->rowCount();
184 184
             $records += $stm->rowCount();
185 185
 
186
-            $output->writeln("Archived {$stm->rowCount()} from Alert #{$alert['ResultID']} - Table {$table}");
186
+            $output->writeln("archived {$stm->rowCount()} from Alert #{$alert['ResultID']} - Table {$table}");
187 187
         }
188 188
 
189 189
         $this->db->commit();
Please login to merge, or discard this patch.
src/Controller/Endpoint/AbstractEndpointController.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -437,7 +437,7 @@
 block discarded – undo
437 437
                 }
438 438
 
439 439
                 if (!in_array($id, $filters)) {
440
-                    throw new InvalidArgumentException("Unrecognized {$mode}. Please check the IDs you sent.");
440
+                    throw new InvalidArgumentException("unrecognized {$mode}. Please check the IDs you sent.");
441 441
                 }
442 442
             }
443 443
 
Please login to merge, or discard this patch.