Passed
Push — master ( 8f861b...f61313 )
by Tim
07:12
created
lib/Auth/Process/Fticks.php 1 patch
Spacing   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -83,9 +83,9 @@  discard block
 block discarded – undo
83 83
                 ); // pri
84 84
                 $rfc5424_message .= '1 '; // ver
85 85
                 $rfc5424_message .= gmdate('Y-m-d\TH:i:s.v\Z '); // timestamp
86
-                $rfc5424_message .= gethostname() . ' '; // hostname
87
-                $rfc5424_message .= $this->logconfig['processname'] . ' '; // app-name
88
-                $rfc5424_message .= posix_getpid() . ' '; // procid
86
+                $rfc5424_message .= gethostname().' '; // hostname
87
+                $rfc5424_message .= $this->logconfig['processname'].' '; // app-name
88
+                $rfc5424_message .= posix_getpid().' '; // procid
89 89
                 $rfc5424_message .= '- '; // msgid
90 90
                 $rfc5424_message .= '- '; // structured-data
91 91
                 $rfc5424_message .= $msg;
@@ -107,7 +107,7 @@  discard block
 block discarded – undo
107 107
 
108 108
             /* mostly for unit testing */
109 109
             case 'stdout':
110
-                echo $msg . "\n";
110
+                echo $msg."\n";
111 111
                 break;
112 112
 
113 113
             /* SimpleSAMLphp's builtin logging */
@@ -147,12 +147,12 @@  discard block
 block discarded – undo
147 147
         if (isset($uid) && is_string($uid)) {
148 148
             $userdata = $this->federation;
149 149
             if (array_key_exists('saml:sp:IdP', $state)) {
150
-                $userdata .= strlen($state['saml:sp:IdP']) . ':' . $state['saml:sp:IdP'];
150
+                $userdata .= strlen($state['saml:sp:IdP']).':'.$state['saml:sp:IdP'];
151 151
             } else {
152
-                $userdata .= strlen($state['Source']['entityid']) . ':' . $state['Source']['entityid'];
152
+                $userdata .= strlen($state['Source']['entityid']).':'.$state['Source']['entityid'];
153 153
             }
154
-            $userdata .= strlen($state['Destination']['entityid']) . ':' . $state['Destination']['entityid'];
155
-            $userdata .= strlen($uid) . ':' . $uid;
154
+            $userdata .= strlen($state['Destination']['entityid']).':'.$state['Destination']['entityid'];
155
+            $userdata .= strlen($uid).':'.$uid;
156 156
             $userdata .= $this->salt;
157 157
 
158 158
             return hash($this->algorithm, $userdata);
@@ -409,8 +409,8 @@  discard block
 block discarded – undo
409 409
                  * @param  string $v
410 410
                  * @return string
411 411
                  */
412
-                function ($k, $v) {
413
-                    return $k . '=' . $this->escapeFticks(strval($v));
412
+                function($k, $v) {
413
+                    return $k.'='.$this->escapeFticks(strval($v));
414 414
                 },
415 415
                 array_keys($fticks),
416 416
                 $fticks
Please login to merge, or discard this patch.