Failed Conditions
Push — master ( 825113...ddc2dd )
by Adrien
02:43
created
src/DTO/GroupHeader.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -81,7 +81,7 @@
 block discarded – undo
81 81
     /**
82 82
      * @return null|Recipient
83 83
      */
84
-    public function getMessageRecipient():?Recipient
84
+    public function getMessageRecipient(): ?Recipient
85 85
     {
86 86
         return $this->messageRecipient;
87 87
     }
Please login to merge, or discard this patch.
src/DTO/Record.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -169,7 +169,7 @@  discard block
 block discarded – undo
169 169
     /**
170 170
      * @return null|DateTimeImmutable
171 171
      */
172
-    public function getFromDate():?DateTimeImmutable
172
+    public function getFromDate(): ?DateTimeImmutable
173 173
     {
174 174
         return $this->fromDate;
175 175
     }
@@ -185,7 +185,7 @@  discard block
 block discarded – undo
185 185
     /**
186 186
      * @return null|DateTimeImmutable
187 187
      */
188
-    public function getToDate():?DateTimeImmutable
188
+    public function getToDate(): ?DateTimeImmutable
189 189
     {
190 190
         return $this->toDate;
191 191
     }
Please login to merge, or discard this patch.
src/DTO/Recipient.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
      * @return null|ContactDetails
82 82
      */
83
-    public function getContactDetails():?ContactDetails
83
+    public function getContactDetails(): ?ContactDetails
84 84
     {
85 85
         return $this->contactDetails;
86 86
     }
@@ -96,7 +96,7 @@  discard block
 block discarded – undo
96 96
     /**
97 97
      * @return null|Identification
98 98
      */
99
-    public function getIdentification():?Identification
99
+    public function getIdentification(): ?Identification
100 100
     {
101 101
         return $this->identification;
102 102
     }
Please login to merge, or discard this patch.
test/Unit/EntryIteratorTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -12,7 +12,7 @@
 block discarded – undo
12 12
     protected function getDefaultMessage()
13 13
     {
14 14
         $dom = new DOMDocument('1.0', 'UTF-8');
15
-        $dom->load(__DIR__.'/Camt053/Stubs/camt053.v2.multi.statement.xml');
15
+        $dom->load(__DIR__ . '/Camt053/Stubs/camt053.v2.multi.statement.xml');
16 16
         return (new MessageFormat\V02)->getDecoder()->decode($dom);
17 17
     }
18 18
 
Please login to merge, or discard this patch.
test/Unit/Camt054/EndToEndTest.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -14,7 +14,7 @@  discard block
 block discarded – undo
14 14
     protected function getV2Message()
15 15
     {
16 16
         $dom = new DOMDocument('1.0', 'UTF-8');
17
-        $dom->load(__DIR__.'/Stubs/camt054.v2.xml');
17
+        $dom->load(__DIR__ . '/Stubs/camt054.v2.xml');
18 18
 
19 19
         return (new MessageFormat\V02)->getDecoder()->decode($dom);
20 20
     }
@@ -22,7 +22,7 @@  discard block
 block discarded – undo
22 22
     protected function getV4Message()
23 23
     {
24 24
         $dom = new DOMDocument('1.0', 'UTF-8');
25
-        $dom->load(__DIR__.'/Stubs/camt054.v4.xml');
25
+        $dom->load(__DIR__ . '/Stubs/camt054.v4.xml');
26 26
 
27 27
         return (new MessageFormat\V04)->getDecoder()->decode($dom);
28 28
     }
Please login to merge, or discard this patch.
test/Unit/Camt052/EndToEndTest.php 1 patch
Spacing   +6 added lines, -6 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@  discard block
 block discarded – undo
15 15
     protected function getV1Message()
16 16
     {
17 17
         $dom = new DOMDocument('1.0', 'UTF-8');
18
-        $dom->load(__DIR__.'/Stubs/camt052.v1.xml');
18
+        $dom->load(__DIR__ . '/Stubs/camt052.v1.xml');
19 19
 
20 20
         return (new MessageFormat\V01)->getDecoder()->decode($dom);
21 21
     }
@@ -23,7 +23,7 @@  discard block
 block discarded – undo
23 23
     protected function getV2Message()
24 24
     {
25 25
         $dom = new DOMDocument('1.0', 'UTF-8');
26
-        $dom->load(__DIR__.'/Stubs/camt052.v2.xml');
26
+        $dom->load(__DIR__ . '/Stubs/camt052.v2.xml');
27 27
 
28 28
         return (new MessageFormat\V02)->getDecoder()->decode($dom);
29 29
     }
@@ -31,7 +31,7 @@  discard block
 block discarded – undo
31 31
     protected function getV2OtherAccountMessage()
32 32
     {
33 33
         $dom = new DOMDocument('1.0', 'UTF-8');
34
-        $dom->load(__DIR__.'/Stubs/camt052.v2.other-account.xml');
34
+        $dom->load(__DIR__ . '/Stubs/camt052.v2.other-account.xml');
35 35
 
36 36
         return (new MessageFormat\V02)->getDecoder()->decode($dom);
37 37
     }
@@ -39,7 +39,7 @@  discard block
 block discarded – undo
39 39
     protected function getV4Message()
40 40
     {
41 41
         $dom = new DOMDocument('1.0', 'UTF-8');
42
-        $dom->load(__DIR__.'/Stubs/camt052.v4.xml');
42
+        $dom->load(__DIR__ . '/Stubs/camt052.v4.xml');
43 43
 
44 44
         return (new MessageFormat\V04)->getDecoder()->decode($dom);
45 45
     }
@@ -215,12 +215,12 @@  discard block
 block discarded – undo
215 215
                                 $this->assertEquals('Company Name', $party->getRelatedPartyType()->getName());
216 216
                                 $this->assertEquals('NL', $party->getRelatedPartyType()->getAddress()->getCountry());
217 217
                                 $this->assertEquals([], $party->getRelatedPartyType()->getAddress()->getAddressLines());
218
-                                $this->assertEquals('NL56AGDH9619008421', (string)$party->getAccount()->getIdentification());
218
+                                $this->assertEquals('NL56AGDH9619008421', (string) $party->getAccount()->getIdentification());
219 219
                             } elseif ($party->getRelatedPartyType() instanceof DTO\Debtor) {
220 220
                                 $this->assertEquals('NAME NAME', $party->getRelatedPartyType()->getName());
221 221
                                 $this->assertEquals('NL', $party->getRelatedPartyType()->getAddress()->getCountry());
222 222
                                 $this->assertEquals(['ADDR ADDR 10', '2000 ANTWERPEN'], $party->getRelatedPartyType()->getAddress()->getAddressLines());
223
-                                $this->assertEquals('NL56AGDH9619008421', (string)$party->getAccount()->getIdentification());
223
+                                $this->assertEquals('NL56AGDH9619008421', (string) $party->getAccount()->getIdentification());
224 224
                             }
225 225
                         }
226 226
                     }
Please login to merge, or discard this patch.