Passed
Push — master ( 2d3344...9e641f )
by Tim
15:55 queued 08:31
created
tests/bootstrap.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -3,10 +3,10 @@
 block discarded – undo
3 3
 declare(strict_types=1);
4 4
 
5 5
 $projectRoot = dirname(__DIR__);
6
-require_once($projectRoot . '/vendor/autoload.php');
6
+require_once($projectRoot.'/vendor/autoload.php');
7 7
 
8 8
 // Symlink module into ssp vendor lib so that templates and urls can resolve correctly
9
-$linkPath = $projectRoot . '/vendor/simplesamlphp/simplesamlphp/modules/negotiate';
9
+$linkPath = $projectRoot.'/vendor/simplesamlphp/simplesamlphp/modules/negotiate';
10 10
 if (file_exists($linkPath) === false) {
11 11
     echo "Linking '$linkPath' to '$projectRoot'\n";
12 12
     symlink($projectRoot, $linkPath);
Please login to merge, or discard this patch.
src/Auth/Process/SmartName.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -29,7 +29,7 @@
 block discarded – undo
29 29
         }
30 30
 
31 31
         if (isset($attributes['sn']) && isset($attributes['givenName'])) {
32
-            return $attributes['givenName'][0] . ' ' . $attributes['sn'][0];
32
+            return $attributes['givenName'][0].' '.$attributes['sn'][0];
33 33
         }
34 34
 
35 35
         if (isset($attributes['cn'])) {
Please login to merge, or discard this patch.
src/Auth/Process/SmartID.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -113,10 +113,10 @@  discard block
 block discarded – undo
113 113
         foreach ($this->candidates as $idCandidate) {
114 114
             if (isset($attributes[$idCandidate][0])) {
115 115
                 if (($this->add_authority) && (isset($state['saml:AuthenticatingAuthority'][0]))) {
116
-                    return ($this->add_candidate ? $idCandidate . ':' : '') . $attributes[$idCandidate][0] . '!' .
116
+                    return ($this->add_candidate ? $idCandidate.':' : '').$attributes[$idCandidate][0].'!'.
117 117
                         $state['saml:AuthenticatingAuthority'][0];
118 118
                 } else {
119
-                    return ($this->add_candidate ? $idCandidate . ':' : '') . $attributes[$idCandidate][0];
119
+                    return ($this->add_candidate ? $idCandidate.':' : '').$attributes[$idCandidate][0];
120 120
                 }
121 121
             }
122 122
         }
@@ -125,9 +125,9 @@  discard block
 block discarded – undo
125 125
          * At this stage no usable id_candidate has been detected.
126 126
          */
127 127
         if ($this->fail_if_empty) {
128
-            throw new Error\Exception('This service needs at least one of the following ' .
129
-                'attributes to identity users: ' . implode(', ', $this->candidates) . '. Unfortunately not ' .
130
-                'one of them was detected. Please ask your institution administrator to release one of ' .
128
+            throw new Error\Exception('This service needs at least one of the following '.
129
+                'attributes to identity users: '.implode(', ', $this->candidates).'. Unfortunately not '.
130
+                'one of them was detected. Please ask your institution administrator to release one of '.
131 131
                 'them, or try using another identity provider.');
132 132
         } else {
133 133
             /**
Please login to merge, or discard this patch.