@@ -124,7 +124,7 @@ discard block  | 
                                                    ||
| 124 | 124 | $usernameAttr = $amc_cf->getUsernameAttr();  | 
                                                        
| 125 | 125 |          if ($usernameAttr === null || !array_key_exists($usernameAttr, $attributes)) { | 
                                                        
| 126 | 126 | throw new Error\Exception(  | 
                                                        
| 127 | - "The user doesn't have an attribute named '" . $usernameAttr .  | 
                                                        |
| 127 | + "The user doesn't have an attribute named '".$usernameAttr.  | 
                                                        |
| 128 | 128 | "'. This attribute is expected to contain the username."  | 
                                                        
| 129 | 129 | );  | 
                                                        
| 130 | 130 | }  | 
                                                        
@@ -135,7 +135,7 @@ discard block  | 
                                                    ||
| 135 | 135 |          if ($groupsAttr !== null) { | 
                                                        
| 136 | 136 |              if (!array_key_exists($groupsAttr, $attributes)) { | 
                                                        
| 137 | 137 | throw new Error\Exception(  | 
                                                        
| 138 | - "The user doesn't have an attribute named '" . $groupsAttr .  | 
                                                        |
| 138 | + "The user doesn't have an attribute named '".$groupsAttr.  | 
                                                        |
| 139 | 139 | "'. This attribute is expected to contain the groups the user is a member of."  | 
                                                        
| 140 | 140 | );  | 
                                                        
| 141 | 141 | }  | 
                                                        
@@ -147,7 +147,7 @@ discard block  | 
                                                    ||
| 147 | 147 |          $authData['RemoteIP'] = $request->server->get('REMOTE_ADDR'); | 
                                                        
| 148 | 148 | |
| 149 | 149 |          foreach ($attributes as $n => $v) { | 
                                                        
| 150 | - $authData['ATTR_' . $n] = $v;  | 
                                                        |
| 150 | + $authData['ATTR_'.$n] = $v;  | 
                                                        |
| 151 | 151 | }  | 
                                                        
| 152 | 152 | |
| 153 | 153 | // store the authentication data in the memcache server  | 
                                                        
@@ -156,7 +156,7 @@ discard block  | 
                                                    ||
| 156 | 156 |              if (is_array($v)) { | 
                                                        
| 157 | 157 |                  $v = implode(':', $v); | 
                                                        
| 158 | 158 | }  | 
                                                        
| 159 | - $data .= $n . '=' . $v . "\r\n";  | 
                                                        |
| 159 | + $data .= $n.'='.$v."\r\n";  | 
                                                        |
| 160 | 160 | }  | 
                                                        
| 161 | 161 | |
| 162 | 162 | $memcache = $amc_cf->getMemcache();  |