Passed
Push — master ( 9acc90...b5ab8a )
by Tim
02:05
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
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 
74 74
         $this->ldapcf = new ConfigHelper(
75 75
             $config,
76
-            'Authentication source ' . var_export($this->authId, true)
76
+            'Authentication source '.var_export($this->authId, true)
77 77
         );
78 78
     }
79 79
 
@@ -138,7 +138,7 @@  discard block
 block discarded – undo
138 138
             // value is scalar
139 139
             if (array_key_exists($x509_attr, $client_cert_data['subject'])) {
140 140
                 $value = $client_cert_data['subject'][$x509_attr];
141
-                Logger::info('authX509: cert ' . $x509_attr . ' = ' . $value);
141
+                Logger::info('authX509: cert '.$x509_attr.' = '.$value);
142 142
 
143 143
                 if (isset($this->dnpattern)) {
144 144
                     $dn = str_replace('%username%', $value, $this->dnpattern);
@@ -172,7 +172,7 @@  discard block
 block discarded – undo
172 172
         $ldap_certs = $ldapcf->getAttributes($dn, $this->ldapusercert);
173 173
         
174 174
         if (empty($ldap_certs)) {
175
-            Logger::error('authX509: no certificate found in LDAP for dn=' . $dn);
175
+            Logger::error('authX509: no certificate found in LDAP for dn='.$dn);
176 176
             $state['authX509.error'] = "UNKNOWNCERT";
177 177
             $this->authFailed($state);
178 178
 
@@ -190,7 +190,7 @@  discard block
 block discarded – undo
190 190
             $pem = Utils\Crypto::der2pem($ldap_cert);
191 191
             $ldap_cert_data = openssl_x509_parse($pem);
192 192
             if ($ldap_cert_data === false) {
193
-                Logger::error('authX509: cert in LDAP is invalid for dn=' . $dn);
193
+                Logger::error('authX509: cert in LDAP is invalid for dn='.$dn);
194 194
                 continue;
195 195
             }
196 196
 
@@ -203,7 +203,7 @@  discard block
 block discarded – undo
203 203
             }
204 204
         }
205 205
 
206
-        Logger::error('authX509: no matching cert in LDAP for dn=' . $dn);
206
+        Logger::error('authX509: no matching cert in LDAP for dn='.$dn);
207 207
         $state['authX509.error'] = "UNKNOWNCERT";
208 208
         $this->authFailed($state);
209 209
 
Please login to merge, or discard this patch.