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 ( 55d99f...ee0bb8 )
by
unknown
19:51 queued 10:08
created
src/Form/Element/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -42,7 +42,7 @@
 block discarded – undo
42 42
 
43 43
         if ($request->input($this->getPath().'_remove')) {
44 44
             $this->setModelAttribute(null);
45
-        } elseif (! is_null($value)) {
45
+        } elseif (!is_null($value)) {
46 46
             $this->setModelAttribute($value);
47 47
         }
48 48
     }
Please login to merge, or discard this patch.
src/Form/Element/Image.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -27,13 +27,13 @@
 block discarded – undo
27 27
      */
28 28
     public function customValidation(Validator $validator)
29 29
     {
30
-        $validator->after(function ($validator) {
30
+        $validator->after(function($validator) {
31 31
             /** @var \Illuminate\Http\UploadedFile $file */
32 32
             $file = array_get($validator->attributes(), 'file');
33 33
 
34 34
             $size = getimagesize($file->getRealPath());
35 35
 
36
-            if (! $size) {
36
+            if (!$size) {
37 37
                 $validator->errors()->add('file', trans('sleeping_owl::validation.not_image'));
38 38
             }
39 39
         });
Please login to merge, or discard this patch.
src/Form/Element/Password.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     {
24 24
         $value = $this->getValueFromModel();
25 25
 
26
-        if (! $this->isAllowedEmptyValue() and $this->getModel()->exists and empty($value)) {
26
+        if (!$this->isAllowedEmptyValue() and $this->getModel()->exists and empty($value)) {
27 27
             return;
28 28
         }
29 29
 
@@ -37,7 +37,7 @@  discard block
 block discarded – undo
37 37
     {
38 38
         $data = parent::getValidationRules();
39 39
 
40
-        if (! $this->isAllowedEmptyValue() and $this->getModel()->exists) {
40
+        if (!$this->isAllowedEmptyValue() and $this->getModel()->exists) {
41 41
             foreach ($data as $field => $rules) {
42 42
                 foreach ($rules as $i => $rule) {
43 43
                     if ($rule == 'required') {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
      */
74 74
     public function hashWithBcrypt()
75 75
     {
76
-        return $this->mutateValue(function ($value) {
76
+        return $this->mutateValue(function($value) {
77 77
             return bcrypt($value);
78 78
         });
79 79
     }
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
      */
84 84
     public function hashWithMD5()
85 85
     {
86
-        return $this->mutateValue(function ($value) {
86
+        return $this->mutateValue(function($value) {
87 87
             return md5($value);
88 88
         });
89 89
     }
@@ -93,7 +93,7 @@  discard block
 block discarded – undo
93 93
      */
94 94
     public function hashWithSHA1()
95 95
     {
96
-        return $this->mutateValue(function ($value) {
96
+        return $this->mutateValue(function($value) {
97 97
             return sha1($value);
98 98
         });
99 99
     }
Please login to merge, or discard this patch.
src/Form/Element/Wysiwyg.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -165,7 +165,7 @@
 block discarded – undo
165 165
      */
166 166
     public function setModelAttribute($value)
167 167
     {
168
-        if (! empty($this->filteredFieldKey)) {
168
+        if (!empty($this->filteredFieldKey)) {
169 169
             parent::setModelAttribute($value);
170 170
 
171 171
             $this->setModelAttributeKey($this->filteredFieldKey);
Please login to merge, or discard this patch.
src/Form/Element/Images.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
      */
16 16
     public function storeAsJson()
17 17
     {
18
-        $this->mutateValue(function ($value) {
18
+        $this->mutateValue(function($value) {
19 19
             return json_encode($value);
20 20
         });
21 21
 
@@ -29,7 +29,7 @@  discard block
 block discarded – undo
29 29
      */
30 30
     public function storeAsComaSeparatedValue()
31 31
     {
32
-        $this->mutateValue(function ($value) {
32
+        $this->mutateValue(function($value) {
33 33
             return implode(',', $value);
34 34
         });
35 35
 
@@ -46,7 +46,7 @@  discard block
 block discarded – undo
46 46
         $name = $this->getName();
47 47
         $value = $request->input($name, '');
48 48
 
49
-        if (! empty($value)) {
49
+        if (!empty($value)) {
50 50
             $value = explode(',', $value);
51 51
         } else {
52 52
             $value = [];
Please login to merge, or discard this patch.
src/Form/Element/DateRange.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
      */
32 32
     public function getDefaultFrom()
33 33
     {
34
-        if (! $this->defaultFrom) {
34
+        if (!$this->defaultFrom) {
35 35
             $this->defaultFrom = Carbon::now();
36 36
         }
37 37
 
@@ -57,7 +57,7 @@  discard block
 block discarded – undo
57 57
      */
58 58
     public function getDefaultTo()
59 59
     {
60
-        if (! $this->defaultTo) {
60
+        if (!$this->defaultTo) {
61 61
             $this->defaultTo = Carbon::now();
62 62
         }
63 63
 
@@ -85,7 +85,7 @@  discard block
 block discarded – undo
85 85
      */
86 86
     public function setModelAttribute($value)
87 87
     {
88
-        $value = ! empty($value) ? array_map(function ($date) {
88
+        $value = !empty($value) ? array_map(function($date) {
89 89
             return Carbon::createFromFormat($this->getPickerFormat(), $date);
90 90
         }, explode('::', $value)) : null;
91 91
 
Please login to merge, or discard this patch.
src/Form/Element/DependentSelect.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@
 block discarded – undo
14 14
     {
15 15
         $routeName = 'admin.form.element.dependent-select';
16 16
 
17
-        if (! $router->has($routeName)) {
17
+        if (!$router->has($routeName)) {
18 18
             $router->post('{adminModel}/dependent-select/{field}/{id?}', [
19 19
                 'as' => $routeName,
20 20
                 'uses' => 'SleepingOwl\Admin\Http\Controllers\FormElementController@dependentSelect',
Please login to merge, or discard this patch.
src/Providers/BreadcrumbsServiceProvider.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -20,7 +20,7 @@
 block discarded – undo
20 20
      */
21 21
     public function register()
22 22
     {
23
-        $this->app->singleton('sleeping_owl.breadcrumbs', function () {
23
+        $this->app->singleton('sleeping_owl.breadcrumbs', function() {
24 24
             return $this->app->make(\SleepingOwl\Admin\Templates\Breadcrumbs::class);
25 25
         });
26 26
     }
Please login to merge, or discard this patch.
src/Traits/SelectOptionsFromModel.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@  discard block
 block discarded – undo
59 59
             $modelForOptions = app($modelForOptions);
60 60
         }
61 61
 
62
-        if (! ($modelForOptions instanceof Model)) {
62
+        if (!($modelForOptions instanceof Model)) {
63 63
             throw new SelectException('Class must be instanced of Illuminate\Database\Eloquent\Model');
64 64
         }
65 65
 
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
      */
106 106
     public function setFetchColumns($columns)
107 107
     {
108
-        if (! is_array($columns)) {
108
+        if (!is_array($columns)) {
109 109
             $columns = func_get_args();
110 110
         }
111 111
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
 
201 201
         $options = $repository->getQuery();
202 202
 
203
-        if ($this->isEmptyRelation() and ! is_null($foreignKey = $this->getForeignKey())) {
203
+        if ($this->isEmptyRelation() and !is_null($foreignKey = $this->getForeignKey())) {
204 204
             $relation = $this->getModelAttributeKey();
205 205
             $model = $this->getModel();
206 206
 
@@ -216,7 +216,7 @@  discard block
 block discarded – undo
216 216
         }
217 217
 
218 218
         // call the pre load options query preparer if has be set
219
-        if (! is_null($preparer = $this->getLoadOptionsQueryPreparer())) {
219
+        if (!is_null($preparer = $this->getLoadOptionsQueryPreparer())) {
220 220
             $options = $preparer($this, $options);
221 221
         }
222 222
 
@@ -230,7 +230,7 @@  discard block
 block discarded – undo
230 230
 
231 231
             // iterate for all options and redefine it as
232 232
             // list of KEY and TEXT pair
233
-            $options = array_map(function ($opt) use ($key, $makeDisplay) {
233
+            $options = array_map(function($opt) use ($key, $makeDisplay) {
234 234
                 // get the KEY and make the display text
235 235
                 return [data_get($opt, $key), $makeDisplay($opt)];
236 236
             }, $options);
Please login to merge, or discard this patch.