Passed
Push — master ( 6d5d7f...6f880f )
by Marek
02:14
created
src/SamlpExtensions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -209,7 +209,7 @@
 block discarded – undo
209 209
                 $attrElement->setAttribute('NameFormat', $attrArray['NameFormat']);
210 210
                 if (isset($attrArray['AttributeValue']) && (!empty($attrArray['AttributeValue']) || $attrArray['AttributeValue'] === false)) {
211 211
                     $attrValueElement = $doc->createElementNS('http://eidas.europa.eu/saml-extensions', 'eidas:AttributeValue');
212
-                    $attrValueElement->nodeValue = (string)$attrArray['AttributeValue'];
212
+                    $attrValueElement->nodeValue = (string) $attrArray['AttributeValue'];
213 213
                     $attrElement->appendChild($attrValueElement);
214 214
                 }
215 215
                 $requested_attributes->appendChild($attrElement);
Please login to merge, or discard this patch.
src/OMSAML2.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -224,7 +224,7 @@  discard block
 block discarded – undo
224 224
             return true;
225 225
         } catch (Exception $e) {
226 226
             self::$idp_certificate = null;
227
-            ContainerSingleton::getInstance()->getLogger()->critical('setIdpCertificate failed: ' . $e->getMessage(), [$e]);
227
+            ContainerSingleton::getInstance()->getLogger()->critical('setIdpCertificate failed: '.$e->getMessage(), [$e]);
228 228
             return false;
229 229
         }
230 230
     }
@@ -358,7 +358,7 @@  discard block
 block discarded – undo
358 358
             return true;
359 359
         } catch (Exception $e) {
360 360
             self::$own_private_key = null;
361
-            ContainerSingleton::getInstance()->getLogger()->critical('setOwnPrivateKeyData failed: ' . $e->getMessage(), [$e]);
361
+            ContainerSingleton::getInstance()->getLogger()->critical('setOwnPrivateKeyData failed: '.$e->getMessage(), [$e]);
362 362
             return false;
363 363
         }
364 364
     }
@@ -380,7 +380,7 @@  discard block
 block discarded – undo
380 380
             return true;
381 381
         } catch (Exception $e) {
382 382
             self::$own_certificate = null;
383
-            ContainerSingleton::getInstance()->getLogger()->critical('setOwnCertificatePublicKey failed: ' . $e->getMessage(), [$e]);
383
+            ContainerSingleton::getInstance()->getLogger()->critical('setOwnCertificatePublicKey failed: '.$e->getMessage(), [$e]);
384 384
             return false;
385 385
         }
386 386
     }
@@ -407,7 +407,7 @@  discard block
 block discarded – undo
407 407
         $encoded_element = base64_encode($encoded_element);
408 408
         $encoded_element = urlencode($encoded_element);
409 409
 
410
-        return $base_request_url . (parse_url($base_request_url, PHP_URL_QUERY) ? '&' : '?') . 'SAMLRequest=' . $encoded_element;
410
+        return $base_request_url.(parse_url($base_request_url, PHP_URL_QUERY) ? '&' : '?').'SAMLRequest='.$encoded_element;
411 411
     }
412 412
 
413 413
     /**
Please login to merge, or discard this patch.