Scrutinizer GitHub App not installed

We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.

Install GitHub App

Completed
Pull Request — master (#1935)
by Cristian
04:14 queued 02:00
created
src/app/Http/Controllers/Auth/RegisterController.php 1 patch
Doc Comments   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
      *
67 67
      * @param array $data
68 68
      *
69
-     * @return User
69
+     * @return \Illuminate\Contracts\Auth\Authenticatable
70 70
      */
71 71
     protected function create(array $data)
72 72
     {
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
      *
103 103
      * @param \Illuminate\Http\Request $request
104 104
      *
105
-     * @return \Illuminate\Http\Response
105
+     * @return \Illuminate\Http\RedirectResponse
106 106
      */
107 107
     public function register(Request $request)
108 108
     {
Please login to merge, or discard this patch.
src/app/Http/Controllers/Auth/ResetPasswordController.php 1 patch
Doc Comments   -1 removed lines patch added patch discarded remove patch
@@ -27,7 +27,6 @@
 block discarded – undo
27 27
     /**
28 28
      * Get the path the user should be redirected to after password reset.
29 29
      *
30
-     * @param \Illuminate\Http\Request $request
31 30
      *
32 31
      * @return string
33 32
      */
Please login to merge, or discard this patch.
src/app/Http/Middleware/CheckIfAdmin.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
     /**
30 30
      * Answer to unauthorized access request.
31 31
      *
32
-     * @param [type] $request [description]
32
+     * @param \Illuminate\Http\Request $request [description]
33 33
      *
34 34
      * @return [type] [description]
35 35
      */
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/AutoFocus.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
         return $this->getOperationSetting('autoFocusOnFirstField');
13 13
     }
14 14
 
15
+    /**
16
+     * @param boolean $value
17
+     */
15 18
     public function setAutoFocusOnFirstField($value)
16 19
     {
17 20
         return $this->setOperationSetting('autoFocusOnFirstField', (bool) $value);
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/Create.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -159,7 +159,7 @@
 block discarded – undo
159 159
      * @param \Illuminate\Database\Eloquent\Model $item          The current CRUD model.
160 160
      * @param array                               $formattedData The form data.
161 161
      *
162
-     * @return bool|null
162
+     * @return false|null
163 163
      */
164 164
     private function createRelationsForItem($item, $formattedData)
165 165
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     {
82 82
         $all_relation_fields = $this->getRelationFields();
83 83
 
84
-        return array_where($all_relation_fields, function ($value, $key) {
84
+        return array_where($all_relation_fields, function($value, $key) {
85 85
             return isset($value['pivot']) && $value['pivot'];
86 86
         });
87 87
     }
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/FakeFields.php 1 patch
Doc Comments   -2 removed lines patch added patch discarded remove patch
@@ -10,8 +10,6 @@
 block discarded – undo
10 10
      * plus the '_token' and 'redirect_after_save' variables.
11 11
      *
12 12
      * @param array    $requestInput The request input.
13
-     * @param string   $form         The CRUD form. Can be 'create' or 'update' . Default is 'create'.
14
-     * @param int|bool $id           The CRUD entry id in the case of the 'update' form.
15 13
      *
16 14
      * @see \Illuminate\Http\Request::all() For an example on how to get the request input.
17 15
      *
Please login to merge, or discard this patch.
src/app/Library/CrudPanel/Traits/Search.php 3 patches
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -35,6 +35,7 @@  discard block
 block discarded – undo
35 35
 
36 36
     /**
37 37
      * Apply the search logic for each CRUD column.
38
+     * @param string $searchTerm
38 39
      */
39 40
     public function applySearchLogicForColumn($query, $column, $searchTerm)
40 41
     {
@@ -230,7 +231,7 @@  discard block
 block discarded – undo
230 231
      *
231 232
      * @param string   $view
232 233
      * @param array    $column
233
-     * @param object   $entry
234
+     * @param \Illuminate\Database\Eloquent\Model   $entry
234 235
      * @param bool|int $rowNumber The number shown to the user as row number (index)
235 236
      *
236 237
      * @return string
Please login to merge, or discard this patch.
Indentation   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -210,10 +210,10 @@
 block discarded – undo
210 210
         // add the details_row button to the first column
211 211
         if ($this->getOperationSetting('detailsRow')) {
212 212
             $details_row_button = \View::make('crud::columns.details_row_button')
213
-                                           ->with('crud', $this)
214
-                                           ->with('entry', $entry)
215
-                                           ->with('row_number', $rowNumber)
216
-                                           ->render();
213
+                                            ->with('crud', $this)
214
+                                            ->with('entry', $entry)
215
+                                            ->with('row_number', $rowNumber)
216
+                                            ->render();
217 217
             $row_items[0] = $details_row_button.$row_items[0];
218 218
         }
219 219
 
Please login to merge, or discard this patch.
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
      */
23 23
     public function applySearchTerm($searchTerm)
24 24
     {
25
-        return $this->query->where(function ($query) use ($searchTerm) {
25
+        return $this->query->where(function($query) use ($searchTerm) {
26 26
             foreach ($this->columns() as $column) {
27 27
                 if (!isset($column['type'])) {
28 28
                     abort(400, 'Missing column type when trying to apply search term.');
@@ -82,7 +82,7 @@  discard block
 block discarded – undo
82 82
 
83 83
                 case 'select':
84 84
                 case 'select_multiple':
85
-                    $query->orWhereHas($column['entity'], function ($q) use ($column, $searchTerm) {
85
+                    $query->orWhereHas($column['entity'], function($q) use ($column, $searchTerm) {
86 86
                         $q->where($column['attribute'], 'like', '%'.$searchTerm.'%');
87 87
                     });
88 88
                     break;
Please login to merge, or discard this patch.
src/app/Models/Traits/CrudTrait.php 2 patches
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -69,7 +69,7 @@
 block discarded – undo
69 69
      *
70 70
      * @param array $columns - the database columns that contain the JSONs
71 71
      *
72
-     * @return Model
72
+     * @return CrudTrait
73 73
      */
74 74
     public function withFakes($columns = [])
75 75
     {
Please login to merge, or discard this patch.
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@
 block discarded – undo
233 233
         if ($files_to_clear) {
234 234
             foreach ($files_to_clear as $key => $filename) {
235 235
                 \Storage::disk($disk)->delete($filename);
236
-                $attribute_value = array_where($attribute_value, function ($value, $key) use ($filename) {
236
+                $attribute_value = array_where($attribute_value, function($value, $key) use ($filename) {
237 237
                     return $value != $filename;
238 238
                 });
239 239
             }
Please login to merge, or discard this patch.
src/helpers.php 1 patch
Doc Comments   +2 added lines, -1 removed lines patch added patch discarded remove patch
@@ -5,7 +5,7 @@  discard block
 block discarded – undo
5 5
      * Appends the configured backpack prefix and returns
6 6
      * the URL using the standard Laravel helpers.
7 7
      *
8
-     * @param $path
8
+     * @param string $path
9 9
      *
10 10
      * @return string
11 11
      */
@@ -156,6 +156,7 @@  discard block
 block discarded – undo
156 156
      * If that view doesn't exist, it will load the one from the original theme.
157 157
      *
158 158
      * @param string (see config/backpack/base.php)
159
+     * @param string $view
159 160
      *
160 161
      * @return string
161 162
      */
Please login to merge, or discard this patch.