Passed
Push — master ( 56f7a7...7914da )
by Tim
37:18 queued 29:39
created
lib/Auth/Process/ExpiryWarning.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -93,7 +93,7 @@
 block discarded – undo
93 93
             return;
94 94
         }
95 95
 
96
-        Logger::warning('authX509: user certificate expires in ' . $daysleft . ' days');
96
+        Logger::warning('authX509: user certificate expires in '.$daysleft.' days');
97 97
         $state['daysleft'] = $daysleft;
98 98
         $state['renewurl'] = $this->renewurl;
99 99
 
Please login to merge, or discard this patch.
lib/Auth/Source/X509userCert.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -74,7 +74,7 @@  discard block
 block discarded – undo
74 74
 
75 75
         $this->ldapcf = new ConfigHelper(
76 76
             $config,
77
-            'Authentication source ' . var_export($this->authId, true)
77
+            'Authentication source '.var_export($this->authId, true)
78 78
         );
79 79
     }
80 80
 
@@ -147,7 +147,7 @@  discard block
 block discarded – undo
147 147
             // value is scalar
148 148
             if (array_key_exists($x509_attr, $client_cert_data['subject'])) {
149 149
                 $value = $client_cert_data['subject'][$x509_attr];
150
-                Logger::info('authX509: cert ' . $x509_attr . ' = ' . $value);
150
+                Logger::info('authX509: cert '.$x509_attr.' = '.$value);
151 151
 
152 152
                 if (isset($this->dnpattern)) {
153 153
                     $dn = str_replace('%username%', $value, $this->dnpattern);
@@ -181,7 +181,7 @@  discard block
 block discarded – undo
181 181
         $ldap_certs = $ldapcf->getAttributes($dn, $this->ldapusercert);
182 182
 
183 183
         if (empty($ldap_certs)) {
184
-            Logger::error('authX509: no certificate found in LDAP for dn=' . $dn);
184
+            Logger::error('authX509: no certificate found in LDAP for dn='.$dn);
185 185
             $state['authX509.error'] = "UNKNOWNCERT";
186 186
             $this->authFailed($state);
187 187
 
@@ -200,7 +200,7 @@  discard block
 block discarded – undo
200 200
             $pem = $cryptoUtils->der2pem($ldap_cert);
201 201
             $ldap_cert_data = openssl_x509_parse($pem);
202 202
             if ($ldap_cert_data === false) {
203
-                Logger::error('authX509: cert in LDAP is invalid for dn=' . $dn);
203
+                Logger::error('authX509: cert in LDAP is invalid for dn='.$dn);
204 204
                 continue;
205 205
             }
206 206
 
@@ -213,7 +213,7 @@  discard block
 block discarded – undo
213 213
             }
214 214
         }
215 215
 
216
-        Logger::error('authX509: no matching cert in LDAP for dn=' . $dn);
216
+        Logger::error('authX509: no matching cert in LDAP for dn='.$dn);
217 217
         $state['authX509.error'] = "UNKNOWNCERT";
218 218
         $this->authFailed($state);
219 219
 
Please login to merge, or discard this patch.