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/CrudTrait.php 2 locations

@@ 236-240 (lines=5) @@
233
        $disk_root = $disk_config['root'];
234
235
        //if the disk is public, we need to know the public path
236
        if ($disk_config['visibility'] == 'public') {
237
            $public_path = str_replace(public_path(), '', $disk_root);
238
        } else {
239
            $public_path = $disk_root;
240
        }
241
242
        // if a new file is uploaded, delete the file from the disk
243
        if (($request->hasFile($attribute_name) || starts_with($value, 'data:image')) && $this->{$attribute_name}) {
@@ 383-387 (lines=5) @@
380
                $disk_root = $disk_config['root'];
381
382
                //if the disk is public, we need to know the public path
383
                if ($disk_config['visibility'] == 'public') {
384
                    $public_path = str_replace(public_path(), '', $disk_root);
385
                } else {
386
                    $public_path = $disk_root;
387
                }
388
389
                if (\Storage::disk($disk)->exists($image_variant)) {
390
                    $url = asset($public_path.'/'.$image_variant);