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

Passed
Push — CrudButton-fixees ( a4c9f3...1a6e15 )
by Pedro
15:19
created

ButtonPositionEnum::getValues()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 1 Features 0
Metric Value
cc 1
eloc 1
c 1
b 1
f 0
nc 1
nop 0
dl 0
loc 3
rs 10
1
<?php
2
3
namespace Backpack\CRUD\app\Library\CrudPanel\Enums;
4
5
enum ButtonPositionEnum : string
6
{
7
    public const END = 'end';
8
    public const BEGINNING = 'beginning';
9
10
    public static function isValid($position): bool
11
    {
12
        return in_array($position, [self::END, self::BEGINNING]);
0 ignored issues
show
Bug introduced by
The constant Backpack\CRUD\app\Librar...ButtonPositionEnum::END was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
Bug introduced by
The constant Backpack\CRUD\app\Librar...PositionEnum::BEGINNING was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
13
    }
14
15
    public static function getValues(): array
16
    {
17
        return [self::END, self::BEGINNING];
0 ignored issues
show
Bug introduced by
The constant Backpack\CRUD\app\Librar...PositionEnum::BEGINNING was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
Bug introduced by
The constant Backpack\CRUD\app\Librar...ButtonPositionEnum::END was not found. Maybe you did not declare it correctly or list all dependencies?
Loading history...
18
    }
19
}