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 ( 7dc89d...637663 )
by butschster
13s
created
src/Display/Column/Filter/Date.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -189,7 +189,7 @@
 block discarded – undo
189 189
             $fieldName = array_pop($parts);
190 190
             $relationName = implode('.', $parts);
191 191
 
192
-            $query->whereHas($relationName, function ($q) use ($name, $time) {
192
+            $query->whereHas($relationName, function($q) use ($name, $time) {
193 193
                 $this->buildQuery($q, $name, $time);
194 194
             });
195 195
         }
Please login to merge, or discard this patch.
src/Display/Column/Filter/Range.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -106,14 +106,14 @@
 block discarded – undo
106 106
         $from = array_get($fullSearch, 'from');
107 107
         $to = array_get($fullSearch, 'to');
108 108
 
109
-        if (! empty($from)) {
109
+        if (!empty($from)) {
110 110
             $this
111 111
                 ->getFrom()
112 112
                 ->setOperator(FilterInterface::LESS_OR_EQUAL)
113 113
                 ->apply($repository, $column, $query, $from, $fullSearch);
114 114
         }
115 115
 
116
-        if (! empty($to)) {
116
+        if (!empty($to)) {
117 117
             $this
118 118
                 ->getTo()
119 119
                 ->setOperator(FilterInterface::LESS_OR_EQUAL)
Please login to merge, or discard this patch.
src/Display/Column/Filter/Select.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     /**
29 29
      * @var array
30 30
      */
31
-    protected $options = [];
31
+    protected $options = [ ];
32 32
 
33 33
     /**
34 34
      * @var string
@@ -60,7 +60,7 @@  discard block
 block discarded – undo
60 60
             $model = new $model;
61 61
         }
62 62
 
63
-        if (! ($model instanceof Model)) {
63
+        if (!($model instanceof Model)) {
64 64
             throw new \Exception('Model must be an instance of Illuminate\Database\Eloquent\Model');
65 65
         }
66 66
 
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
      */
115 115
     public function getOptions()
116 116
     {
117
-        if (! is_null($this->getModel()) and ! is_null($this->getDisplay())) {
117
+        if (!is_null($this->getModel()) and !is_null($this->getDisplay())) {
118 118
             $this->loadOptions();
119 119
         }
120 120
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
             $parts = explode('.', $name);
201 201
             $fieldName = array_pop($parts);
202 202
             $relationName = implode('.', $parts);
203
-            $query->whereHas($relationName, function ($q) use ($search, $fieldName) {
203
+            $query->whereHas($relationName, function($q) use ($search, $fieldName) {
204 204
                 $this->buildQuery($q, $fieldName, $search);
205 205
             });
206 206
         }
@@ -208,7 +208,7 @@  discard block
 block discarded – undo
208 208
 
209 209
     protected function loadOptions()
210 210
     {
211
-        $repository = app(RepositoryInterface::class, [$this->getModel()]);
211
+        $repository = app(RepositoryInterface::class, [ $this->getModel() ]);
212 212
 
213 213
         $key = $repository->getModel()->getKeyName();
214 214
         $options = $repository->getQuery()->get()->lists($this->getDisplay(), $key);
Please login to merge, or discard this patch.
src/Display/Column/Checkbox.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -21,7 +21,7 @@
 block discarded – undo
21 21
     {
22 22
         parent::__construct($label);
23 23
         $this->setLabel(
24
-            Form::checkbox(null, 1, false, ['class' => 'adminCheckboxAll']
24
+            Form::checkbox(null, 1, false, [ 'class' => 'adminCheckboxAll' ]
25 25
         ));
26 26
 
27 27
         $this->setOrderable(false);
Please login to merge, or discard this patch.
src/Display/Column/Control.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -64,7 +64,7 @@  discard block
 block discarded – undo
64 64
     protected function isEditable()
65 65
     {
66 66
         return
67
-            ! $this->isTrashed()
67
+            !$this->isTrashed()
68 68
             &&
69 69
             $this->getModelConfiguration()->isEditable(
70 70
                 $this->getModel()
@@ -88,7 +88,7 @@  discard block
 block discarded – undo
88 88
     protected function isDeletable()
89 89
     {
90 90
         return
91
-            ! $this->isTrashed()
91
+            !$this->isTrashed()
92 92
             &&
93 93
             $this->getModelConfiguration()->isDeletable(
94 94
                 $this->getModel()
Please login to merge, or discard this patch.
src/Display/Column/Custom.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public function __construct($label = null, Closure $callback = null)
29 29
     {
30 30
         parent::__construct($label);
31
-        if (! is_null($callback)) {
31
+        if (!is_null($callback)) {
32 32
             $this->setCallback($callback);
33 33
         }
34 34
     }
@@ -63,7 +63,7 @@  discard block
 block discarded – undo
63 63
      */
64 64
     protected function getValue(Model $model)
65 65
     {
66
-        if (! is_callable($callback = $this->getCallback())) {
66
+        if (!is_callable($callback = $this->getCallback())) {
67 67
             throw new \Exception('Invalid custom column callback');
68 68
         }
69 69
 
Please login to merge, or discard this patch.
src/Display/Column/DateTime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -58,8 +58,8 @@
 block discarded – undo
58 58
         $value = $this->getModelValue();
59 59
         $originalValue = $value;
60 60
 
61
-        if (! is_null($value)) {
62
-            if (! $value instanceof Carbon) {
61
+        if (!is_null($value)) {
62
+            if (!$value instanceof Carbon) {
63 63
                 $value = Carbon::parse($value);
64 64
             }
65 65
 
Please login to merge, or discard this patch.
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.