mirror of
https://github.com/ambieco/scribe.git
synced 2026-04-01 18:10:44 +08:00
Apply fixes from StyleCI
This commit is contained in:
committed by
StyleCI Bot
parent
5d2be82a57
commit
9be9cd2ecb
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -50,4 +50,4 @@ trait TestHelpers
|
||||
$needle = preg_replace('/\s/', '', $needle);
|
||||
$this->assertContains($needle, $haystack);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user