Completed
Pull Request — 2.1 (#1171)
by Greg
09:33
created
src/SWP/Bundle/UserBundle/Command/CreateUserCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -102,7 +102,7 @@  discard block
 block discarded – undo
102 102
 
103 103
         if (!$input->getArgument('username')) {
104 104
             $question = new Question('Please choose a username:');
105
-            $question->setValidator(function ($username) {
105
+            $question->setValidator(function($username) {
106 106
                 if (empty($username)) {
107 107
                     throw new \Exception('Username can not be empty');
108 108
                 }
@@ -114,7 +114,7 @@  discard block
 block discarded – undo
114 114
 
115 115
         if (!$input->getArgument('email')) {
116 116
             $question = new Question('Please choose an email:');
117
-            $question->setValidator(function ($email) {
117
+            $question->setValidator(function($email) {
118 118
                 if (empty($email)) {
119 119
                     throw new \Exception('Email can not be empty');
120 120
                 }
@@ -126,7 +126,7 @@  discard block
 block discarded – undo
126 126
 
127 127
         if (!$input->getArgument('password')) {
128 128
             $question = new Question('Please choose a password:');
129
-            $question->setValidator(function ($password) {
129
+            $question->setValidator(function($password) {
130 130
                 if (empty($password)) {
131 131
                     throw new \Exception('Password can not be empty');
132 132
                 }
Please login to merge, or discard this patch.
src/SWP/Bundle/UserBundle/DependencyInjection/SWPUserExtension.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
     public function load(array $configs, ContainerBuilder $container)
38 38
     {
39 39
         $config = $this->processConfiguration(new Configuration(), $configs);
40
-        $loader = new YamlFileLoader($container, new FileLocator(__DIR__ . '/../Resources/config'));
40
+        $loader = new YamlFileLoader($container, new FileLocator(__DIR__.'/../Resources/config'));
41 41
         $loader->load('services.yml');
42 42
         $loader->load('controllers.yml');
43 43
         $loader->load('flash_notifications.yml');
Please login to merge, or discard this patch.