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/Operations/Create.php 1 location

@@ 43-47 (lines=5) @@
40
        }
41
42
        // replace empty values with NULL, so that it will work with MySQL strict mode on
43
        foreach ($request->input() as $key => $value) {
44
            if (empty($value) && $value !== '0') {
45
                $request->request->set($key, null);
46
            }
47
        }
48
49
        // insert item in the db
50
        $item = $this->crud->create($request->except(['save_action', '_token', '_method', 'current_tab']));

src/app/Http/Controllers/Operations/Update.php 1 location

@@ 51-55 (lines=5) @@
48
        }
49
50
        // replace empty values with NULL, so that it will work with MySQL strict mode on
51
        foreach ($request->input() as $key => $value) {
52
            if (empty($value) && $value !== '0') {
53
                $request->request->set($key, null);
54
            }
55
        }
56
57
        // update the row in the db
58
        $item = $this->crud->update($request->get($this->crud->model->getKeyName()),