Passed
Push — master ( 183c88...b642f5 )
by Tim
32:52 queued 19:26
created
Category
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
@@ -157,7 +157,7 @@  discard block
 block discarded – undo
157 157
         $success = $xPath->query("/cas:serviceResponse/cas:authenticationSuccess/cas:user");
158 158
         if ($success === false || $success->length === 0) {
159 159
             $failure = $xPath->evaluate("/cas:serviceResponse/cas:authenticationFailure");
160
-            throw new Exception("Error when validating CAS service ticket: " . $failure->item(0)->textContent);
160
+            throw new Exception("Error when validating CAS service ticket: ".$failure->item(0)->textContent);
161 161
         } else {
162 162
             $attributes = [];
163 163
             if ($casattributes = $this->casConfig['attributes']) {
@@ -217,7 +217,7 @@  discard block
 block discarded – undo
217 217
 
218 218
         $config = Configuration::loadFromArray(
219 219
             $this->ldapConfig,
220
-            'Authentication source ' . var_export($this->authId, true),
220
+            'Authentication source '.var_export($this->authId, true),
221 221
         );
222 222
         if (!empty($this->ldapConfig['servers'])) {
223 223
             $ldap = new Ldap(
Please login to merge, or discard this patch.