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

Code Duplication    Length = 5-5 lines in 2 locations

src/app/Http/Controllers/CrudController.php 2 locations

@@ 170-174 (lines=5) @@
167
        }
168
169
        // replace empty values with NULL, so that it will work with MySQL strict mode on
170
        foreach ($request->input() as $key => $value) {
171
            if (empty($value) && $value !== '0') {
172
                $request->request->set($key, null);
173
            }
174
        }
175
176
        // update the row in the db
177
        $item = $this->crud->update($request->get($this->crud->model->getKeyName()),
@@ 110-114 (lines=5) @@
107
        }
108
109
        // replace empty values with NULL, so that it will work with MySQL strict mode on
110
        foreach ($request->input() as $key => $value) {
111
            if (empty($value) && $value !== '0') {
112
                $request->request->set($key, null);
113
            }
114
        }
115
116
        // insert item in the db
117
        $item = $this->crud->create($request->except(['save_action', '_token', '_method']));