Passed
Push — master ( 0ddaf0...97ef82 )
by Darko
07:24
created
app/Http/Controllers/Admin/AdminNzbController.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -114,7 +114,7 @@
 block discarded – undo
114 114
         switch ($errorCode) {
115 115
             case UPLOAD_ERR_INI_SIZE:
116 116
                 return "The file '{$fileName}' exceeds the upload_max_filesize directive (".
117
-                       ini_get('upload_max_filesize').').';
117
+                        ini_get('upload_max_filesize').').';
118 118
             case UPLOAD_ERR_FORM_SIZE:
119 119
                 return "The file '{$fileName}' exceeds the MAX_FILE_SIZE directive specified in the HTML form.";
120 120
             case UPLOAD_ERR_PARTIAL:
Please login to merge, or discard this patch.
app/Console/Commands/UpdateNNTmux.php 1 patch
Braces   +13 added lines, -4 removed lines patch added patch discarded remove patch
@@ -88,10 +88,19 @@
 block discarded – undo
88 88
     {
89 89
         $steps = 3; // prepare, finalize, cleanup
90 90
 
91
-        if (!$this->option('skip-git')) $steps++;
92
-        if (!$this->option('skip-composer')) $steps++;
93
-        if (!$this->option('skip-npm')) $steps += 2; // install + build
94
-        if (!$this->option('skip-db')) $steps++;
91
+        if (!$this->option('skip-git')) {
92
+            $steps++;
93
+        }
94
+        if (!$this->option('skip-composer')) {
95
+            $steps++;
96
+        }
97
+        if (!$this->option('skip-npm')) {
98
+            $steps += 2;
99
+        }
100
+        // install + build
101
+        if (!$this->option('skip-db')) {
102
+            $steps++;
103
+        }
95 104
 
96 105
         $steps++; // smarty cache clear
97 106
         $steps++; // env merge
Please login to merge, or discard this patch.