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

NpmBrandAsset   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 38
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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