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
Branch master (728916)
by Dave
01:29
created
src/Form/Columns/Columns.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -65,7 +65,7 @@  discard block
 block discarded – undo
65 65
             $element = new Column($element);
66 66
         }
67 67
 
68
-        if (! ($element instanceof ColumnInterface)) {
68
+        if (!($element instanceof ColumnInterface)) {
69 69
             throw new \Exception('Column should be instance of ColumnInterface');
70 70
         }
71 71
 
@@ -80,16 +80,16 @@  discard block
 block discarded – undo
80 80
     {
81 81
         $this->setHtmlAttribute('class', 'row');
82 82
 
83
-        $count = $this->getElements()->filter(function (ColumnInterface $column) {
83
+        $count = $this->getElements()->filter(function(ColumnInterface $column) {
84 84
             return $column->getWidth() === 0;
85 85
         })->count();
86 86
 
87
-        $width = $this->maxWidth - $this->getElements()->sum(function (ColumnInterface $column) {
87
+        $width = $this->maxWidth - $this->getElements()->sum(function(ColumnInterface $column) {
88 88
             return $column->getWidth();
89 89
         });
90 90
 
91
-        $this->getElements()->each(function (ColumnInterface $column) use ($width, $count) {
92
-            if (! $column->getWidth()) {
91
+        $this->getElements()->each(function(ColumnInterface $column) use ($width, $count) {
92
+            if (!$column->getWidth()) {
93 93
                 $column->setWidth(floor($width / $count));
94 94
             }
95 95
         });
@@ -129,7 +129,7 @@  discard block
 block discarded – undo
129 129
      */
130 130
     public function setSize($size)
131 131
     {
132
-        $this->getColumns()->each(function (ColumnInterface $column) use ($size) {
132
+        $this->getColumns()->each(function(ColumnInterface $column) use ($size) {
133 133
             $column->setSize($size);
134 134
         });
135 135
     }
Please login to merge, or discard this patch.
src/Display/Extension/Apply.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
      */
27 27
     public function set($applies)
28 28
     {
29
-        if (! is_array($applies)) {
29
+        if (!is_array($applies)) {
30 30
             $applies = func_get_args();
31 31
         }
32 32
 
Please login to merge, or discard this patch.
src/Display/Extension/Scopes.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  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
 
@@ -65,7 +65,7 @@  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;
Please login to merge, or discard this patch.
src/Display/DisplayDatatables.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@
 block discarded – undo
87 87
      */
88 88
     public function setOrder($order)
89 89
     {
90
-        if (! is_array($order)) {
90
+        if (!is_array($order)) {
91 91
             $order = func_get_args();
92 92
         }
93 93
 
Please login to merge, or discard this patch.
src/Display/TableColumn.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     {
65 65
         $this->header = app(TableHeaderColumnInterface::class);
66 66
 
67
-        if (! is_null($label)) {
67
+        if (!is_null($label)) {
68 68
             $this->setLabel($label);
69 69
         }
70 70
 
@@ -206,7 +206,7 @@  discard block
 block discarded – undo
206 206
             $orderable = new OrderByClause($orderable);
207 207
         }
208 208
 
209
-        if ($orderable !== false && ! $orderable instanceof OrderByClauseInterface) {
209
+        if ($orderable !== false && !$orderable instanceof OrderByClauseInterface) {
210 210
             throw new \InvalidArgumentException('Argument must be instance of SleepingOwl\Admin\Contracts\Display\OrderByClauseInterface interface');
211 211
         }
212 212
 
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      */
234 234
     public function orderBy(Builder $query, $direction)
235 235
     {
236
-        if (! $this->isOrderable()) {
236
+        if (!$this->isOrderable()) {
237 237
             throw new \InvalidArgumentException('Argument must be instance of SleepingOwl\Admin\Contracts\Display\OrderByClauseInterface interface');
238 238
         }
239 239
 
Please login to merge, or discard this patch.
src/Display/Filter/FilterBase.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -35,7 +35,7 @@  discard block
 block discarded – undo
35 35
     {
36 36
         $this->setName($name);
37 37
 
38
-        if (! is_null($title)) {
38
+        if (!is_null($title)) {
39 39
             $this->setTitle($title);
40 40
         }
41 41
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
      */
78 78
     public function getAlias()
79 79
     {
80
-        if (! $this->alias) {
80
+        if (!$this->alias) {
81 81
             return $this->getName();
82 82
         }
83 83
 
@@ -149,6 +149,6 @@  discard block
 block discarded – undo
149 149
      */
150 150
     public function isActive()
151 151
     {
152
-        return ! is_null($this->getValue());
152
+        return !is_null($this->getValue());
153 153
     }
154 154
 }
Please login to merge, or discard this patch.
src/Http/Controllers/UploadController.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -22,9 +22,9 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function fromField(Request $request, ModelConfigurationInterface $model, $field, $id = null)
24 24
     {
25
-        if (! is_null($id)) {
25
+        if (!is_null($id)) {
26 26
             $item = $model->getRepository()->find($id);
27
-            if (is_null($item) || ! $model->isEditable($item)) {
27
+            if (is_null($item) || !$model->isEditable($item)) {
28 28
                 return new JsonResponse([
29 29
                     'message' => trans('lang.message.access_denied'),
30 30
                 ], 403);
@@ -32,7 +32,7 @@  discard block
 block discarded – undo
32 32
 
33 33
             $form = $model->fireEdit($id);
34 34
         } else {
35
-            if (! $model->isCreatable()) {
35
+            if (!$model->isCreatable()) {
36 36
                 return new JsonResponse([
37 37
                     'message' => trans('lang.message.access_denied'),
38 38
                 ], 403);
Please login to merge, or discard this patch.
src/Model/ModelCollection.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@  discard block
 block discarded – undo
12 12
      */
13 13
     public function aliases()
14 14
     {
15
-        return $this->map(function (ModelConfigurationInterface $model) {
15
+        return $this->map(function(ModelConfigurationInterface $model) {
16 16
             return $model->getAlias();
17 17
         });
18 18
     }
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function keyByAlias()
24 24
     {
25
-        return $this->keyBy(function (ModelConfigurationInterface $model) {
25
+        return $this->keyBy(function(ModelConfigurationInterface $model) {
26 26
             return $model->getAlias();
27 27
         });
28 28
     }
Please login to merge, or discard this patch.
src/Form/Element/Select.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -54,7 +54,7 @@  discard block
 block discarded – undo
54 54
      */
55 55
     public function getOptions()
56 56
     {
57
-        if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) {
57
+        if (!is_null($this->getModelForOptions()) && !is_null($this->getDisplay())) {
58 58
             $this->setOptions(
59 59
                 $this->loadOptions()
60 60
             );
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function exclude($keys)
137 137
     {
138
-        if (! is_array($keys)) {
138
+        if (!is_array($keys)) {
139 139
             $keys = func_get_args();
140 140
         }
141 141
 
Please login to merge, or discard this patch.