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 = 12-12 lines in 2 locations

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

@@ 54-65 (lines=12) @@
51
     *
52
     * @return Response
53
     */
54
    public function create()
55
    {
56
        $this->crud->hasAccessOrFail('create');
57
58
        // prepare the fields you need to show
59
        $this->data['crud'] = $this->crud;
60
        $this->data['fields'] = $this->crud->getCreateFields();
61
        $this->data['title'] = trans('backpack::crud.add').' '.$this->crud->entity_name;
62
63
        // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
64
        return view('crud::create', $this->data);
65
    }
66
67
    /**
68
     * Store a newly created resource in the database.
@@ 169-180 (lines=12) @@
166
     *
167
     * @return Response
168
     */
169
    public function show($id)
170
    {
171
        $this->crud->hasAccessOrFail('show');
172
173
        // get the info for that entry
174
        $this->data['entry'] = $this->crud->getEntry($id);
175
        $this->data['crud'] = $this->crud;
176
        $this->data['title'] = trans('backpack::crud.preview').' '.$this->crud->entity_name;
177
178
        // load the view from /resources/views/vendor/backpack/crud/ if it exists, otherwise load the one in the package
179
        return view('crud::show', $this->data);
180
    }
181
182
    /**
183
     * Display the revisions for specified resource.