Passed
Push — main ( 42d171...ad805a )
by Dimitri
05:59 queued 01:56
created
src/Cli/Commands/Translation/TranslationsFinder.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
         }
66 66
 
67 67
         if (is_string($optionLocale)) {
68
-            if (! in_array($optionLocale, config('app.supported_locales'), true)) {
68
+            if (!in_array($optionLocale, config('app.supported_locales'), true)) {
69 69
                 $this->error(
70 70
                     $this->color->error('"' . $optionLocale . '" n\'est pas supporté. Les langues supportées sont: '
71 71
                     . implode(', ', config('app.supported_locales')))
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
             if (is_file($languageFilePath)) {
130 130
                 // Charge les anciennes traductions
131 131
                 $languageStoredKeys = require $languageFilePath;
132
-            } elseif (! is_dir($dir = dirname($languageFilePath))) {
132
+            } elseif (!is_dir($dir = dirname($languageFilePath))) {
133 133
                 // Si le dossier n'existe pas, on le cree
134 134
                 @mkdir($dir, 0777, true);
135 135
             }
@@ -196,7 +196,7 @@  discard block
 block discarded – undo
196 196
             $this->table($table);
197 197
         }
198 198
 
199
-        if (! $this->showNew && $countNewKeys > 0) {
199
+        if (!$this->showNew && $countNewKeys > 0) {
200 200
             $this->eol()->writer->bgRed('Note: Vous devez utiliser votre outil de linting pour résoudre les problèmes liés aux normes de codage.', true);
201 201
         }
202 202
     }
Please login to merge, or discard this patch.