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

BaseCrudTrait   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A getPackageAliases() 0 5 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\Config\CrudTrait;
4
5
use Backpack\CRUD\Tests\BaseTestClass;
6
7
abstract class BaseCrudTrait extends BaseTestClass
8
{
9
    protected function getPackageAliases($app)
0 ignored issues
show
Unused Code introduced by
The parameter $app is not used and could be removed. ( Ignorable by Annotation )

If this is a false-positive, you can also ignore this issue in your code via the ignore-unused  annotation

9
    protected function getPackageAliases(/** @scrutinizer ignore-unused */ $app)

This check looks for parameters that have been defined for a function or method, but which are not used in the method body.

Loading history...
10
    {
11
        return [
12
            '\App' => \Illuminate\Support\Facades\App::class,
13
            '\Request' => \Illuminate\Support\Facades\Request::class,
14
        ];
15
    }
16
}
17