| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 26 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 27 | { |
||
| 28 | $helper = $this->getHelper('question'); |
||
| 29 | $question = new Question('Enter your password:'); |
||
| 30 | |||
| 31 | $question->setHidden(true); |
||
| 32 | $question->setHiddenFallback(false); |
||
| 33 | |||
| 34 | $password = $helper->ask($input, $output, $question); |
||
| 35 | |||
| 36 | $this->client->doHandshake(); |
||
| 37 | $output->writeln($this->client->authenticate($password)); |
||
| 38 | |||
| 39 | return 0; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |