Passed
Push — master ( 6419b2...f85d70 )
by Tim
37:18 queued 29:46
created
src/Auth/Process/Fticks.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -108,9 +108,9 @@  discard block
 block discarded – undo
108 108
                 ); // pri
109 109
                 $rfc5424_message .= '1 '; // ver
110 110
                 $rfc5424_message .= gmdate('Y-m-d\TH:i:s.v\Z '); // timestamp
111
-                $rfc5424_message .= gethostname() . ' '; // hostname
112
-                $rfc5424_message .= $this->logconfig['processname'] . ' '; // app-name
113
-                $rfc5424_message .= posix_getpid() . ' '; // procid
111
+                $rfc5424_message .= gethostname().' '; // hostname
112
+                $rfc5424_message .= $this->logconfig['processname'].' '; // app-name
113
+                $rfc5424_message .= posix_getpid().' '; // procid
114 114
                 $rfc5424_message .= '- '; // msgid
115 115
                 $rfc5424_message .= '- '; // structured-data
116 116
                 $rfc5424_message .= $msg;
@@ -132,7 +132,7 @@  discard block
 block discarded – undo
132 132
 
133 133
             /* mostly for unit testing */
134 134
             case 'stdout':
135
-                echo $msg . "\n";
135
+                echo $msg."\n";
136 136
                 break;
137 137
 
138 138
             /* SimpleSAMLphp's builtin logging */
@@ -153,14 +153,14 @@  discard block
 block discarded – undo
153 153
     {
154 154
         $userdata = $this->federation;
155 155
         if (array_key_exists('saml:sp:IdP', $state)) {
156
-            $userdata .= strlen($state['saml:sp:IdP']) . ':' . $state['saml:sp:IdP'];
156
+            $userdata .= strlen($state['saml:sp:IdP']).':'.$state['saml:sp:IdP'];
157 157
         } else {
158
-            $userdata .= strlen($state['Source']['entityid']) . ':' . $state['Source']['entityid'];
158
+            $userdata .= strlen($state['Source']['entityid']).':'.$state['Source']['entityid'];
159 159
         }
160
-        $userdata .= strlen($state['Destination']['entityid']) . ':' . $state['Destination']['entityid'];
160
+        $userdata .= strlen($state['Destination']['entityid']).':'.$state['Destination']['entityid'];
161 161
 
162 162
         $uid = $state['Attributes'][$this->identifyingAttribute][0];
163
-        $userdata .= strlen($uid) . ':' . $uid;
163
+        $userdata .= strlen($uid).':'.$uid;
164 164
         $userdata .= $this->salt;
165 165
 
166 166
         return hash($this->algorithm, $userdata);
@@ -427,8 +427,8 @@  discard block
 block discarded – undo
427 427
                  * @param  string $v
428 428
                  * @return string
429 429
                  */
430
-                function ($k, $v) {
431
-                    return $k . '=' . $this->escapeFticks(strval($v));
430
+                function($k, $v) {
431
+                    return $k.'='.$this->escapeFticks(strval($v));
432 432
                 },
433 433
                 array_keys($fticks),
434 434
                 $fticks
Please login to merge, or discard this patch.