Passed
Push — dbal ( 52c0e6...62c715 )
by Greg
05:49
created
app/DB/Schema/AbstractColumn.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
 {
29 29
     public string $comment = '';
30 30
 
31
-    public int|string|Expression|null $default;
31
+    public int | string | Expression | null $default;
32 32
 
33 33
     public bool $nullable = false;
34 34
 
@@ -58,7 +58,7 @@  discard block
 block discarded – undo
58 58
      *
59 59
      * @return $this
60 60
      */
61
-    public function default(int|string|Expression|null $default): static
61
+    public function default(int | string | Expression | null $default): static
62 62
     {
63 63
         $this->default = $default;
64 64
 
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
     /**
101 101
      * @return int|string|Expression|null
102 102
      */
103
-    public function getDefault(): int|string|Expression|null
103
+    public function getDefault(): int | string | Expression | null
104 104
     {
105 105
         return $this->default;
106 106
     }
Please login to merge, or discard this patch.
app/DB/WebtreesSchema.php 1 patch
Indentation   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -128,11 +128,11 @@  discard block
 block discarded – undo
128 128
         ]);
129 129
 
130 130
         $block_setting = Schema::table('block_setting', [
131
-           Schema::integer('block_id')->autoIncrement(),
132
-           Schema::varchar('setting_name', 32),
133
-           Schema::text('setting_value'),
134
-           Schema::primaryKey(['block_id', 'setting_name']),
135
-           Schema::foreignKey(['block_id'], 'block', ['block_id'])->onUpdate(ReferentialAction::CASCADE)->onDelete(ReferentialAction::CASCADE),
131
+            Schema::integer('block_id')->autoIncrement(),
132
+            Schema::varchar('setting_name', 32),
133
+            Schema::text('setting_value'),
134
+            Schema::primaryKey(['block_id', 'setting_name']),
135
+            Schema::foreignKey(['block_id'], 'block', ['block_id'])->onUpdate(ReferentialAction::CASCADE)->onDelete(ReferentialAction::CASCADE),
136 136
         ]);
137 137
         
138 138
         $change = Schema::table('change', [
@@ -487,7 +487,7 @@  discard block
 block discarded – undo
487 487
             ->getDatabasePlatform()
488 488
             ->getAlterSchemaSQL($schema_diff);
489 489
 
490
-         function f(string $query): int {
490
+            function f(string $query): int {
491 491
             if (str_contains($query, 'DROP FOREIGN KEY')) {
492 492
                 return 1;
493 493
             }
Please login to merge, or discard this patch.