Skip to content

Commit

Permalink
Merge pull request #530 from mpociot/analysis-q5BNbr
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
mpociot authored Jun 23, 2019
2 parents 5d2be82 + 9be9cd2 commit 247f641
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/Tools/Utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public static function replaceUrlParameterBindings(string $uri, array $bindings)

public static function deleteDirectoryAndContents($dir)
{
$adapter = new Local(realpath(__DIR__."/../../"));
$adapter = new Local(realpath(__DIR__.'/../../'));
$fs = new Filesystem($adapter);
$fs->deleteDir($dir);
}
Expand Down
4 changes: 2 additions & 2 deletions tests/Fixtures/TestController.php
Original file line number Diff line number Diff line change
Expand Up @@ -115,14 +115,14 @@ public function shouldFetchRouteResponse()
public function echoesConfig()
{
return [
'app.env' => config('app.env')
'app.env' => config('app.env'),
];
}

public function echoesUrlPathParameters($param)
{
return [
'param' => $param
'param' => $param,
];
}

Expand Down
4 changes: 1 addition & 3 deletions tests/GenerateDocumentationTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,9 @@

namespace Mpociot\ApiDoc\Tests;

use Mpociot\ApiDoc\Tools\Utils;
use ReflectionException;
use Illuminate\Support\Str;
use RecursiveIteratorIterator;
use RecursiveDirectoryIterator;
use Mpociot\ApiDoc\Tools\Utils;
use Orchestra\Testbench\TestCase;
use Illuminate\Support\Facades\App;
use Illuminate\Support\Facades\Config;
Expand Down
2 changes: 1 addition & 1 deletion tests/TestHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,4 +50,4 @@ private function assertContainsIgnoringWhitespace($needle, $haystack)
$needle = preg_replace('/\s/', '', $needle);
$this->assertContains($needle, $haystack);
}
}
}

0 comments on commit 247f641

Please sign in to comment.