Skip to content

Commit 247f641

Browse files
authored
Merge pull request #530 from mpociot/analysis-q5BNbr
Apply fixes from StyleCI
2 parents 5d2be82 + 9be9cd2 commit 247f641

File tree

4 files changed

+5
-7
lines changed

4 files changed

+5
-7
lines changed

src/Tools/Utils.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public static function replaceUrlParameterBindings(string $uri, array $bindings)
6868

6969
public static function deleteDirectoryAndContents($dir)
7070
{
71-
$adapter = new Local(realpath(__DIR__."/../../"));
71+
$adapter = new Local(realpath(__DIR__.'/../../'));
7272
$fs = new Filesystem($adapter);
7373
$fs->deleteDir($dir);
7474
}

tests/Fixtures/TestController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,14 +115,14 @@ public function shouldFetchRouteResponse()
115115
public function echoesConfig()
116116
{
117117
return [
118-
'app.env' => config('app.env')
118+
'app.env' => config('app.env'),
119119
];
120120
}
121121

122122
public function echoesUrlPathParameters($param)
123123
{
124124
return [
125-
'param' => $param
125+
'param' => $param,
126126
];
127127
}
128128

tests/GenerateDocumentationTest.php

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,9 @@
22

33
namespace Mpociot\ApiDoc\Tests;
44

5-
use Mpociot\ApiDoc\Tools\Utils;
65
use ReflectionException;
76
use Illuminate\Support\Str;
8-
use RecursiveIteratorIterator;
9-
use RecursiveDirectoryIterator;
7+
use Mpociot\ApiDoc\Tools\Utils;
108
use Orchestra\Testbench\TestCase;
119
use Illuminate\Support\Facades\App;
1210
use Illuminate\Support\Facades\Config;

tests/TestHelpers.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ private function assertContainsIgnoringWhitespace($needle, $haystack)
5050
$needle = preg_replace('/\s/', '', $needle);
5151
$this->assertContains($needle, $haystack);
5252
}
53-
}
53+
}

0 commit comments

Comments
 (0)