Test Setup Failed
Push — main ( 95cd88...4b8899 )
by Wes
15:34
created
src/OFX.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -213,8 +213,8 @@
 block discarded – undo
213 213
         $accounts = [];
214 214
         foreach ($xml->ACCTINFO as $account) {
215 215
             $accounts[] = new AccountInfo(
216
-                (string)$account->DESC,
217
-                (string)$account->ACCTID
216
+                (string) $account->DESC,
217
+                (string) $account->ACCTID
218 218
             );
219 219
         }
220 220
 
Please login to merge, or discard this patch.
src/OFXUtils.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -40,7 +40,7 @@
 block discarded – undo
40 40
         $ofxHeader = preg_replace('/^\n+/m', '', $ofxHeader);
41 41
 
42 42
         // Check if it's an XML file (OFXv2)
43
-        if(preg_match('/^<\?xml/', $ofxHeader) === 1) {
43
+        if (preg_match('/^<\?xml/', $ofxHeader) === 1) {
44 44
             // Only parse OFX headers and not XML headers.
45 45
             $ofxHeader = preg_replace('/<\?xml .*?\?>\n?/', '', $ofxHeader);
46 46
             $ofxHeader = preg_replace(['/"/', '/\?>/', '/<\?OFX/i'], '', $ofxHeader);
Please login to merge, or discard this patch.