| @@ -21,7 +21,7 @@ discard block | ||
| 21 | 21 | $path = trim($path); | 
| 22 | 22 | } | 
| 23 | 23 |          if (strncmp($path, '/', 1) !== 0) { | 
| 24 | - $path = getcwd() . '/' . $path; | |
| 24 | + $path = getcwd().'/'.$path; | |
| 25 | 25 | } | 
| 26 | 26 |          if (!file_exists($path)) { | 
| 27 | 27 |              throw new \Exception("no env file at $path"); | 
| @@ -54,7 +54,7 @@ discard block | ||
| 54 | 54 | $dir = basename($this->getCwd()); | 
| 55 | 55 |          foreach ($this->findVariants() as $path) { | 
| 56 | 56 | $name = pathinfo($path, PATHINFO_EXTENSION); | 
| 57 | -            if (strncmp($dir, "${name}-", strlen($name)+1) === 0) { | |
| 57 | +            if (strncmp($dir, "${name}-", strlen($name) + 1) === 0) { | |
| 58 | 58 | return $path; | 
| 59 | 59 | } | 
| 60 | 60 | } | 
| @@ -244,11 +244,11 @@ discard block | ||
| 244 | 244 |          if (file_exists($path)) { | 
| 245 | 245 | return $path; | 
| 246 | 246 | } | 
| 247 | - $path = __DIR__ . DIRECTORY_SEPARATOR . $file; | |
| 247 | + $path = __DIR__.DIRECTORY_SEPARATOR.$file; | |
| 248 | 248 |          if (file_exists($path)) { | 
| 249 | 249 | return $path; | 
| 250 | 250 | } | 
| 251 | - $path = __DIR__ . DIRECTORY_SEPARATOR . basename($file); | |
| 251 | + $path = __DIR__.DIRECTORY_SEPARATOR.basename($file); | |
| 252 | 252 |          if (file_exists($path)) { | 
| 253 | 253 | return $path; | 
| 254 | 254 | } | 
| @@ -299,7 +299,7 @@ discard block | ||
| 299 | 299 |          if (strncmp($file, '/', 1) === 0) { | 
| 300 | 300 | $path = $file; | 
| 301 | 301 |          } else { | 
| 302 | - $path = $this->dir . DIRECTORY_SEPARATOR . $file; | |
| 302 | + $path = $this->dir.DIRECTORY_SEPARATOR.$file; | |
| 303 | 303 | } | 
| 304 | 304 | |
| 305 | 305 | return $this->extractCwd($path); | 
| @@ -310,7 +310,7 @@ discard block | ||
| 310 | 310 | $cwd = $this->getCwd(); | 
| 311 | 311 | $len = strlen($cwd); | 
| 312 | 312 |          if (strncmp($path, $cwd, $len) === 0) { | 
| 313 | - $path = substr($path, $len+1); | |
| 313 | + $path = substr($path, $len + 1); | |
| 314 | 314 | } | 
| 315 | 315 | |
| 316 | 316 | return $path; |