GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Completed
Push — master ( fdafab...aa2657 )
by butschster
06:04
created
src/Display/Column/Url.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -7,7 +7,7 @@
 block discarded – undo
7 7
     /**
8 8
      * @var array
9 9
      */
10
-    protected $linkAttributes = [];
10
+    protected $linkAttributes = [ ];
11 11
 
12 12
     /**
13 13
      * @return array
Please login to merge, or discard this patch.
src/Display/Column/Image.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -46,7 +46,7 @@
 block discarded – undo
46 46
     public function toArray()
47 47
     {
48 48
         $value = $this->getModelValue();
49
-        if (! empty($value) && (strpos($value, '://') === false)) {
49
+        if (!empty($value) && (strpos($value, '://') === false)) {
50 50
             $value = asset($value);
51 51
         }
52 52
 
Please login to merge, or discard this patch.
src/Display/Column/Filter.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@
 block discarded – undo
68 68
     {
69 69
         $value = $this->getModelValue($this->getModel(), $this->getField());
70 70
 
71
-        return app('sleeping_owl')->getModel($this->getRelatedModel())->getDisplayUrl([$this->getName() => $value]);
71
+        return app('sleeping_owl')->getModel($this->getRelatedModel())->getDisplayUrl([ $this->getName() => $value ]);
72 72
     }
73 73
 
74 74
     /**
Please login to merge, or discard this patch.
src/Display/Column/NamedColumn.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,11 +87,11 @@
 block discarded – undo
87 87
 
88 88
         if ($instance instanceof Collection) {
89 89
             $instance = $instance->pluck($part);
90
-        } elseif (! is_null($instance)) {
90
+        } elseif (!is_null($instance)) {
91 91
             $instance = $instance->getAttribute($part);
92 92
         }
93 93
 
94
-        if (! empty($parts) && ! is_null($instance)) {
94
+        if (!empty($parts) && !is_null($instance)) {
95 95
             return $this->getValueFromObject($instance, implode('.', $parts));
96 96
         }
97 97
 
Please login to merge, or discard this patch.
src/Display/Extension/Scopes.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -9,7 +9,7 @@  discard block
 block discarded – undo
9 9
     /**
10 10
      * @var string[]
11 11
      */
12
-    protected $scopes = [];
12
+    protected $scopes = [ ];
13 13
 
14 14
     /**
15 15
      * @return string[]
@@ -38,11 +38,11 @@  discard block
 block discarded – undo
38 38
      */
39 39
     public function push($scope)
40 40
     {
41
-        if (! is_array($scope)) {
41
+        if (!is_array($scope)) {
42 42
             $scope = func_get_args();
43 43
         }
44 44
 
45
-        $this->scopes[] = $scope;
45
+        $this->scopes[ ] = $scope;
46 46
 
47 47
         return $this;
48 48
     }
@@ -65,13 +65,13 @@  discard block
 block discarded – undo
65 65
     public function modifyQuery(Builder $query)
66 66
     {
67 67
         foreach ($this->scopes as $scope) {
68
-            if (! is_null($scope)) {
68
+            if (!is_null($scope)) {
69 69
                 if (is_array($scope)) {
70 70
                     $method = array_shift($scope);
71 71
                     $params = $scope;
72 72
                 } else {
73 73
                     $method = $scope;
74
-                    $params = [];
74
+                    $params = [ ];
75 75
                 }
76 76
 
77 77
                 call_user_func_array([
Please login to merge, or discard this patch.
src/Display/Extension/Filters.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function set($filters)
42 42
     {
43
-        if (! is_array($filters)) {
43
+        if (!is_array($filters)) {
44 44
             $filters = func_get_args();
45 45
         }
46 46
 
@@ -78,7 +78,7 @@  discard block
 block discarded – undo
78 78
      */
79 79
     public function getActive()
80 80
     {
81
-        return $this->filters->filter(function (FilterInterface $filter) {
81
+        return $this->filters->filter(function(FilterInterface $filter) {
82 82
             return $filter->isActive();
83 83
         });
84 84
     }
@@ -100,10 +100,10 @@  discard block
 block discarded – undo
100 100
      */
101 101
     public function getTitle()
102 102
     {
103
-        $titles = [$this->title];
103
+        $titles = [ $this->title ];
104 104
 
105
-        $this->getActive()->each(function (FilterInterface $filter) use (&$titles) {
106
-            $titles[] = $filter->getTitle();
105
+        $this->getActive()->each(function(FilterInterface $filter) use (&$titles) {
106
+            $titles[ ] = $filter->getTitle();
107 107
         });
108 108
 
109 109
         return implode(' | ', array_filter($titles));
@@ -127,7 +127,7 @@  discard block
 block discarded – undo
127 127
      */
128 128
     public function modifyQuery(\Illuminate\Database\Eloquent\Builder $query)
129 129
     {
130
-        $this->getActive()->each(function (FilterInterface $filter) use ($query) {
130
+        $this->getActive()->each(function(FilterInterface $filter) use ($query) {
131 131
             $filter->apply($query);
132 132
         });
133 133
     }
@@ -137,7 +137,7 @@  discard block
 block discarded – undo
137 137
      */
138 138
     public function initialize()
139 139
     {
140
-        $this->filters->each(function (FilterInterface $filter) {
140
+        $this->filters->each(function(FilterInterface $filter) {
141 141
             $filter->initialize();
142 142
         });
143 143
     }
Please login to merge, or discard this patch.
src/Display/Extension/Actions.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
      */
50 50
     public function set($actions)
51 51
     {
52
-        if (! is_array($actions)) {
52
+        if (!is_array($actions)) {
53 53
             $actions = func_get_args();
54 54
         }
55 55
 
@@ -145,13 +145,13 @@  discard block
 block discarded – undo
145 145
             return;
146 146
         }
147 147
 
148
-        $this->all()->each(function (ActionInterface $action) {
148
+        $this->all()->each(function(ActionInterface $action) {
149 149
             $action->initialize();
150 150
         });
151 151
 
152 152
         $this->setHtmlAttribute('data-type', 'display-actions');
153 153
 
154
-        if (! $this->hasHtmlAttribute('class')) {
154
+        if (!$this->hasHtmlAttribute('class')) {
155 155
             $this->setHtmlAttribute('class', 'panel-footer');
156 156
         }
157 157
     }
Please login to merge, or discard this patch.
src/Display/Extension/ColumnFilters.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     /**
16 16
      * @var ColumnFilterInterface[]
17 17
      */
18
-    protected $columnFilters = [];
18
+    protected $columnFilters = [ ];
19 19
 
20 20
     /**
21 21
      * @var string|\Illuminate\View\View
@@ -34,11 +34,11 @@  discard block
 block discarded – undo
34 34
      */
35 35
     public function set($columnFilters)
36 36
     {
37
-        if (! is_array($columnFilters)) {
37
+        if (!is_array($columnFilters)) {
38 38
             $columnFilters = func_get_args();
39 39
         }
40 40
 
41
-        $this->columnFilters = [];
41
+        $this->columnFilters = [ ];
42 42
 
43 43
         foreach ($columnFilters as $filter) {
44 44
             $this->push($filter);
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
      */
63 63
     public function push(ColumnFilterInterface $filter = null)
64 64
     {
65
-        $this->columnFilters[] = $filter;
65
+        $this->columnFilters[ ] = $filter;
66 66
 
67 67
         return $this;
68 68
     }
@@ -155,7 +155,7 @@  discard block
 block discarded – undo
155 155
             }
156 156
         }
157 157
 
158
-        if (! $this->hasHtmlAttribute('class')) {
158
+        if (!$this->hasHtmlAttribute('class')) {
159 159
             $this->setHtmlAttribute('class', 'panel-footer');
160 160
         }
161 161
     }
Please login to merge, or discard this patch.
src/Display/Extension/Tree.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@
 block discarded – undo
152 152
 
153 153
     public function initialize()
154 154
     {
155
-        $this->allWithControl()->each(function (ColumnInterface $column) {
155
+        $this->allWithControl()->each(function(ColumnInterface $column) {
156 156
             $column->initialize();
157 157
         });
158 158
 
Please login to merge, or discard this patch.