| @@ -67,7 +67,7 @@ | ||
| 67 | 67 | |
| 68 | 68 | $conf['sp']['entityId'] = $sp['entityId']; | 
| 69 | 69 | $conf['sp']['assertionConsumerService'] = [ | 
| 70 | - 'url' => $sp['entityId'] . '/saml/acs', | |
| 70 | + 'url' => $sp['entityId'].'/saml/acs', | |
| 71 | 71 | 'binding' => OneLogin_Saml2_Constants::BINDING_HTTP_POST | 
| 72 | 72 | ]; | 
| 73 | 73 | $conf['sp']['NameIDFormat'] = isset($sp['nameIdFormat']) ? | 
| @@ -101,7 +101,7 @@ discard block | ||
| 101 | 101 |              if (!isset($attributes[$claim][0])) { | 
| 102 | 102 | $this->getLogger()->warning( | 
| 103 | 103 | sprintf( | 
| 104 | - 'Claim rule \'%s\' configured in LDAPMember.claims_field_mappings, ' . | |
| 104 | + 'Claim rule \'%s\' configured in LDAPMember.claims_field_mappings, '. | |
| 105 | 105 | 'but wasn\'t passed through. Please check IdP claim rules.', | 
| 106 | 106 | $claim | 
| 107 | 107 | ) | 
| @@ -142,7 +142,7 @@ discard block | ||
| 142 | 142 | echo $metadata; | 
| 143 | 143 |              } else { | 
| 144 | 144 | throw new \OneLogin_Saml2_Error( | 
| 145 | -                    'Invalid SP metadata: ' . implode(', ', $errors), | |
| 145 | +                    'Invalid SP metadata: '.implode(', ', $errors), | |
| 146 | 146 | \OneLogin_Saml2_Error::METADATA_SP_INVALID | 
| 147 | 147 | ); | 
| 148 | 148 | } | 
| @@ -171,7 +171,7 @@ discard block | ||
| 171 | 171 | |
| 172 | 172 | // If a default login dest has been set, redirect to that. | 
| 173 | 173 |          if (Security::config()->default_login_dest) { | 
| 174 | - return $this->redirect(Director::absoluteBaseURL() . Security::config()->default_login_dest); | |
| 174 | + return $this->redirect(Director::absoluteBaseURL().Security::config()->default_login_dest); | |
| 175 | 175 | } | 
| 176 | 176 | |
| 177 | 177 | // fallback to redirect back to home page | 
| @@ -35,7 +35,7 @@ | ||
| 35 | 35 | */ | 
| 36 | 36 | public function getAuthenticatorName() | 
| 37 | 37 |      { | 
| 38 | - return _t(__CLASS__ . '.AUTHENTICATORNAME', 'SAML'); | |
| 38 | + return _t(__CLASS__.'.AUTHENTICATORNAME', 'SAML'); | |
| 39 | 39 | } | 
| 40 | 40 | |
| 41 | 41 | /** | 
| @@ -20,7 +20,7 @@ discard block | ||
| 20 | 20 | * @var array | 
| 21 | 21 | */ | 
| 22 | 22 | private static $dependencies = [ | 
| 23 | - 'SAMLConfService' => '%$' . SAMLConfiguration::class, | |
| 23 | + 'SAMLConfService' => '%$'.SAMLConfiguration::class, | |
| 24 | 24 | ]; | 
| 25 | 25 | |
| 26 | 26 | /** | 
| @@ -70,8 +70,8 @@ discard block | ||
| 70 | 70 |          for ($k = 1; $k <= 2; ++$k) { | 
| 71 | 71 | $hex_guid_to_guid_str .= substr($hex_guid, 16 - 2 * $k, 2); | 
| 72 | 72 | } | 
| 73 | - $hex_guid_to_guid_str .= '-' . substr($hex_guid, 16, 4); | |
| 74 | - $hex_guid_to_guid_str .= '-' . substr($hex_guid, 20); | |
| 73 | + $hex_guid_to_guid_str .= '-'.substr($hex_guid, 16, 4); | |
| 74 | + $hex_guid_to_guid_str .= '-'.substr($hex_guid, 20); | |
| 75 | 75 | return strtoupper($hex_guid_to_guid_str); | 
| 76 | 76 | } | 
| 77 | 77 | } |