Completed
Push — master ( 77f799...365b3d )
by Adelar
02:21
created
src/Ofx.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -25,7 +25,7 @@  discard block
 block discarded – undo
25 25
      */
26 26
     public static function loadFromFile($ofxFilePath)
27 27
     {
28
-        if (! file_exists($ofxFilePath)) {
28
+        if (!file_exists($ofxFilePath)) {
29 29
             throw new \InvalidArgumentException("File '{$ofxFilePath}' could not be found");
30 30
         }
31 31
         return static::loadFromString(file_get_contents($ofxFilePath));
@@ -44,7 +44,7 @@  discard block
 block discarded – undo
44 44
         libxml_use_internal_errors(true);
45 45
         $xml = simplexml_load_string($xml);
46 46
         $errors = libxml_get_errors();
47
-        if (! empty($errors)) {
47
+        if (!empty($errors)) {
48 48
             throw new \Exception("Failed to parse OFX: " . var_export($errors, true));
49 49
         }
50 50
         
Please login to merge, or discard this patch.
tests/OfxTest.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -30,7 +30,7 @@
 block discarded – undo
30 30
      * @test
31 31
      * @expectedException InvalidArgumentException
32 32
      */
33
-    public function invalidFile(){
33
+    public function invalidFile() {
34 34
         $ofx = Ofx::loadFromFile('Anywhere');
35 35
     }
36 36
 }
Please login to merge, or discard this patch.