Passed
Push — master ( 8a4b3c...d269d1 )
by Tim
08:21
created
src/Controller/CAS.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -106,7 +106,7 @@
 block discarded – undo
106 106
         /** @var \SimpleSAML\Module\cas\Auth\Source\CAS|null $source */
107 107
         $source = $this->authSource::getById($sourceId);
108 108
         if ($source === null) {
109
-            throw new Exception('Could not find authentication source with id ' . $sourceId);
109
+            throw new Exception('Could not find authentication source with id '.$sourceId);
110 110
         }
111 111
 
112 112
         $source->finalStep($state);
Please login to merge, or discard this patch.
src/Auth/Source/CAS.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -152,7 +152,7 @@  discard block
 block discarded – undo
152 152
         $success = $xPath->query("/cas:serviceResponse/cas:authenticationSuccess/cas:user");
153 153
         if ($success->length == 0) {
154 154
             $failure = $xPath->evaluate("/cas:serviceResponse/cas:authenticationFailure");
155
-            throw new Exception("Error when validating CAS service ticket: " . $failure->item(0)->textContent);
155
+            throw new Exception("Error when validating CAS service ticket: ".$failure->item(0)->textContent);
156 156
         } else {
157 157
             $attributes = [];
158 158
             if ($casattributes = $this->casConfig['attributes']) {
@@ -211,7 +211,7 @@  discard block
 block discarded – undo
211 211
 
212 212
         $config = Configuration::loadFromArray(
213 213
             $this->ldapConfig,
214
-            'Authentication source ' . var_export($this->authId, true)
214
+            'Authentication source '.var_export($this->authId, true)
215 215
         );
216 216
         if (!empty($this->ldapConfig['servers'])) {
217 217
             $ldap = new Ldap(
Please login to merge, or discard this patch.