| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | */ | 
| 24 | 24 | public function register(Container $pimple) | 
| 25 | 25 |      { | 
| 26 | -        $pimple['dispatcher'] = function () { | |
| 26 | +        $pimple['dispatcher'] = function() { | |
| 27 | 27 | return new EventDispatcher; | 
| 28 | 28 | }; | 
| 29 | 29 | } | 
| @@ -23,7 +23,7 @@ | ||
| 23 | 23 | */ | 
| 24 | 24 | public function register(Container $pimple) | 
| 25 | 25 |      { | 
| 26 | -        $pimple['console'] = function ($pimple) { | |
| 26 | +        $pimple['console'] = function($pimple) { | |
| 27 | 27 | $console = new ContainerAwareApplication($pimple['console.name'], $pimple['console.version']); | 
| 28 | 28 | $console->setDispatcher($pimple['dispatcher']); | 
| 29 | 29 | $console->setContainer($pimple); | 
| @@ -63,7 +63,7 @@ discard block | ||
| 63 | 63 | public function getJiraUrlQuestion() | 
| 64 | 64 |      { | 
| 65 | 65 |          $question = new Question('<question>Please enter your Jira URL:</question> '); | 
| 66 | -        $question->setValidator(function ($value) { | |
| 66 | +        $question->setValidator(function($value) { | |
| 67 | 67 |              if (trim($value) === '') { | 
| 68 | 68 |                  throw new \Exception('The URL cannot be empty'); | 
| 69 | 69 | } | 
| @@ -82,7 +82,7 @@ discard block | ||
| 82 | 82 | public function getJiraUsernameQuestion() | 
| 83 | 83 |      { | 
| 84 | 84 |          $question = new Question('<question>Please enter your Jira username:</question> '); | 
| 85 | -        $question->setValidator(function ($value) { | |
| 85 | +        $question->setValidator(function($value) { | |
| 86 | 86 |              if (trim($value) === '') { | 
| 87 | 87 |                  throw new \Exception('The username cannot be empty'); | 
| 88 | 88 | } | 
| @@ -101,7 +101,7 @@ discard block | ||
| 101 | 101 | public function getJiraPasswordQuestion() | 
| 102 | 102 |      { | 
| 103 | 103 |          $question = new Question('<question>Please enter your Jira password:</question> '); | 
| 104 | -        $question->setValidator(function ($value) { | |
| 104 | +        $question->setValidator(function($value) { | |
| 105 | 105 |              if (trim($value) === '') { | 
| 106 | 106 |                  throw new \Exception('The password cannot be empty'); | 
| 107 | 107 | } |