@@ -16,13 +16,13 @@ |
||
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 | } |
@@ -16,13 +16,13 @@ |
||
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 | } |
@@ -17,13 +17,13 @@ discard block |
||
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 |
||
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 | } |
@@ -16,7 +16,7 @@ discard block |
||
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 |
||
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 | } |
@@ -48,11 +48,11 @@ |
||
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 | ); |
@@ -48,11 +48,11 @@ |
||
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 | ); |
@@ -48,11 +48,11 @@ |
||
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 | ); |
@@ -59,7 +59,7 @@ |
||
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 | ); |
@@ -62,7 +62,7 @@ |
||
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 | ); |