Passed
Pull Request — master (#22)
by Tim
20:50 queued 06:14
created
src/IdP/ADFS.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -87,7 +87,7 @@  discard block
 block discarded – undo
87 87
         }
88 88
 
89 89
         return new StreamedResponse(
90
-            function () use ($idp, &$state) {
90
+            function() use ($idp, &$state) {
91 91
                 $idp->handleAuthenticationRequest($state);
92 92
             },
93 93
         );
@@ -458,7 +458,7 @@  discard block
 block discarded – undo
458 458
         $xmlResponse = $requestSecurityTokenResponse->toXML();
459 459
         $wresult = $xmlResponse->ownerDocument->saveXML($xmlResponse);
460 460
         $wctx = $state['adfs:wctx'];
461
-        $wreply = $state['adfs:wreply'] ? : $spMetadata->getValue('prp');
461
+        $wreply = $state['adfs:wreply'] ?: $spMetadata->getValue('prp');
462 462
         ADFS::postResponse($wreply, $wresult, $wctx);
463 463
     }
464 464
 
Please login to merge, or discard this patch.
src/IdP/MetadataBuilder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -274,7 +274,7 @@
 block discarded – undo
274 274
                     $attr[] = new Attribute(
275 275
                         name: $matches[2],
276 276
                         nameFormat: $matches[1] === C::NAMEFORMAT_UNSPECIFIED ? null : $matches[1],
277
-                        attributeValue: $attrValues,
277
+                        attributeValue : $attrValues,
278 278
                     );
279 279
                 } else {
280 280
                     $attr[] = new Attribute(
Please login to merge, or discard this patch.
src/Controller/Adfs.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -112,7 +112,7 @@  discard block
 block discarded – undo
112 112
             $wa = $request->query->get('wa');
113 113
             if ($wa === 'wsignout1.0') {
114 114
                 return new StreamedResponse(
115
-                    function () use ($idp) {
115
+                    function() use ($idp) {
116 116
                         ADFS_IDP::receiveLogoutMessage($idp);
117 117
                     },
118 118
                 );
@@ -130,7 +130,7 @@  discard block
 block discarded – undo
130 130
             $logoutError = null;
131 131
 
132 132
             return new StreamedResponse(
133
-                function () use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) {
133
+                function() use ($idp, /** @scrutinizer ignore-type */ $assocId, $relayState, $logoutError) {
134 134
                     $idp->handleLogoutResponse($assocId, $relayState, $logoutError);
135 135
                 },
136 136
             );
Please login to merge, or discard this patch.