Passed
Push — master ( 122480...5d686c )
by Tim
01:41
created
www/auth.php 1 patch
Spacing   +4 added lines, -4 removed lines patch added patch discarded remove patch
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
 $usernameAttr = $amc_cf->getUsernameAttr();
40 40
 if ($usernameAttr === null || !array_key_exists($usernameAttr, $attributes)) {
41 41
     throw new \SimpleSAML\Error\Exception(
42
-        "The user doesn't have an attribute named '" . $usernameAttr .
42
+        "The user doesn't have an attribute named '".$usernameAttr.
43 43
         "'. This attribute is expected to contain the username."
44 44
     );
45 45
 }
@@ -50,7 +50,7 @@  discard block
 block discarded – undo
50 50
 if ($groupsAttr !== null) {
51 51
     if (!array_key_exists($groupsAttr, $attributes)) {
52 52
         throw new \SimpleSAML\Error\Exception(
53
-            "The user doesn't have an attribute named '" . $groupsAttr .
53
+            "The user doesn't have an attribute named '".$groupsAttr.
54 54
             "'. This attribute is expected to contain the groups the user is a member of."
55 55
         );
56 56
     }
@@ -62,7 +62,7 @@  discard block
 block discarded – undo
62 62
 $authData['RemoteIP'] = $_SERVER['REMOTE_ADDR'];
63 63
 
64 64
 foreach ($attributes as $n => $v) {
65
-    $authData['ATTR_' . $n] = $v;
65
+    $authData['ATTR_'.$n] = $v;
66 66
 }
67 67
 
68 68
 // store the authentication data in the memcache server
@@ -71,7 +71,7 @@  discard block
 block discarded – undo
71 71
     if (is_array($v)) {
72 72
         $v = implode(':', $v);
73 73
     }
74
-    $data .= $n . '=' . $v . "\r\n";
74
+    $data .= $n.'='.$v."\r\n";
75 75
 }
76 76
 
77 77
 $memcache = $amc_cf->getMemcache();
Please login to merge, or discard this patch.