| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 3 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 20 | 5 | public function getCommand() |
|
| 21 | { |
||
| 22 | return array( |
||
| 23 | 5 | $this->configuration['cf_bin'], |
|
| 24 | 5 | 'login', |
|
| 25 | 5 | '-u', $this->configuration['cf_username'], |
|
| 26 | 5 | '-p' , $this->configuration['cf_password'], |
|
| 27 | 5 | '-o' , $this->configuration['cf_org'], |
|
| 28 | 5 | '-s' , $this->configuration['cf_space'], |
|
| 29 | 5 | '-a' , $this->configuration['cf_api_url'] |
|
| 30 | 5 | ); |
|
| 31 | } |
||
| 32 | } |
||
| 33 |