Issues (587)

instantanalytics/InstantAnalyticsAsset.php (9 issues)

1
<?php
2
/**
3
 * Instant Analytics plugin for Craft CMS
4
 *
5
 * Instant Analytics brings full Google Analytics support to your Twig templates
6
 *
7
 * @link      https://nystudio107.com
0 ignored issues
show
The tag in position 1 should be the @copyright tag
Loading history...
8
 * @copyright Copyright (c) 2017 nystudio107
0 ignored issues
show
@copyright tag must contain a year and the name of the copyright holder
Loading history...
9
 */
0 ignored issues
show
PHP version not specified
Loading history...
Missing @category tag in file comment
Loading history...
Missing @package tag in file comment
Loading history...
Missing @author tag in file comment
Loading history...
Missing @license tag in file comment
Loading history...
10
11
namespace nystudio107\instantanalytics\assetbundles\instantanalytics;
12
13
use craft\web\AssetBundle;
14
use craft\web\assets\cp\CpAsset;
15
use craft\web\assets\vue\VueAsset;
16
17
class InstantAnalyticsAsset extends AssetBundle
0 ignored issues
show
Missing doc comment for class InstantAnalyticsAsset
Loading history...
18
{
19
    // Public Methods
20
    // =========================================================================
21
22
    /**
23
     * Initializes the bundle.
24
     */
0 ignored issues
show
Missing @return tag in function comment
Loading history...
25
    public function init()
26
    {
27
        // define the path that your publishable resources live
28
        $this->sourcePath = '@nystudio107/instantanalytics/web/assets/dist';
29
30
        // define the dependencies
31
        $this->depends = [
32
            CpAsset::class,
33
            VueAsset::class,
34
        ];
35
36
        parent::init();
37
    }
38
}
39