Passed
Push — master ( ccb0ad...db579c )
by Gerard
03:01 queued 42s
created
src/Command/GbRoleAddCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -41,7 +41,7 @@
 block discarded – undo
41 41
 
42 42
         if (null === $roleName) {
43 43
             $question = new Question('Enter a role name. Example ROLE_USER: ');
44
-            $question->setValidator(function ($answer) {
44
+            $question->setValidator(function($answer) {
45 45
                 if (null === $answer) {
46 46
                     throw new \Exception('The role name cannot be empty');
47 47
                 }
Please login to merge, or discard this patch.
src/Command/GbUserPromoteCommand.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -44,7 +44,7 @@
 block discarded – undo
44 44
 
45 45
         if (null === $email) {
46 46
             $question = new Question('Please, enter the email address of the user: ');
47
-            $question->setValidator(function ($answer) {
47
+            $question->setValidator(function($answer) {
48 48
                 if (null === $answer) {
49 49
                     throw new \Exception('The email address of the user to promote is required');
50 50
                 }
Please login to merge, or discard this patch.
src/Command/GbUserAddCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -68,7 +68,7 @@  discard block
 block discarded – undo
68 68
                 $isEmailOk = true;
69 69
             } else {
70 70
                 $question = new Question('Enter the email address of the new user: ');
71
-                $question->setValidator(function ($answer) {
71
+                $question->setValidator(function($answer) {
72 72
                     if (null === $answer) {
73 73
                         throw new \Exception('The email address is required to create a new user');
74 74
                     }
@@ -81,7 +81,7 @@  discard block
 block discarded – undo
81 81
         }
82 82
 
83 83
         $question = new Question('Enter a password: ');
84
-        $question->setValidator(function ($answer) {
84
+        $question->setValidator(function($answer) {
85 85
             if (null === $answer || '' === trim($answer)) {
86 86
                 throw new \Exception('The password can\'t be empty');
87 87
             }
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         $password = $helper->ask($input, $output, $question);
96 96
 
97 97
         $question = new Question('Enter the name of the new user: ');
98
-        $question->setValidator(function ($answer) {
98
+        $question->setValidator(function($answer) {
99 99
             if (null === $answer) {
100 100
                 throw new \Exception('The name field is required to create a new user');
101 101
             }
Please login to merge, or discard this patch.