Test Setup Failed
Pull Request — master (#793)
by
unknown
04:30
created
src/Oro/Bundle/InstallerBundle/Command/InstallCommand.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -233,7 +233,7 @@  discard block
 block discarded – undo
233 233
      */
234 234
     protected function getNotBlankValidator($message)
235 235
     {
236
-        return function ($value) use ($message) {
236
+        return function($value) use ($message) {
237 237
             if (strlen(trim($value)) === 0) {
238 238
                 throw new \Exception($message);
239 239
             }
@@ -252,7 +252,7 @@  discard block
 block discarded – undo
252 252
         $emailValidator     = $this->getNotBlankValidator('The email must be specified');
253 253
         $firstNameValidator = $this->getNotBlankValidator('The first name must be specified');
254 254
         $lastNameValidator  = $this->getNotBlankValidator('The last name must be specified');
255
-        $passwordValidator  = function ($value) {
255
+        $passwordValidator  = function($value) {
256 256
             if (strlen(trim($value)) < 2) {
257 257
                 throw new \Exception('The password must be at least 2 characters long');
258 258
             }
@@ -326,7 +326,7 @@  discard block
 block discarded – undo
326 326
         /** @var ConfigManager $configManager */
327 327
         $configManager             = $this->getContainer()->get('oro_config.global');
328 328
         $defaultOrganizationName   = $configManager->get('oro_ui.organization_name');
329
-        $organizationNameValidator = function ($value) use (&$defaultOrganizationName) {
329
+        $organizationNameValidator = function($value) use (&$defaultOrganizationName) {
330 330
             $len = strlen(trim($value));
331 331
             if ($len === 0 && empty($defaultOrganizationName)) {
332 332
                 throw new \Exception('The organization name must not be empty');
Please login to merge, or discard this patch.