@@ -91,7 +91,7 @@ |
||
| 91 | 91 | */ |
| 92 | 92 | public function getPassword() |
| 93 | 93 | { |
| 94 | - $password = $this->promptSilent($this->output, 'Please enter password for your push service account "' . $this->configuration->getJiraUser() . '":'); |
|
| 94 | + $password = $this->promptSilent($this->output, 'Please enter password for your push service account "'.$this->configuration->getJiraUser().'":'); |
|
| 95 | 95 | if (empty($password)) { |
| 96 | 96 | $this->output->writeln('<error>Empty password is not possible...</error>'); |
| 97 | 97 | |
@@ -119,12 +119,12 @@ |
||
| 119 | 119 | if ($lastBooking->getTicketId() === PauseEntity::PAUSE_TAG_START) { |
| 120 | 120 | // create a new pause instance |
| 121 | 121 | $now = new \DateTime(); |
| 122 | - $pause = new PauseEntity('', true, $now->getTimestamp()-1); |
|
| 122 | + $pause = new PauseEntity('', true, $now->getTimestamp() - 1); |
|
| 123 | 123 | $storage->store($pause); |
| 124 | 124 | } |
| 125 | 125 | $storage->store($booking); |
| 126 | 126 | } catch (\Exception $e) { |
| 127 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
| 127 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
| 128 | 128 | return 1; |
| 129 | 129 | } |
| 130 | 130 | |
@@ -133,7 +133,7 @@ |
||
| 133 | 133 | $storage = StorageFactory::getStorage(); |
| 134 | 134 | $storage->store($pause); |
| 135 | 135 | } catch (\Exception $e) { |
| 136 | - $output->writeln('<error>' . $e->getMessage() . '</error>'); |
|
| 136 | + $output->writeln('<error>'.$e->getMessage().'</error>'); |
|
| 137 | 137 | return 1; |
| 138 | 138 | } |
| 139 | 139 | |