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/Element/Password.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -33,7 +33,7 @@  discard block
 block discarded – undo
33 33
     {
34 34
         $value = $this->getValueFromModel();
35 35
 
36
-        if (! $this->isAllowedEmptyValue() && $this->getModel()->exists && empty($value)) {
36
+        if (!$this->isAllowedEmptyValue() && $this->getModel()->exists && empty($value)) {
37 37
             return;
38 38
         }
39 39
 
@@ -47,7 +47,7 @@  discard block
 block discarded – undo
47 47
     {
48 48
         $data = parent::getValidationRules();
49 49
 
50
-        if (! $this->isAllowedEmptyValue() && $this->getModel()->exists) {
50
+        if (!$this->isAllowedEmptyValue() && $this->getModel()->exists) {
51 51
             foreach ($data as $field => $rules) {
52 52
                 foreach ($rules as $i => $rule) {
53 53
                     if ($rule == 'required') {
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function hashWithBcrypt()
85 85
     {
86
-        return $this->mutateValue(function ($value) {
86
+        return $this->mutateValue(function($value) {
87 87
             return bcrypt($value);
88 88
         });
89 89
     }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function hashWithMD5()
95 95
     {
96
-        return $this->mutateValue(function ($value) {
96
+        return $this->mutateValue(function($value) {
97 97
             return md5($value);
98 98
         });
99 99
     }
@@ -103,7 +103,7 @@  discard block
 block discarded – undo
103 103
      */
104 104
     public function hashWithSHA1()
105 105
     {
106
-        return $this->mutateValue(function ($value) {
106
+        return $this->mutateValue(function($value) {
107 107
             return sha1($value);
108 108
         });
109 109
     }
Please login to merge, or discard this patch.
src/Display/Extension/Filters.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@  discard block
 block discarded – undo
41 41
      */
42 42
     public function set($filters)
43 43
     {
44
-        if (! is_array($filters)) {
44
+        if (!is_array($filters)) {
45 45
             $filters = func_get_args();
46 46
         }
47 47
 
@@ -79,7 +79,7 @@  discard block
 block discarded – undo
79 79
      */
80 80
     public function getActive()
81 81
     {
82
-        return $this->filters->filter(function (FilterInterface $filter) {
82
+        return $this->filters->filter(function(FilterInterface $filter) {
83 83
             return $filter->isActive();
84 84
         });
85 85
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function modifyQuery(Builder $query)
127 127
     {
128
-        $this->getActive()->each(function (FilterInterface $filter) use ($query) {
128
+        $this->getActive()->each(function(FilterInterface $filter) use ($query) {
129 129
             $filter->apply($query);
130 130
         });
131 131
     }
@@ -135,7 +135,7 @@  discard block
 block discarded – undo
135 135
      */
136 136
     public function initialize()
137 137
     {
138
-        $this->filters->each(function (FilterInterface $filter) {
138
+        $this->filters->each(function(FilterInterface $filter) {
139 139
             $filter->initialize();
140 140
         });
141 141
     }
Please login to merge, or discard this patch.
src/Display/DisplayTable.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
         parent::initialize();
72 72
 
73 73
         if ($this->getModelConfiguration()->isRestorableModel()) {
74
-            $this->setApply(function (Builder $q) {
74
+            $this->setApply(function(Builder $q) {
75 75
                 return $q->withTrashed();
76 76
             });
77 77
         }
@@ -193,11 +193,11 @@  discard block
 block discarded – undo
193 193
      */
194 194
     public function getCollection()
195 195
     {
196
-        if (! $this->isInitialized()) {
196
+        if (!$this->isInitialized()) {
197 197
             throw new \Exception('Display is not initialized');
198 198
         }
199 199
 
200
-        if (! is_null($this->collection)) {
200
+        if (!is_null($this->collection)) {
201 201
             return $this->collection;
202 202
         }
203 203
 
Please login to merge, or discard this patch.
src/Display/DisplayDatatablesAsync.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@  discard block
 block discarded – undo
26 26
     public static function registerRoutes(Router $router)
27 27
     {
28 28
         $routeName = 'admin.display.async';
29
-        if (! $router->has($routeName)) {
29
+        if (!$router->has($routeName)) {
30 30
             $router->get('{adminModel}/async/{adminDisplayName?}', [
31 31
                 'as'   => $routeName,
32 32
                 'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayController@async',
@@ -34,7 +34,7 @@  discard block
 block discarded – undo
34 34
         }
35 35
 
36 36
         $routeName = 'admin.display.async.inlineEdit';
37
-        if (! $router->has($routeName)) {
37
+        if (!$router->has($routeName)) {
38 38
             $router->post('{adminModel}/async/{adminDisplayName?}', [
39 39
                 'as'   => $routeName,
40 40
                 'uses' => 'SleepingOwl\Admin\Http\Controllers\AdminController@inlineEdit',
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
         $totalCount = $query->count();
204 204
         $filteredCount = 0;
205 205
 
206
-        if (! is_null($this->distinct)) {
206
+        if (!is_null($this->distinct)) {
207 207
             $filteredCount = $query->distinct()->count($this->getDistinct());
208 208
         }
209 209
 
@@ -253,7 +253,7 @@  discard block
 block discarded – undo
253 253
             return;
254 254
         }
255 255
 
256
-        $query->where(function (Builder $query) use ($search) {
256
+        $query->where(function(Builder $query) use ($search) {
257 257
             $columns = $this->getColumns()->all();
258 258
 
259 259
             foreach ($columns as $column) {
Please login to merge, or discard this patch.
src/Display/Column/Editable/Select.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -79,7 +79,7 @@
 block discarded – undo
79 79
      */
80 80
     public function getOptions()
81 81
     {
82
-        if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) {
82
+        if (!is_null($this->getModelForOptions()) && !is_null($this->getDisplay())) {
83 83
             $this->setOptions(
84 84
                 $this->loadOptions()
85 85
             );
Please login to merge, or discard this patch.
src/Display/Column/Editable/DateTime.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -76,8 +76,8 @@  discard block
 block discarded – undo
76 76
      */
77 77
     protected function getFormatedDate($date)
78 78
     {
79
-        if (! is_null($date)) {
80
-            if (! $date instanceof Carbon) {
79
+        if (!is_null($date)) {
80
+            if (!$date instanceof Carbon) {
81 81
                 $date = Carbon::parse($date);
82 82
             }
83 83
 
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
     public function getValueFromModel()
94 94
     {
95 95
         $value = parent::getValueFromModel();
96
-        if (! empty($value)) {
96
+        if (!empty($value)) {
97 97
             return $this->parseValue($value);
98 98
         }
99 99
     }
@@ -125,7 +125,7 @@  discard block
 block discarded – undo
125 125
      */
126 126
     public function setModelAttribute($value)
127 127
     {
128
-        $value = ! empty($value)
128
+        $value = !empty($value)
129 129
             ? Carbon::createFromFormat($this->getPickerFormat(), $value, $this->getTimezone())
130 130
                 ->timezone(config('app.timezone'))->format($this->getFormat())
131 131
             : null;
Please login to merge, or discard this patch.
src/Display/Column/Editable/EditableColumn.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -70,7 +70,7 @@
 block discarded – undo
70 70
      */
71 71
     public function getUrl()
72 72
     {
73
-        if (! $this->url) {
73
+        if (!$this->url) {
74 74
             return request()->url();
75 75
         }
76 76
 
Please login to merge, or discard this patch.
src/Display/Column/NamedColumn.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -75,8 +75,8 @@  discard block
 block discarded – undo
75 75
      */
76 76
     public function setOrderable($orderable = true)
77 77
     {
78
-        if ($orderable !== false && ! $orderable instanceof OrderByClauseInterface) {
79
-            if (! is_string($orderable) && ! $orderable instanceof Closure) {
78
+        if ($orderable !== false && !$orderable instanceof OrderByClauseInterface) {
79
+            if (!is_string($orderable) && !$orderable instanceof Closure) {
80 80
                 $orderable = $this->getName();
81 81
             }
82 82
         }
@@ -144,11 +144,11 @@  discard block
 block discarded – undo
144 144
             if ($instance === null) {
145 145
                 $instance = collect();
146 146
             }
147
-        } elseif (! is_null($instance)) {
147
+        } elseif (!is_null($instance)) {
148 148
             $instance = $instance->getAttribute($part);
149 149
         }
150 150
 
151
-        if (! empty($parts) && ! is_null($instance)) {
151
+        if (!empty($parts) && !is_null($instance)) {
152 152
             return $this->getValueFromObject($instance, implode('.', $parts));
153 153
         }
154 154
 
Please login to merge, or discard this patch.
src/Display/Column/Filter/Select.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -52,7 +52,7 @@  discard block
 block discarded – undo
52 52
             $this->setModelForOptions($options);
53 53
         }
54 54
 
55
-        if (! is_null($title)) {
55
+        if (!is_null($title)) {
56 56
             $this->setDisplay($title);
57 57
         }
58 58
     }
@@ -77,7 +77,7 @@  discard block
 block discarded – undo
77 77
         if ($this->multiple) {
78 78
             $this->setHtmlAttribute('multiple', 'multiple');
79 79
 
80
-            if (! in_array($this->operator, ['in', 'not_in'])) {
80
+            if (!in_array($this->operator, ['in', 'not_in'])) {
81 81
                 $this->setOperator('in');
82 82
             }
83 83
         } else {
@@ -121,7 +121,7 @@  discard block
 block discarded – undo
121 121
      */
122 122
     public function getOptions()
123 123
     {
124
-        if (! is_null($this->getModelForOptions()) && ! is_null($this->getDisplay())) {
124
+        if (!is_null($this->getModelForOptions()) && !is_null($this->getDisplay())) {
125 125
             $this->setOptions(
126 126
                 $this->loadOptions()
127 127
             );
Please login to merge, or discard this patch.