Test Failed
Branch master (62528d)
by Zangra
14:14 queued 12:04
created
src/Bpost/HttpRequestBuilder/CreateLabel.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -30,8 +30,8 @@
 block discarded – undo
30 30
         $acceptSuffix = $this->asPdf ? 'pdf' : 'image';
31 31
 
32 32
         return [
33
-            'Accept: application/vnd.bpost.shm-label-' . $acceptSuffix . '-' . ApiVersions::V3_3 . '+XML',
34
-            'Content-Type: application/vnd.bpost.shm-labelRequest-' . ApiVersions::V3_3 . '+XML',
33
+            'Accept: application/vnd.bpost.shm-label-'.$acceptSuffix.'-'.ApiVersions::V3_3.'+XML',
34
+            'Content-Type: application/vnd.bpost.shm-labelRequest-'.ApiVersions::V3_3.'+XML',
35 35
         ];
36 36
     }
37 37
 
Please login to merge, or discard this patch.
src/Bpost/HttpRequestBuilder/CreateOrReplaceOrder.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -31,7 +31,7 @@
 block discarded – undo
31 31
     public function getHeaders(): array
32 32
     {
33 33
         return [
34
-            'Content-Type: application/vnd.bpost.shm-order-' . ApiVersions::V3_3 . '+XML',
34
+            'Content-Type: application/vnd.bpost.shm-order-'.ApiVersions::V3_3.'+XML',
35 35
         ];
36 36
     }
37 37
 
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?Exception $previous = null)
15 15
     {
16
-        $message = 'Invalid response' . ($message === '' ? '' : ': ' . $message);
16
+        $message = 'Invalid response'.($message === '' ? '' : ': '.$message);
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?Exception $previous = null)
15 15
     {
16
-        $message = 'Invalid XML-response' . ($message === '' ? '' : ': ' . $message);
16
+        $message = 'Invalid XML-response'.($message === '' ? '' : ': '.$message);
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
20 20
\ No newline at end of file
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?\Throwable $previous = null)
15 15
     {
16
-        $message = 'Not implemented' . (empty($message) ? '' : ': ' . $message);
16
+        $message = 'Not implemented'.(empty($message) ? '' : ': '.$message);
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?Exception $previous = null)
15 15
     {
16
-        $message = 'Invalid item' . ($message !== '' ? ': ' . $message : '');
16
+        $message = 'Invalid item'.($message !== '' ? ': '.$message : '');
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?Exception $previous = null)
15 15
     {
16
-        $message = 'No reference found' . ($message !== '' ? ': ' . $message : '');
16
+        $message = 'No reference found'.($message !== '' ? ': '.$message : '');
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
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
@@ -13,7 +13,7 @@
 block discarded – undo
13 13
 {
14 14
     public function __construct(string $message = '', int $code = 0, ?Exception $previous = null)
15 15
     {
16
-        $message = 'No UserId found' . ($message !== '' ? ': ' . $message : '');
16
+        $message = 'No UserId found'.($message !== '' ? ': '.$message : '');
17 17
         parent::__construct($message, $code, $previous);
18 18
     }
19 19
 }
Please login to merge, or discard this patch.
src/Geo6.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -80,7 +80,7 @@  discard block
 block discarded – undo
80 80
      */
81 81
     private function buildUrl(string $method, array $parameters = []): string
82 82
     {
83
-        return self::API_URL . '?' . $this->buildParameters($method, $parameters);
83
+        return self::API_URL.'?'.$this->buildParameters($method, $parameters);
84 84
     }
85 85
 
86 86
     /**
@@ -173,7 +173,7 @@  discard block
 block discarded – undo
173 173
      */
174 174
     public function getUserAgent(): string
175 175
     {
176
-        return 'PHP Bpost Geo6/' . self::VERSION . ' ' . $this->userAgent;
176
+        return 'PHP Bpost Geo6/'.self::VERSION.' '.$this->userAgent;
177 177
     }
178 178
 
179 179
     /**
Please login to merge, or discard this patch.