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 development (1ea943)
by butschster
05:38
created
src/Form/FormPanel.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@  discard block
 block discarded – undo
40 40
      */
41 41
     public function setItems($items)
42 42
     {
43
-        if (! is_array($items)) {
43
+        if (!is_array($items)) {
44 44
             $items = func_get_args();
45 45
         }
46 46
 
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
      */
69 69
     public function addHeader($items)
70 70
     {
71
-        if (! is_array($items)) {
71
+        if (!is_array($items)) {
72 72
             $items = func_get_args();
73 73
         }
74 74
 
@@ -84,7 +84,7 @@  discard block
 block discarded – undo
84 84
      */
85 85
     public function addBody($items)
86 86
     {
87
-        if (! is_array($items)) {
87
+        if (!is_array($items)) {
88 88
             $items = func_get_args();
89 89
         }
90 90
 
@@ -104,7 +104,7 @@  discard block
 block discarded – undo
104 104
      */
105 105
     public function addFooter($items)
106 106
     {
107
-        if (! is_array($items)) {
107
+        if (!is_array($items)) {
108 108
             $items = func_get_args();
109 109
         }
110 110
 
Please login to merge, or discard this patch.
src/Form/Element/Custom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct(Closure $callback = null)
26 26
     {
27
-        if (! is_null($callback)) {
27
+        if (!is_null($callback)) {
28 28
             $this->setCallback($callback);
29 29
         }
30 30
 
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
@@ -14,13 +14,13 @@
 block discarded – undo
14 14
      */
15 15
     protected static function validate(\Illuminate\Validation\Validator $validator)
16 16
     {
17
-        $validator->after(function ($validator) {
17
+        $validator->after(function($validator) {
18 18
             /** @var \Illuminate\Http\UploadedFile $file */
19 19
             $file = array_get($validator->attributes(), 'file');
20 20
 
21 21
             $size = getimagesize($file->getRealPath());
22 22
 
23
-            if (! $size) {
23
+            if (!$size) {
24 24
                 $validator->errors()->add('file', trans('sleeping_owl::validation.not_image'));
25 25
             }
26 26
         });
Please login to merge, or discard this patch.
src/Form/Element/Upload.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
 
32 32
         if (Request::input($this->getPath().'_remove')) {
33 33
             $this->setValue($this->getModel(), $this->getAttribute(), null);
34
-        } elseif (! is_null($value)) {
34
+        } elseif (!is_null($value)) {
35 35
             $this->setValue($this->getModel(), $this->getAttribute(), $value);
36 36
         }
37 37
     }
Please login to merge, or discard this patch.
src/Display/Filter/FilterField.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,8 +38,8 @@
 block discarded – undo
38 38
             $relationName = implode('.', $parts);
39 39
         }
40 40
 
41
-        if (! is_null($relationName)) {
42
-            $query->whereHas($relationName, function ($q) use ($name, $value) {
41
+        if (!is_null($relationName)) {
42
+            $query->whereHas($relationName, function($q) use ($name, $value) {
43 43
                 $this->buildQuery($q, $name, $value);
44 44
             });
45 45
         } else {
Please login to merge, or discard this patch.
src/Display/Filter/FilterCustom.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -24,7 +24,7 @@
 block discarded – undo
24 24
      */
25 25
     public function __construct(Closure $callback = null)
26 26
     {
27
-        if (! is_null($callback)) {
27
+        if (!is_null($callback)) {
28 28
             $this->setCallback($callback);
29 29
         }
30 30
 
Please login to merge, or discard this patch.
src/Form/FormButtons.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -313,11 +313,11 @@  discard block
 block discarded – undo
313 313
      */
314 314
     public function isShowDeleteButton()
315 315
     {
316
-        if (is_null($this->getModel()->getKey()) || ! $this->showDeleteButton) {
316
+        if (is_null($this->getModel()->getKey()) || !$this->showDeleteButton) {
317 317
             return false;
318 318
         }
319 319
 
320
-        $this->showDeleteButton = ! $this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel());
320
+        $this->showDeleteButton = !$this->isTrashed() && $this->getModelConfiguration()->isDeletable($this->getModel());
321 321
 
322 322
         return $this->showDeleteButton;
323 323
     }
@@ -337,7 +337,7 @@  discard block
 block discarded – undo
337 337
      */
338 338
     public function isShowDestroyButton()
339 339
     {
340
-        if (is_null($this->getModel()->getKey()) || ! $this->showDestroyButton) {
340
+        if (is_null($this->getModel()->getKey()) || !$this->showDestroyButton) {
341 341
             return false;
342 342
         }
343 343
 
@@ -362,7 +362,7 @@  discard block
 block discarded – undo
362 362
      */
363 363
     public function isShowRestoreButton()
364 364
     {
365
-        if (is_null($this->getModel()->getKey()) || ! $this->showRestoreButton) {
365
+        if (is_null($this->getModel()->getKey()) || !$this->showRestoreButton) {
366 366
             return false;
367 367
         }
368 368
 
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
@@ -27,7 +27,7 @@  discard block
 block discarded – undo
27 27
      */
28 28
     public function getDefaultFrom()
29 29
     {
30
-        if (! $this->defaultFrom) {
30
+        if (!$this->defaultFrom) {
31 31
             $this->defaultFrom = Carbon::now();
32 32
         }
33 33
 
@@ -53,7 +53,7 @@  discard block
 block discarded – undo
53 53
      */
54 54
     public function getDefaultTo()
55 55
     {
56
-        if (! $this->defaultTo) {
56
+        if (!$this->defaultTo) {
57 57
             $this->defaultTo = Carbon::now();
58 58
         }
59 59
 
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function setValue(Model $model, $attribute, $value)
83 83
     {
84
-        $value = ! empty($value) ? array_map(function ($date) {
84
+        $value = !empty($value) ? array_map(function($date) {
85 85
             return Carbon::createFromFormat($this->getPickerFormat(), $date);
86 86
         }, explode('::', $value)) : null;
87 87
 
Please login to merge, or discard this patch.
src/Form/Element/DateTime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -49,7 +49,7 @@  discard block
 block discarded – undo
49 49
     public function getValue()
50 50
     {
51 51
         $value = parent::getValue();
52
-        if (! empty($value)) {
52
+        if (!empty($value)) {
53 53
             return $this->parseValue($value);
54 54
         }
55 55
     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
      */
82 82
     public function setValue(Model $model, $attribute, $value)
83 83
     {
84
-        $value = ! empty($value) ? Carbon::createFromFormat($this->getPickerFormat(), $value)->format($this->getFormat()) : null;
84
+        $value = !empty($value) ? Carbon::createFromFormat($this->getPickerFormat(), $value)->format($this->getFormat()) : null;
85 85
 
86 86
         parent::setValue($model, $attribute, $value);
87 87
     }
Please login to merge, or discard this patch.