Skip to content

Commit df1caa8

Browse files
authored
Merge pull request #9 from highsolutions/analysis-8bkPWM
Apply fixes from StyleCI
2 parents 8395826 + 8d249b9 commit df1caa8

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

src/Services/EnvironmentManagerService.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,9 @@ protected function setPath($anotherDirectory = '')
3030
protected function getStoragePath()
3131
{
3232
$path = $this->getConfig('path');
33-
if(! File::exists($path))
33+
if (! File::exists($path)) {
3434
File::makeDirectory($path, 0755, true, true);
35+
}
3536

3637
return str_finish($path, DIRECTORY_SEPARATOR);
3738
}
@@ -137,6 +138,7 @@ protected function transformListRow($name, $index)
137138
private function stripPathAndSeparators($name)
138139
{
139140
$path = $this->getStoragePath();
141+
140142
return str_replace($path, '', $name);
141143
}
142144

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public function setUp()
5454

5555
public function tearDown()
5656
{
57-
File::cleanDirectory(config('laravel-environments.path'));
57+
File::cleanDirectory(config('laravel-environments.path'));
5858
}
5959

6060
public static function assertDirectoryExists($directoryName, $message = '')

0 commit comments

Comments
 (0)