GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 1db939...f19805 )
by Steve
05:44
created

AuditAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 7 1
1
<?php
2
3
namespace bedezign\yii2\audit\web;
4
5
use bedezign\yii2\audit\components\web\Helper;
6
use yii\web\AssetBundle;
7
8
/**
9
 * AuditAsset
10
 * @package bedezign\yii2\audit\assets
11
 */
12
class AuditAsset extends AssetBundle
13
{
14
    /**
15
     * @inheritdoc
16
     */
17
    public $sourcePath = '@bedezign/yii2/audit/web/assets';
18
19
    /**
20
     * @inheritdoc
21
     */
22
    public $css = [
23
        'css/audit.css',
24
    ];
25
26
    public function init()
27
    {
28
        $this->depends = [
29
            Helper::bootstrapAsset()
30
        ];
31
        parent::init();
32
    }
33
}