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

Completed
Push — master ( 5ea250...759401 )
by Cristian
01:31
created

UserUpdateCrudRequest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A rules() 0 8 1
1
<?php
2
3
namespace Backpack\PermissionManager\app\Http\Requests;
4
5
use Backpack\CRUD\app\Http\Requests\CrudRequest;
6
7
class UserUpdateCrudRequest extends CrudRequest
8
{
9
    /**
10
     * Get the validation rules that apply to the request.
11
     *
12
     * @return array
0 ignored issues
show
Documentation introduced by
Consider making the return type a bit more specific; maybe use array<string,string>.

This check looks for the generic type array as a return type and suggests a more specific type. This type is inferred from the actual code.

Loading history...
13
     */
14
    public function rules()
15
    {
16
        return [
17
            'email'    => 'required',
18
            'name'     => 'required',
19
            'password' => 'confirmed',
20
        ];
21
    }
22
}
23