Passed
Push — v2 ( fa03db...c0c6c6 )
by Paul
12:42
created
src/SIP2Client.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -1023,7 +1023,7 @@  discard block
 block discarded – undo
1023 1023
             }
1024 1024
             //@codeCoverageIgnoreEnd
1025 1025
 
1026
-            $result = $result . $terminator;
1026
+            $result = $result.$terminator;
1027 1027
         }
1028 1028
 
1029 1029
         $this->logger->info("SIP2: result={$result}");
@@ -1058,7 +1058,7 @@  discard block
 block discarded – undo
1058 1058
     {
1059 1059
         /* Socket Communications  */
1060 1060
         $this->logger->debug("SIP2: --- BEGIN SIP communication ---");
1061
-        $address = $this->hostname . ':' . $this->port;
1061
+        $address = $this->hostname.':'.$this->port;
1062 1062
 
1063 1063
         $this->socket = $this->getSocketFactory()->createFromString($address, $scheme);
1064 1064
 
@@ -1071,7 +1071,7 @@  discard block
 block discarded – undo
1071 1071
         } catch (\Exception $e) {
1072 1072
             $this->socket->close();
1073 1073
             $this->socket = null;
1074
-            $this->logger->error("SIP2Client: Failed to connect: " . $e->getMessage());
1074
+            $this->logger->error("SIP2Client: Failed to connect: ".$e->getMessage());
1075 1075
             return false;
1076 1076
         }
1077 1077
 
@@ -1199,7 +1199,7 @@  discard block
 block discarded – undo
1199 1199
             $this->logger->debug("SIP2: Skipping optional field {$field}");
1200 1200
         } else {
1201 1201
             $this->noFixed = true; /* no more fixed for this message */
1202
-            $this->msgBuild .= $field . substr($value, 0, 255) . $this->fldTerminator;
1202
+            $this->msgBuild .= $field.substr($value, 0, 255).$this->fldTerminator;
1203 1203
         }
1204 1204
         return true;
1205 1205
     }
@@ -1208,7 +1208,7 @@  discard block
 block discarded – undo
1208 1208
     {
1209 1209
         /* Finalizes the message and returns it.  Message will remain in msgBuild until newMessage is called */
1210 1210
         if ($withSeq) {
1211
-            $this->msgBuild .= 'AY' . $this->getSeqNumber();
1211
+            $this->msgBuild .= 'AY'.$this->getSeqNumber();
1212 1212
         }
1213 1213
         if ($withCrc) {
1214 1214
             $this->msgBuild .= 'AZ';
Please login to merge, or discard this patch.