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

src/PanelTraits/Buttons.php 1 location

@@ 96-111 (lines=16) @@
93
     * @param  array $modifications  The attributes and their new values.
94
     * @return button                The button that has suffered the changes, for daisychaining methods.
95
     */
96
    public function modifyButton($name, $modifications = null)
97
    {
98
        $button = $this->buttons()->firstWhere('name', $name);
99
100
        if (! $button) {
101
            abort(500, 'CRUD Button "'.$name.'" not found. Please check the button exists before you modify it.');
102
        }
103
104
        if (is_array($modifications)) {
105
            foreach ($modifications as $key => $value) {
106
                $button->{$key} = $value;
107
            }
108
        }
109
110
        return $button;
111
    }
112
113
    /**
114
     * Remove a button from the CRUD panel.

src/PanelTraits/Filters.php 1 location

@@ 145-160 (lines=16) @@
142
     * @param  array $modifications  An array of changes to be made.
143
     * @return filter                The filter that has suffered modifications, for daisychaining methods.
144
     */
145
    public function modifyFilter($name, $modifications)
146
    {
147
        $filter = $this->filters->firstWhere('name', $name);
148
149
        if (! $filter) {
150
            abort(500, 'CRUD Filter "'.$name.'" not found. Please check the filter exists before you modify it.');
151
        }
152
153
        if (is_array($modifications)) {
154
            foreach ($modifications as $key => $value) {
155
                $filter->{$key} = $value;
156
            }
157
        }
158
159
        return $filter;
160
    }
161
162
    public function removeFilter($name)
163
    {