Test Failed
Branch master (df1c42)
by Mostafa
15:23
created
src/Jobs/ProcessFFMpeg.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -53,8 +53,7 @@  discard block
 block discarded – undo
53 53
                     isLastOne: $this->availableQueues() === 1,
54 54
                     standalone: true
55 55
                 );
56
-            }
57
-            else {
56
+            } else {
58 57
                 /** @var Model $class */
59 58
                 $class = $this->model;
60 59
                 $modelNotSaved = true;
@@ -73,8 +72,7 @@  discard block
 block discarded – undo
73 72
             }
74 73
 
75 74
             $this->updateStatus(true, false);
76
-        }
77
-        catch (FileNotFoundException | Exception $e) {
75
+        } catch (FileNotFoundException | Exception $e) {
78 76
             $this->updateStatus(false, false, $e->getMessage());
79 77
 
80 78
             throw new Exception($e->getMessage());
Please login to merge, or discard this patch.
src/Database/Schema/Blueprint.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -32,8 +32,7 @@  discard block
 block discarded – undo
32 32
             $table->string("{$name}_file_dominant_color", 7)->nullable();
33 33
             $table->string("{$name}_file_format", 85)->nullable();
34 34
             $table->string("{$name}_file_cover", 85)->nullable();
35
-        }
36
-        else {
35
+        } else {
37 36
             $table->{self::jsonColumnType()}("{$name}_file_meta")->nullable();
38 37
         }
39 38
     }
@@ -65,8 +64,7 @@  discard block
 block discarded – undo
65 64
             $table->dropIndex("{$tableName}_{$name}_file_size_index");
66 65
             $table->dropIndex("{$tableName}_{$name}_file_type_index");
67 66
             $table->dropIndex("{$tableName}_{$name}_file_duration_index");
68
-        }
69
-        else {
67
+        } else {
70 68
             $columns[] = "{$name}_file_meta";
71 69
         }
72 70
 
Please login to merge, or discard this patch.