Completed
Push — master ( 536f20...20484c )
by Andrii
02:09
created

Bower::runInstall()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
c 1
b 0
f 0
dl 0
loc 6
rs 9.4286
cc 2
eloc 3
nc 2
nop 0
1
<?php
2
3
/*
4
 * Composer plugin for bower/npm assets
5
 *
6
 * @link      https://github.com/hiqdev/composer-asset-plugin
7
 * @package   composer-asset-plugin
8
 * @license   BSD-3-Clause
9
 * @copyright Copyright (c) 2015, HiQDev (http://hiqdev.com/)
10
 */
11
12
namespace hiqdev\composerassetplugin;
13
14
/**
15
 * Bower package manager class.
16
 *
17
 * @author Andrii Vasyliev <[email protected]>
18
 */
19
class Bower extends PackageManager
20
{
21
    /**
22
     * @inheritdoc
23
     */
24
    protected $name = 'bower';
25
26
    /**
27
     * @inheritdoc
28
     */
29
    public $file = 'bower.json';
30
31
    /**
32
     * @inheritdoc
33
     */
34
    public $phpPackage = 'beelab/bowerphp';
35
36
    /**
37
     * @inheritdoc
38
     */
39
    public $phpBin = 'bowerphp';
40
41
    /**
42
     * Minimal bower config.
43
     */
44
    protected $config = [
45
        'name'        => 'composer-asset-plugin',
46
        'description' => "This file is auto-generated with 'hiqdev/composer-asset-plugin'.",
47
    ];
48
}
49