Passed
Push — master ( 9bb9ac...4e9219 )
by belamov
02:22 queued 11s
created
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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? >> ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeStrictlyRightOf',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? >> ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? &< ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeDoesNotExtendToTheRightOf',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? &< ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? << ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeStrictlyLeftOf',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? << ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? <@ ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeIsContainedBy',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? <@ ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? -|- ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeAdjacentTo',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? -|- ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? && ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeOverlaps',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? && ?', [$column, $value], '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 ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? @> ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeContains',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? @> ?', [$column, $value], 'or');
16 16
     }
17 17
 );
Please login to merge, or discard this patch.
src/Macros/whereRangeDoesNotExtendToTheLeftOf.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
     'whereRangeDoesNotExtendToTheLeftOf',
7
-    function ($column, $value) {
7
+    function($column, $value) {
8 8
         return $this->whereRaw('? &> ?', [$column, $value]);
9 9
     }
10 10
 );
11 11
 
12 12
 Builder::macro(
13 13
     'orWhereRangeDoesNotExtendToTheLeftOf',
14
-    function ($column, $value) {
14
+    function($column, $value) {
15 15
         return $this->whereRaw('? &> ?', [$column, $value], 'or');
16 16
     }
17 17
 );
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('uniqueRange', function ($columnName, ...$additionalColumns) {
29
+Blueprint::macro('uniqueRange', function($columnName, ...$additionalColumns) {
30 30
     return $this->addCommand('uniqueRange', [
31 31
         'column' => $columnName,
32 32
         'additionalColumns' => $additionalColumns,
Please login to merge, or discard this patch.