Passed
Push — master ( dc98af...23ee52 )
by Darko
07:01
created
app/Console/Commands/UpdateNNTmuxGit.php 1 patch
Spacing   +9 added lines, -9 removed lines patch added patch discarded remove patch
@@ -42,14 +42,14 @@
 block discarded – undo
42 42
             $this->info('
Please login to merge, or discard this patch.
app/Console/Commands/NntmuxCheckIndex.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
         $engine = $this->getSelectedEngine();
34 34
         $index = $this->getSelectedIndex();
35 35
 
36
-        if (! $engine || ! $index) {
36
+        if (!$engine || !$index) {
37 37
             $this->error('You must specify both an engine (--manticore or --elastic) and an index (--releases or --predb).');
38 38
 
39 39
             return Command::FAILURE;
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             // Check if index exists
66 66
             $exists = \Elasticsearch::indices()->exists(['index' => $index]);
67 67
 
68
-            if (! $exists) {
68
+            if (!$exists) {
69 69
                 $this->error("ElasticSearch index '{$index}' does not exist.");
70 70
 
71 71
                 return;
Please login to merge, or discard this patch.
app/Console/Commands/NntmuxOffsetPopulate.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $engine = $this->getSelectedEngine();
47 47
         $index = $this->getSelectedIndex();
48 48
 
49
-        if (! $engine || ! $index) {
49
+        if (!$engine || !$index) {
50 50
             $this->error('You must specify both an engine (--manticore or --elastic) and an index (--releases or --predb).');
51 51
 
52 52
             return Command::FAILURE;
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     private function populateIndexParallel(string $engine, string $index): int
72 72
     {
73 73
         $total = $this->getTotalRecords($index);
74
-        if (! $total) {
74
+        if (!$total) {
75 75
             $this->warn("{$index} table is empty. Nothing to do.");
76 76
 
77 77
             return Command::SUCCESS;
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
                     continue;
197 197
                 }
198 198
 
199
-                if (! $process->running()) {
199
+                if (!$process->running()) {
200 200
                     $completedProcesses[] = $processId;
201 201
                     $completed++;
202 202
                     $bar->advance();
@@ -234,7 +234,7 @@  discard block
 block discarded – undo
234 234
         $bar->finish();
235 235
         $this->newLine();
236 236
 
237
-        if (! empty($failedProcesses)) {
237
+        if (!empty($failedProcesses)) {
238 238
             $this->error('Failed workers: '.implode(', ', $failedProcesses));
239 239
         }
240 240
     }
Please login to merge, or discard this patch.