@@ -25,7 +25,7 @@ discard block |
||
| 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 |
||
| 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 | |
@@ -30,7 +30,7 @@ |
||
| 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 | } |