| @@ -35,12 +35,12 @@ discard block | ||
| 35 | 35 | |
| 36 | 36 | //Try to open File | 
| 37 | 37 |          if (!file_exists($file)) { | 
| 38 | -            throw new \Exception('Unable to open file \'' . $file .'\': File not found'); | |
| 38 | +            throw new \Exception('Unable to open file \'' . $file . '\': File not found'); | |
| 39 | 39 | } | 
| 40 | 40 |          try { | 
| 41 | 41 | $handle = fopen($file, "r"); | 
| 42 | 42 |          } catch (\Exception $e) { | 
| 43 | -            throw new \Exception('Unable to open file \'' . $file .'\': File was found but unknown error occured.'); | |
| 43 | +            throw new \Exception('Unable to open file \'' . $file . '\': File was found but unknown error occured.'); | |
| 44 | 44 | } | 
| 45 | 45 | |
| 46 | 46 | //Initialize result array | 
| @@ -73,7 +73,7 @@ discard block | ||
| 73 | 73 | //Extract commands and save them to array | 
| 74 | 74 | $instructions = array_map( | 
| 75 | 75 | 'trim', | 
| 76 | -                array_filter(preg_split('~\\\\.(*SKIP)(*FAIL)|'.$currentDelimiter.'~s', $line)) | |
| 76 | +                array_filter(preg_split('~\\\\.(*SKIP)(*FAIL)|' . $currentDelimiter . '~s', $line)) | |
| 77 | 77 | ); | 
| 78 | 78 | |
| 79 | 79 | //When there is no instruction (empty line) --> continue with next |