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

src/app/Http/Controllers/PermissionCrudController.php 1 location

@@ 58-65 (lines=8) @@
55
                'type'  => 'text',
56
            ]);
57
58
            if (config('backpack.permissionmanager.multiple_guards')) {
59
                $this->crud->addField([
60
                    'name'    => 'guard_name',
61
                    'label'   => trans('backpack::permissionmanager.guard_type'),
62
                    'type'    => 'select_from_array',
63
                    'options' => $this->getGuardTypes(),
64
                ]);
65
            }
66
67
            //otherwise, changes won't have effect
68
            \Cache::forget('spatie.permission.cache');

src/app/Http/Controllers/RoleCrudController.php 1 location

@@ 67-74 (lines=8) @@
64
                'type'  => 'text',
65
            ]);
66
67
            if (config('backpack.permissionmanager.multiple_guards')) {
68
                $this->crud->addField([
69
                    'name'    => 'guard_name',
70
                    'label'   => trans('backpack::permissionmanager.guard_type'),
71
                    'type'    => 'select_from_array',
72
                    'options' => $this->getGuardTypes(),
73
                ]);
74
            }
75
76
            $this->crud->addField([
77
                'label'     => ucfirst(trans('backpack::permissionmanager.permission_plural')),