Passed
Push — master ( 6f52d6...a5303e )
by Tim
32:53 queued 24:11
created
lib/Auth/Source/CAS.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -144,7 +144,7 @@  discard block
 block discarded – undo
144 144
         $success = $xPath->query("/cas:serviceResponse/cas:authenticationSuccess/cas:user");
145 145
         if ($success->length == 0) {
146 146
             $failure = $xPath->evaluate("/cas:serviceResponse/cas:authenticationFailure");
147
-            throw new Exception("Error when validating CAS service ticket: " . $failure->item(0)->textContent);
147
+            throw new Exception("Error when validating CAS service ticket: ".$failure->item(0)->textContent);
148 148
         } else {
149 149
             $attributes = [];
150 150
             if ($casattributes = $this->casConfig['attributes']) {
@@ -204,7 +204,7 @@  discard block
 block discarded – undo
204 204
 
205 205
         $config = Configuration::loadFromArray(
206 206
             $this->ldapConfig,
207
-            'Authentication source ' . var_export($this->authId, true)
207
+            'Authentication source '.var_export($this->authId, true)
208 208
         );
209 209
         if ($this->ldapConfig['servers']) {
210 210
             $ldap = new Ldap(
Please login to merge, or discard this patch.
www/linkback.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -26,7 +26,7 @@
 block discarded – undo
26 26
 /** @var \SimpleSAML\Module\cas\Auth\Source\CAS|null $source */
27 27
 $source = Auth\Source::getById($sourceId);
28 28
 if ($source === null) {
29
-    throw new Exception('Could not find authentication source with id ' . $sourceId);
29
+    throw new Exception('Could not find authentication source with id '.$sourceId);
30 30
 }
31 31
 
32 32
 $source->finalStep($state);
Please login to merge, or discard this patch.