diff --git a/src/Tools/Utils.php b/src/Tools/Utils.php index 1eb2a8a..2cd70e6 100644 --- a/src/Tools/Utils.php +++ b/src/Tools/Utils.php @@ -68,7 +68,7 @@ class Utils public static function deleteDirectoryAndContents($dir) { - $adapter = new Local(realpath(__DIR__."/../../")); + $adapter = new Local(realpath(__DIR__.'/../../')); $fs = new Filesystem($adapter); $fs->deleteDir($dir); } diff --git a/tests/Fixtures/TestController.php b/tests/Fixtures/TestController.php index a38f46f..473437f 100644 --- a/tests/Fixtures/TestController.php +++ b/tests/Fixtures/TestController.php @@ -115,14 +115,14 @@ class TestController extends Controller public function echoesConfig() { return [ - 'app.env' => config('app.env') + 'app.env' => config('app.env'), ]; } public function echoesUrlPathParameters($param) { return [ - 'param' => $param + 'param' => $param, ]; } diff --git a/tests/GenerateDocumentationTest.php b/tests/GenerateDocumentationTest.php index 07b4c8a..a86b24c 100644 --- a/tests/GenerateDocumentationTest.php +++ b/tests/GenerateDocumentationTest.php @@ -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; diff --git a/tests/TestHelpers.php b/tests/TestHelpers.php index 415679c..a4425c1 100644 --- a/tests/TestHelpers.php +++ b/tests/TestHelpers.php @@ -50,4 +50,4 @@ trait TestHelpers $needle = preg_replace('/\s/', '', $needle); $this->assertContains($needle, $haystack); } -} \ No newline at end of file +}