Asset
last analyzed

Complexity

Total Complexity 0

Size/Duplication

Total Lines 34
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 0
eloc 16
c 0
b 0
f 0
dl 0
loc 34
1
<?php
2
/**
3
 * Sailor theme for hiqdev/yii2-thememanager
4
 *
5
 * @link      https://github.com/hiqdev/yii2-theme-sailor
6
 * @package   yii2-theme-sailor
7
 * @license   BSD-3-Clause
8
 * @copyright Copyright (c) 2017-2018, HiQDev (http://hiqdev.com/)
9
 */
10
11
namespace hiqdev\themes\sailor;
12
13
use yii\bootstrap\BootstrapPluginAsset;
0 ignored issues
show
Bug introduced by
The type yii\bootstrap\BootstrapPluginAsset was not found. Maybe you did not declare it correctly or list all dependencies?

The issue could also be caused by a filter entry in the build configuration. If the path has been excluded in your configuration, e.g. excluded_paths: ["lib/*"], you can move it to the dependency path list as follows:

filter:
    dependency_paths: ["lib/*"]

For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths

Loading history...
14
use yii\web\AssetBundle;
15
16
/**
17
 * Theme main asset bundle.
18
 */
19
class Asset extends AssetBundle
20
{
21
    /**
22
     * {@inheritdoc}
23
     */
24
    public $sourcePath = '@hiqdev/themes/sailor/assets';
25
26
    /**
27
     * {@inheritdoc}
28
     */
29
    public $css = [
30
        'css/style.css',
31
        'skins/blue.css',
32
        'bodybg/bg2.css',
33
        'css/custom.css',
34
    ];
35
36
    /**
37
     * {@inheritdoc}
38
     */
39
    public $js = [
40
        'js/modernizr.custom.js',
41
        'js/jquery.easing.1.3.js',
42
        'js/jquery.appear.js',
43
        'js/custom.js',
44
    ];
45
46
    /**
47
     * {@inheritdoc}
48
     */
49
    public $depends = [
50
        BootstrapPluginAsset::class,
51
        FlexSliderAsset::class,
52
        CubePortfolioAsset::class,
53
    ];
54
}
55