Completed
Push — master ( 3ac182...d71655 )
by Wilmer
13:12 queued 09:23
created

NpmRegularAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 39
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 13
c 1
b 0
f 0
dl 0
loc 39
rs 10
ccs 2
cts 2
cp 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 3 1
1
<?php
2
3
namespace terabytesoft\assets\fontawesome\min\css;
4
5
use yii\web\AssetBundle;
6
7
/**
8
 * NpmRegularAsset
9
 *
10
 * The asset font awesome free regular css webFont minified
11
 **/
12
class NpmRegularAsset extends AssetBundle
13
{
14
    /**
15
     * @var array $css
16
     */
17
    public $css = [
18
        'css/regular.min.css',
19
    ];
20
21
    /**
22
     * @var array $depends
23
     */
24
    public $depends = [
25
        \terabytesoft\assets\fontawesome\min\css\NpmFontAwesomeAsset::class,
26
    ];
27
28
    /**
29
     * @var array $publishOptions
30
     */
31
    public $publishOptions = [
32
        'only' => [
33
            'css/fontawesome.css',
34
            'css/fontawesome.min.css',
35
            'css/regular.min.css',
36
            'svgs/regular/*',
37
        ],
38
    ];
39
40
    /**
41
     * @var string $sourcePath
42
     */
43
    public $sourcePath = '@npm/fortawesome--fontawesome-free/';
44
45
    /**
46
     * init
47
     */
48 3
    public function init(): void
49
    {
50 3
        parent::init();
51 3
    }
52
}
53