Conditions | 2 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 6 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | public function actionMake() |
||
28 | { |
||
29 | $this->runActions(['before_install', 'install']); |
||
30 | $res = $this->runActions(['before_script', 'script']); |
||
31 | $this->runAction(static::isNotOk($res) ? 'after_failure' : 'after_success'); |
||
32 | $this->runAction('after_script'); |
||
33 | |||
34 | return $res; |
||
35 | } |
||
36 | |||
72 |