GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.

InfiniteAjaxScrollAsset   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 26
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 6
Bugs 1 Features 1
Metric Value
wmc 1
c 6
b 1
f 1
lcom 1
cbo 1
dl 0
loc 26
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 13 1
1
<?php
2
3
namespace kop\y2sp\assets;
4
5
use yii\web\AssetBundle;
6
7
/**
8
 * This is "InfiniteAjaxScrollAsset" class.
9
 *
10
 * This class is an asset bundle for {@link http://infiniteajaxscroll.com/ JQuery Infinite Ajax Scroll plugin}.
11
 *
12
 * @link      http://kop.github.io/yii2-scroll-pager Y2SP project page.
13
 * @license   https://github.com/kop/yii2-scroll-pager/blob/master/LICENSE.md MIT
14
 *
15
 * @author    Ivan Koptiev <[email protected]>
16
 */
17
class InfiniteAjaxScrollAsset extends AssetBundle
18
{
19
    /**
20
     * @var array List of bundle class names that this bundle depends on.
21
     */
22
    public $depends = [
23
        'yii\web\JqueryAsset',
24
    ];
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public function init()
30
    {
31
        $this->sourcePath = '@vendor/webcreate/jquery-ias/src';
32
        $this->js = [
33
            'callbacks.js',
34
            'jquery-ias.js',
35
            'extension/history.js',
36
            'extension/noneleft.js',
37
            'extension/paging.js',
38
            'extension/spinner.js',
39
            'extension/trigger.js'
40
        ];
41
    }
42
}
43