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

src/CrudTrait.php 2 locations

@@ 240-243 (lines=4) @@
237
238
        // if a new file is uploaded, delete the file from the disk
239
        if (($request->hasFile($attribute_name) || starts_with($value, 'data:image')) && $this->{$attribute_name}) {
240
            foreach ($variations as $variant => $dimensions) {
241
                $variant_name = str_replace('-original', '-'.$variant, $this->{$attribute_name});
242
                \Storage::disk($disk)->delete($variant_name);
243
            }
244
            $this->attributes[$attribute_name] = null;
245
        }
246
@@ 249-252 (lines=4) @@
246
247
        // if the file input is empty, delete the file from the disk
248
        if (empty($value)) {
249
            foreach ($variations as $variant => $dimensions) {
250
                $variant_name = str_replace('-original', '-'.$variant, $this->{$attribute_name});
251
                \Storage::disk($disk)->delete($variant_name);
252
            }
253
254
            return $this->attributes[$attribute_name] = null;
255
        }