Test Setup Failed
Push — main ( a2df4d...ab8e31 )
by Wes
02:11
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.
src/Transaction.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -116,7 +116,7 @@
 block discarded – undo
116 116
     public function typeDescription(): string
117 117
     {
118 118
         // Cast SimpleXMLObject to string
119
-        $type = (string)$this->type;
119
+        $type = (string) $this->type;
120 120
         return array_key_exists($type, self::$types) ? self::$types[$type] : '';
121 121
     }
122 122
 }
Please login to merge, or discard this patch.