Passed
Push — master ( ee4a86...014bc7 )
by belamov
03:04
created
src/PostgresGrammarWithRangeTypes.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
      */
94 94
     public function compileExcludeRangeOverlapping(Blueprint $blueprint, Fluent $command): string
95 95
     {
96
-        if (! empty($command->additionalColumns)) {
96
+        if (!empty($command->additionalColumns)) {
97 97
             $this->addBtreeGistExtension();
98 98
         }
99 99
 
Please login to merge, or discard this patch.
src/Macros/BluePrintMacros.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -2,31 +2,31 @@
 block discarded – undo
2 2
 
3 3
 use Illuminate\Database\Schema\Blueprint;
4 4
 
5
-Blueprint::macro('dateRange', function (string $columnName) {
5
+Blueprint::macro('dateRange', function(string $columnName) {
6 6
     return $this->addColumn('daterange', $columnName);
7 7
 });
8 8
 
9
-Blueprint::macro('timestampRange', function (string $columnName) {
9
+Blueprint::macro('timestampRange', function(string $columnName) {
10 10
     return $this->addColumn('tsrange', $columnName);
11 11
 });
12 12
 
13
-Blueprint::macro('floatRange', function (string $columnName) {
13
+Blueprint::macro('floatRange', function(string $columnName) {
14 14
     return $this->addColumn('numrange', $columnName);
15 15
 });
16 16
 
17
-Blueprint::macro('integerRange', function (string $columnName) {
17
+Blueprint::macro('integerRange', function(string $columnName) {
18 18
     return $this->addColumn('int4range', $columnName);
19 19
 });
20 20
 
21
-Blueprint::macro('bigIntegerRange', function (string $columnName) {
21
+Blueprint::macro('bigIntegerRange', function(string $columnName) {
22 22
     return $this->addColumn('int8range', $columnName);
23 23
 });
24 24
 
25
-Blueprint::macro('timeRange', function (string $columnName) {
25
+Blueprint::macro('timeRange', function(string $columnName) {
26 26
     return $this->addColumn('timerange', $columnName);
27 27
 });
28 28
 
29
-Blueprint::macro('excludeRangeOverlapping', function ($columnName, ...$additionalColumns) {
29
+Blueprint::macro('excludeRangeOverlapping', function($columnName, ...$additionalColumns) {
30 30
     return $this->addCommand('excludeRangeOverlapping', [
31 31
         'column' => $columnName,
32 32
         'additionalColumns' => $additionalColumns,
Please login to merge, or discard this patch.
src/Macros/whereRangeStrictlyRightOf.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeStrictlyRightOf',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? >> ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeStrictlyRightOf',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? >> ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeDoesNotExtendToTheRightOf.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeDoesNotExtendToTheRightOf',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? &< ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeDoesNotExtendToTheRightOf',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? &< ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeStrictlyLeftOf.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeStrictlyLeftOf',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? << ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeStrictlyLeftOf',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? << ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeIsContainedBy.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeIsContainedBy',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? <@ ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeIsContainedBy',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? <@ ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeIsAdjacentTo.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeAdjacentTo',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? -|- ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeAdjacentTo',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? -|- ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeOverlaps.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeOverlaps',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? && ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeOverlaps',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? && ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeContains.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -4,14 +4,14 @@
 block discarded – undo
4 4
 
5 5
 Builder::macro(
6 6
     'whereRangeContains',
7
-    function ($left, $right) {
7
+    function($left, $right) {
8 8
         return $this->whereRaw('? @> ?', [$left, $right]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeContains',
14
-    function ($left, $right) {
14
+    function($left, $right) {
15 15
         return $this->whereRaw('? @> ?', [$left, $right], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.