1 | <?php |
||
20 | class ComposerController extends \hidev\base\Controller |
||
21 | { |
||
22 | protected $_before = ['composer.json']; |
||
23 | |||
24 | /** |
||
25 | * Does `composer install` |
||
26 | */ |
||
27 | public function actionIndex() |
||
31 | |||
32 | /** |
||
33 | * Does `composer install` |
||
34 | */ |
||
35 | public function actionInstall() |
||
39 | |||
40 | /** |
||
41 | * Does `composer install` |
||
42 | */ |
||
43 | public function actionUpdate() |
||
47 | |||
48 | /** |
||
49 | * Does `composer self-update` |
||
50 | */ |
||
51 | public function actionSelfUpdate($version = null) |
||
55 | |||
56 | public function doInstall() |
||
62 | |||
63 | public function doUpdate() |
||
67 | |||
68 | public function run($command, $dir = null) |
||
81 | } |
||
82 |
This check looks from parameters that have been defined for a function or method, but which are not used in the method body.