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 ( ee0bb8...55d99f )
by
unknown
12:02
created
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.
src/Form/Element/DateTime.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
     public function getValueFromModel()
51 51
     {
52 52
         $value = parent::getValueFromModel();
53
-        if (! empty($value)) {
53
+        if (!empty($value)) {
54 54
             return $this->parseValue($value);
55 55
         }
56 56
     }
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
      */
83 83
     public function setModelAttribute($value)
84 84
     {
85
-        $value = ! empty($value)
85
+        $value = !empty($value)
86 86
             ? Carbon::createFromFormat($this->getPickerFormat(), $value)->format($this->getFormat())
87 87
             : null;
88 88
 
Please login to merge, or discard this patch.
src/Display/Column/Order.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -28,7 +28,7 @@  discard block
 block discarded – undo
28 28
     public static function registerRoutes(Router $router)
29 29
     {
30 30
         $routeName = 'admin.display.column.move-up';
31
-        if (! $router->has($routeName)) {
31
+        if (!$router->has($routeName)) {
32 32
             $router->post('{adminModel}/{adminModelId}/up', [
33 33
                 'as' => $routeName,
34 34
                 'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayColumnController@orderUp',
@@ -36,7 +36,7 @@  discard block
 block discarded – undo
36 36
         }
37 37
 
38 38
         $routeName = 'admin.display.column.move-down';
39
-        if (! $router->has($routeName)) {
39
+        if (!$router->has($routeName)) {
40 40
             $router->post('{adminModel}/{adminModelId}/down', [
41 41
                 'as' => $routeName,
42 42
                 'uses' => 'SleepingOwl\Admin\Http\Controllers\DisplayColumnController@orderDown',
@@ -56,7 +56,7 @@  discard block
 block discarded – undo
56 56
      */
57 57
     public function getModel()
58 58
     {
59
-        if (! in_array(OrderableModel::class, trait_uses_recursive($class = get_class($this->model)))) {
59
+        if (!in_array(OrderableModel::class, trait_uses_recursive($class = get_class($this->model)))) {
60 60
             throw new \Exception("Model [$class] should uses trait [SleepingOwl\\Admin\\Traits\\OrderableModel]");
61 61
         }
62 62
 
Please login to merge, or discard this patch.
src/Display/Column/Filter/Range.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -104,15 +104,15 @@
 block discarded – undo
104 104
         $from = $this->from->parseValue($from);
105 105
         $to = $this->to->parseValue($to);
106 106
 
107
-        if (! empty($from) && ! empty($to)) {
107
+        if (!empty($from) && !empty($to)) {
108 108
             $this->setOperator('between');
109 109
 
110 110
             return [$from, $to];
111
-        } elseif (! empty($from)) {
111
+        } elseif (!empty($from)) {
112 112
             $this->setOperator('greater_or_equal');
113 113
 
114 114
             return $from;
115
-        } elseif (! empty($to)) {
115
+        } elseif (!empty($to)) {
116 116
             $this->setOperator('less_or_equal');
117 117
 
118 118
             return $to;
Please login to merge, or discard this patch.
src/Display/Column/Filter/BaseColumnFilter.php 2 patches
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -119,7 +119,7 @@
 block discarded – undo
119 119
             $fieldName = array_pop($parts);
120 120
             $relationName = implode('.', $parts);
121 121
 
122
-            $query->whereHas($relationName, function ($q) use ($queryString, $fieldName) {
122
+            $query->whereHas($relationName, function($q) use ($queryString, $fieldName) {
123 123
                 $this->buildQuery($q, $fieldName, $queryString);
124 124
             });
125 125
         } else {
Please login to merge, or discard this patch.
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -60,7 +60,7 @@
 block discarded – undo
60 60
     }
61 61
 
62 62
     /**
63
-     * @param mixed $value
63
+     * @param string $value
64 64
      *
65 65
      * @return mixed
66 66
      */
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()) and ! is_null($this->getDisplay())) {
124
+        if (!is_null($this->getModelForOptions()) and !is_null($this->getDisplay())) {
125 125
             $this->setOptions(
126 126
                 $this->loadOptions()
127 127
             );
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
@@ -74,8 +74,8 @@
 block discarded – undo
74 74
      */
75 75
     protected function getFormatedDate($date)
76 76
     {
77
-        if (! is_null($date)) {
78
-            if (! $date instanceof Carbon) {
77
+        if (!is_null($date)) {
78
+            if (!$date instanceof Carbon) {
79 79
                 $date = Carbon::parse($date);
80 80
             }
81 81
 
Please login to merge, or discard this patch.