Passed
Branch upgrade-sf6-php84 (d80c04)
by Zangra
02:17
created
tests/Common/BasicAttribute/LanguageTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
             $test = new Language($value);
17 17
             $this->assertEquals($value, $test->getValue());
18 18
         } catch (BpostException $ex) {
19
-            $this->fail('Exception launched for valid value: "' . $value . '"');
19
+            $this->fail('Exception launched for valid value: "'.$value.'"');
20 20
         }
21 21
 
22 22
         $value = 'ES';
23 23
         try {
24 24
             new Language($value);
25
-            $this->fail('Exception uncaught for invalid value: "' . $value . '"');
25
+            $this->fail('Exception uncaught for invalid value: "'.$value.'"');
26 26
         } catch (BpostInvalidValueException $ex) {
27 27
             $this->assertTrue(true);
28 28
         }
Please login to merge, or discard this patch.
tests/Common/BasicAttribute/PhoneNumberTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -16,13 +16,13 @@
 block discarded – undo
16 16
             $test = new PhoneNumber($value);
17 17
             $this->assertEquals($value, $test->getValue());
18 18
         } catch (BpostException $ex) {
19
-            $this->fail('Exception launched for valid value: "' . $value . '"');
19
+            $this->fail('Exception launched for valid value: "'.$value.'"');
20 20
         }
21 21
 
22 22
         $value = str_repeat('a', 21);
23 23
         try {
24 24
             new PhoneNumber($value);
25
-            $this->fail('Exception uncaught for invalid value: "' . $value . '"');
25
+            $this->fail('Exception uncaught for invalid value: "'.$value.'"');
26 26
         } catch (BpostInvalidLengthException $ex) {
27 27
             $this->assertTrue(true);
28 28
         }
Please login to merge, or discard this patch.
tests/Common/BasicAttribute/EmailAddressCharacteristicTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -17,13 +17,13 @@  discard block
 block discarded – undo
17 17
             $test = new EmailAddressCharacteristic($value);
18 18
             $this->assertEquals($value, $test->getValue());
19 19
         } catch (BpostException $ex) {
20
-            $this->fail('Exception launched for valid value: "' . $value . '"');
20
+            $this->fail('Exception launched for valid value: "'.$value.'"');
21 21
         }
22 22
 
23 23
         $value = 'myBeautifulAndLongEmailAddressFor2016@antidot-company-based-at-Brussels.com';
24 24
         try {
25 25
             new EmailAddressCharacteristic($value);
26
-            $this->fail('Exception uncaught for invalid value: "' . $value . '"');
26
+            $this->fail('Exception uncaught for invalid value: "'.$value.'"');
27 27
         } catch (BpostInvalidLengthException $ex) {
28 28
             $this->assertTrue(true);
29 29
         }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
         $value = '[email protected]';
32 32
         try {
33 33
             new EmailAddressCharacteristic($value);
34
-            $this->fail('Exception uncaught for invalid value: "' . $value . '"');
34
+            $this->fail('Exception uncaught for invalid value: "'.$value.'"');
35 35
         } catch (BpostInvalidPatternException $ex) {
36 36
             $this->assertTrue(true);
37 37
         }
Please login to merge, or discard this patch.
tests/Common/ValidatedValue/LabelFormatTest.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -16,7 +16,7 @@  discard block
 block discarded – undo
16 16
             $test = new LabelFormat($value);
17 17
             $this->assertEquals('A4', $test->getValue());
18 18
         } catch (BpostException $ex) {
19
-            $this->fail('Exception launched for valid value: "' . $value . '"');
19
+            $this->fail('Exception launched for valid value: "'.$value.'"');
20 20
         }
21 21
 
22 22
         $value = 'A4';
@@ -24,13 +24,13 @@  discard block
 block discarded – undo
24 24
             $test = new LabelFormat($value);
25 25
             $this->assertEquals($value, $test->getValue());
26 26
         } catch (BpostException $ex) {
27
-            $this->fail('Exception launched for valid value: "' . $value . '"');
27
+            $this->fail('Exception launched for valid value: "'.$value.'"');
28 28
         }
29 29
 
30 30
         $value = 'A5';
31 31
         try {
32 32
             new LabelFormat($value);
33
-            $this->fail('Exception uncaught for invalid value: "' . $value . '"');
33
+            $this->fail('Exception uncaught for invalid value: "'.$value.'"');
34 34
         } catch (BpostInvalidValueException $ex) {
35 35
             $this->assertTrue(true);
36 36
         }
Please login to merge, or discard this patch.
tests/Bpost/Order/SenderTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $expectedDocument = self::createDomDocument();
49 49
         $sender = $expectedDocument->createElement('sender');
50 50
         foreach ($data as $key => $value) {
51
-            $key = 'common:' . $key;
51
+            $key = 'common:'.$key;
52 52
             if ($key == 'common:address') {
53 53
                 $address = $expectedDocument->createElement($key);
54 54
                 foreach ($value as $key2 => $value2) {
55
-                    $key2 = 'common:' . $key2;
55
+                    $key2 = 'common:'.$key2;
56 56
                     $address->appendChild(
57 57
                         $expectedDocument->createElement($key2, $value2)
58 58
                     );
Please login to merge, or discard this patch.
tests/Bpost/Order/CustomerTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $expectedDocument = self::createDomDocument();
49 49
         $sender = $expectedDocument->createElement('customer');
50 50
         foreach ($data as $key => $value) {
51
-            $key = 'common:' . $key;
51
+            $key = 'common:'.$key;
52 52
             if ($key == 'common:address') {
53 53
                 $address = $expectedDocument->createElement($key);
54 54
                 foreach ($value as $key2 => $value2) {
55
-                    $key2 = 'common:' . $key2;
55
+                    $key2 = 'common:'.$key2;
56 56
                     $address->appendChild(
57 57
                         $expectedDocument->createElement($key2, $value2)
58 58
                     );
Please login to merge, or discard this patch.
tests/Bpost/Order/ReceiverTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -48,11 +48,11 @@
 block discarded – undo
48 48
         $expectedDocument = self::createDomDocument();
49 49
         $sender = $expectedDocument->createElement('receiver');
50 50
         foreach ($data as $key => $value) {
51
-            $key = 'common:' . $key;
51
+            $key = 'common:'.$key;
52 52
             if ($key == 'common:address') {
53 53
                 $address = $expectedDocument->createElement($key);
54 54
                 foreach ($value as $key2 => $value2) {
55
-                    $key2 = 'common:' . $key2;
55
+                    $key2 = 'common:'.$key2;
56 56
                     $address->appendChild(
57 57
                         $expectedDocument->createElement($key2, $value2)
58 58
                     );
Please login to merge, or discard this patch.
tests/Bpost/Order/Box/AtBpostTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -59,7 +59,7 @@
 block discarded – undo
59 59
             if ($key == 'pugoAddress') {
60 60
                 $address = $expectedDocument->createElement($key);
61 61
                 foreach ($value as $key2 => $value2) {
62
-                    $key2 = 'common:' . $key2;
62
+                    $key2 = 'common:'.$key2;
63 63
                     $address->appendChild(
64 64
                         $expectedDocument->createElement($key2, $value2)
65 65
                     );
Please login to merge, or discard this patch.
tests/Bpost/Order/Box/Openinghour/DayTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -62,7 +62,7 @@
 block discarded – undo
62 62
         foreach ($data as $key => $value) {
63 63
             $expectedDocument->appendChild(
64 64
                 $expectedDocument->createElement(
65
-                    'foo:' . $key,
65
+                    'foo:'.$key,
66 66
                     $value
67 67
                 )
68 68
             );
Please login to merge, or discard this patch.