License
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 11
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 11
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 License.
14
 *
15
 * @property int $id
16
 * @property string $title
17
 * @property string $icon
18
 * @property \Carbon\Carbon|null $created_at
19
 * @property \Carbon\Carbon|null $updated_at
20
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\License whereCreatedAt($value)
21
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\License whereIcon($value)
22
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\License whereId($value)
23
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\License whereTitle($value)
24
 * @method static \Illuminate\Database\Eloquent\Builder|\App\Models\License whereUpdatedAt($value)
25
 * @mixin \Eloquent
26
 */
27
class License extends Model
28
{
29
    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...
30
    protected $table = 'licenses';
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...
31
    protected $fillable = [
32
        'title',
33
        'icon',
34
    ];
35
36
    protected $guarded = [];
37
}
38