Total Complexity | 1 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class AutosizeAsset extends \yii\web\AssetBundle |
||
15 | { |
||
16 | public $sourcePath = '@bower/autosize'; |
||
17 | |||
18 | public $js = [ |
||
19 | 'dist/autosize.min.js', |
||
20 | ]; |
||
21 | |||
22 | /** |
||
23 | * @param View $view |
||
|
|||
24 | * @param string $inputSelector |
||
25 | * @return static |
||
26 | */ |
||
27 | public static function activate($view, string $inputSelector = '.autosize'): AutosizeAsset |
||
35 |
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:For further information see https://scrutinizer-ci.com/docs/tools/php/php-scrutinizer/#list-dependency-paths