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

Test Failed
Pull Request — main (#5478)
by Pedro
27:58
created

UserWithTranslations   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Importance

Changes 2
Bugs 1 Features 1
Metric Value
eloc 4
c 2
b 1
f 1
dl 0
loc 11
rs 10
wmc 2

3 Methods

Rating   Name   Duplication   Size   Complexity  
A hp$0 ➔ getColumnType() 0 3 1
getDbTableSchema() 0 7 ?
A hp$0 ➔ getDbTableSchema() 0 7 1
1
<?php
2
3
namespace Backpack\CRUD\Tests\config\Models;
4
5
class UserWithTranslations extends User
6
{
7
    use Traits\HasTranslationsFake;
8
9
    public static function getDbTableSchema()
10
    {
11
        return new class
12
        {
13
            public function getColumnType($column)
14
            {
15
                return $column;
16
            }
17
        };
18
    }
19
}
20