Completed
Push — staging ( 5adefb...acbd04 )
by Matthew
02:32
created
src/Controller/Endpoint/AbstractEndpointController.php 1 patch
Upper-Lower-Casing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@
 block discarded – undo
75 75
                 }
76 76
 
77 77
                 if ($type !== 'dates' && !in_array($val, $filters)) {
78
-                    throw new InvalidArgumentException("Unrecognized {$type}. Please check the DATA you sent.");
78
+                    throw new InvalidArgumentException("unrecognized {$type}. Please check the DATA you sent.");
79 79
                 }
80 80
 
81 81
                 if ($type === 'dates') {
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
@@ -61,7 +61,7 @@  discard block
 block discarded – undo
61 61
         $alert = $this->alertRepo->readSingleById($id, 'primary', true);
62 62
 
63 63
         if (empty($force) && empty($alert)) {
64
-            $output->writeln("ALERT {$id} DOES NOT EXIST!");
64
+            $output->writeln("alert {$id} DOES NOT EXIST!");
65 65
             return false;
66 66
         }
67 67
 
@@ -106,7 +106,7 @@  discard block
 block discarded – undo
106 106
         $this->deleteAlert($id);
107 107
 
108 108
         if ($this->verbose === 1) {
109
-            $output->writeln("Alert {$id} successfully deleted!");
109
+            $output->writeln("alert {$id} successfully deleted!");
110 110
         }
111 111
 
112 112
         return true;
Please login to merge, or discard this patch.