Passed
Branch master (deee8f)
by Mathieu
02:38
created
Integration/LdapAuthIntegration.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -109,7 +109,7 @@
 block discarded – undo
109 109
         if ($ssl) {
110 110
             if (substr($hostname, 0, 7) === 'ldap://') {
111 111
                 $hostname = str_replace('ldap://', 'ldaps://', $hostname);
112
-            } elseif(!substr($hostname, 0, 8) !== 'ldaps://') {
112
+            } elseif (!substr($hostname, 0, 8) !== 'ldaps://') {
113 113
                 $hostname = 'ldaps://' . $hostname;
114 114
             }
115 115
         }
Please login to merge, or discard this patch.
EventListener/ConfigSubscriber.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -36,13 +36,13 @@
 block discarded – undo
36 36
     public function onConfigGenerate(ConfigBuilderEvent $event)
37 37
     {
38 38
         $event->addForm(
39
-                  [
40
-                      'bundle'     => 'MauticLdapAuthBundle',
41
-                      'formAlias'  => 'ldapconfig',
42
-                      'formTheme'  => 'MauticLdapAuthBundle:FormTheme\Config',
43
-                      'parameters' => $event->getParametersFromConfig('MauticLdapAuthBundle'),
44
-                  ]
45
-              );
39
+                    [
40
+                        'bundle'     => 'MauticLdapAuthBundle',
41
+                        'formAlias'  => 'ldapconfig',
42
+                        'formTheme'  => 'MauticLdapAuthBundle:FormTheme\Config',
43
+                        'parameters' => $event->getParametersFromConfig('MauticLdapAuthBundle'),
44
+                    ]
45
+                );
46 46
     }
47 47
 
48 48
     /**
Please login to merge, or discard this patch.