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

NpmAllAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 10
c 1
b 0
f 0
dl 0
loc 31
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\js;
4
5
use yii\web\AssetBundle;
6
7
/**
8
 * NpmAllAsset
9
 *
10
 * The asset font awesome free all css svg minified
11
 **/
12
class NpmAllAsset extends AssetBundle
13
{
14
    /**
15
     * @var array $js
16
     */
17
    public $js = [
18
        'js/all.min.js',
19
    ];
20
21
    /**
22
     * @var array $publishOptions
23
     */
24
    public $publishOptions = [
25
        'only' => [
26
            'js/all.min.js',
27
            'js/fontawesome.min.js',
28
            'svgs/*',
29
        ],
30
    ];
31
32
    /**
33
     * @var string $sourcePath
34
     */
35
    public $sourcePath = '@npm/fortawesome--fontawesome-free/';
36
37
    /**
38
     * init
39
     */
40 3
    public function init(): void
41
    {
42 3
        parent::init();
43 3
    }
44
}
45