Passed
Pull Request — master (#1)
by Thomas
03:38
created
src/Bpost/Order/Line.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -75,7 +75,7 @@  discard block
 block discarded – undo
75 75
     {
76 76
         $tagName = 'orderLine';
77 77
         if ($prefix !== null) {
78
-            $tagName = $prefix . ':' . $tagName;
78
+            $tagName = $prefix.':'.$tagName;
79 79
         }
80 80
 
81 81
         $line = $document->createElement($tagName);
@@ -83,7 +83,7 @@  discard block
 block discarded – undo
83 83
         if ($this->getText() !== null) {
84 84
             $tagName = 'text';
85 85
             if ($prefix !== null) {
86
-                $tagName = $prefix . ':' . $tagName;
86
+                $tagName = $prefix.':'.$tagName;
87 87
             }
88 88
             $line->appendChild(
89 89
                 $document->createElement(
@@ -95,7 +95,7 @@  discard block
 block discarded – undo
95 95
         if ($this->getNumberOfItems() !== null) {
96 96
             $tagName = 'nbOfItems';
97 97
             if ($prefix !== null) {
98
-                $tagName = $prefix . ':' . $tagName;
98
+                $tagName = $prefix.':'.$tagName;
99 99
             }
100 100
             $line->appendChild(
101 101
                 $document->createElement(
Please login to merge, or discard this patch.
src/Bpost/Order/Customer.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -138,7 +138,7 @@
 block discarded – undo
138 138
     {
139 139
         $tagName = static::TAG_NAME;
140 140
         if ($prefix !== null) {
141
-            $tagName = $prefix . ':' . $tagName;
141
+            $tagName = $prefix.':'.$tagName;
142 142
         }
143 143
 
144 144
         $customer = $document->createElement($tagName);
Please login to merge, or discard this patch.
src/Bpost/CreateLabelInBulkForOrders.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -38,7 +38,7 @@  discard block
 block discarded – undo
38 38
     public function getHeaders($asPdf)
39 39
     {
40 40
         return array(
41
-            'Accept: application/vnd.bpost.shm-label-' . ($asPdf ? 'pdf' : 'image') . '-v3+XML',
41
+            'Accept: application/vnd.bpost.shm-label-'.($asPdf ? 'pdf' : 'image').'-v3+XML',
42 42
             'Content-Type: application/vnd.bpost.shm-labelRequest-v3+XML',
43 43
         );
44 44
     }
@@ -50,6 +50,6 @@  discard block
 block discarded – undo
50 50
      */
51 51
     public function getUrl(LabelFormat $format, $withReturnLabels)
52 52
     {
53
-        return '/labels/' . $format->getValue() . ($withReturnLabels ? '/withReturnLabels' : '');
53
+        return '/labels/'.$format->getValue().($withReturnLabels ? '/withReturnLabels' : '');
54 54
     }
55 55
 }
Please login to merge, or discard this patch.
Exception/BpostApiResponseException/BpostInvalidXmlResponseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'Invalid XML-response' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'Invalid XML-response'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Exception/BpostApiResponseException/BpostInvalidResponseException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'Invalid response' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'Invalid response'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Exception/XmlException/BpostXmlNoReferenceFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'No reference found' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'No reference found'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Exception/XmlException/BpostXmlInvalidItemException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'Invalid item' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'Invalid item'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Exception/XmlException/BpostXmlNoUserIdFoundException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'No UserId found' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'No UserId found'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.
src/Exception/BpostNotImplementedException.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -17,7 +17,7 @@
 block discarded – undo
17 17
      */
18 18
     public function __construct($message = "", $code = 0, \Exception $previous = null)
19 19
     {
20
-        $message = 'Not implemented' . (empty($message) ? '' : ': ' . $message);
20
+        $message = 'Not implemented'.(empty($message) ? '' : ': '.$message);
21 21
         parent::__construct($message, $code, $previous);
22 22
     }
23 23
 }
Please login to merge, or discard this patch.