| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | 1 | public function execute($target, Version $version, array $options = array()) |
|
| 40 | { |
||
| 41 | 1 | $this->output(sprintf('Exporting: <comment>0%%</comment>')); |
|
| 42 | |||
| 43 | 1 | $this->repository->export($version, $this->dest); |
|
| 44 | |||
| 45 | 1 | $this->output(sprintf('Exporting: <comment>100%%</comment>')); |
|
| 46 | |||
| 47 | 1 | return new ExecuteResult( |
|
| 48 | 1 | array('*') |
|
| 49 | ); |
||
| 50 | } |
||
| 51 | } |
||
| 52 |
Short variable names may make your code harder to understand. Variable names should be self-descriptive. This check looks for variable names who are shorter than a configured minimum.