PlayerFeedback
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 0
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 15
1
<?php
2
3
/*
4
 * rmarchiv.tk
5
 * (c) 2016-2017 by Marcel 'ryg' Hering
6
 */
7
8
namespace App\Models;
9
10
use Illuminate\Database\Eloquent\Model;
11
12
/**
13
 * Class PlayerFeedback.
14
 *
15
 * @property int $id
16
 * @property int $gamefile_id
17
 * @property int $user_id
18
 * @property string $issue_desc
19
 * @property string $known_patches
20
 * @property string $steps_to
21
 * @property int $savegame_slot
22
 * @property \Carbon\Carbon|null $created_at
23
 * @property \Carbon\Carbon|null $updated_at
24
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereCreatedAt($value)
25
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereGamefileId($value)
26
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereId($value)
27
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereIssueDesc($value)
28
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereKnownPatches($value)
29
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereSavegameSlot($value)
30
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereStepsTo($value)
31
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereUpdatedAt($value)
32
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\PlayerFeedback whereUserId($value)
33
 * @mixin \Eloquent
34
 */
35
class PlayerFeedback extends Model
36
{
37
    public $timestamps = true;
0 ignored issues
show
Coding Style introduced by
Equals sign not aligned with surrounding assignments; expected 2 spaces but found 1 space

This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.

To visualize

$a = "a";
$ab = "ab";
$abc = "abc";

will produce issues in the first and second line, while this second example

$a   = "a";
$ab  = "ab";
$abc = "abc";

will produce no issues.

Loading history...
38
    protected $table = 'player_feedback';
0 ignored issues
show
Coding Style introduced by
Equals sign not aligned with surrounding assignments; expected 4 spaces but found 1 space

This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.

To visualize

$a = "a";
$ab = "ab";
$abc = "abc";

will produce issues in the first and second line, while this second example

$a   = "a";
$ab  = "ab";
$abc = "abc";

will produce no issues.

Loading history...
39
    protected $fillable = [
40
        'gamefile_id',
41
        'user_id',
42
        'issue_desc',
43
        'known_patches',
44
        'steps_to',
45
        'savegame_slot',
46
    ];
47
48
    protected $guarded = [];
49
}
50