@@ -31,17 +31,17 @@ |
||
31 | 31 | */ |
32 | 32 | public function handle() |
33 | 33 | { |
34 | - if (! is_dir($directory = base_path('tests/Feature'))) { |
|
34 | + if (!is_dir($directory = base_path('tests/Feature'))) { |
|
35 | 35 | mkdir($directory, 0755, true); |
36 | 36 | } |
37 | 37 | |
38 | 38 | $filesystem = new Filesystem; |
39 | 39 | |
40 | - collect($filesystem->allFiles(__DIR__.'/stubs/Tests')) |
|
41 | - ->each(function (SplFileInfo $file) use ($filesystem) { |
|
40 | + collect($filesystem->allFiles(__DIR__ . '/stubs/Tests')) |
|
41 | + ->each(function(SplFileInfo $file) use ($filesystem) { |
|
42 | 42 | $filesystem->copy( |
43 | 43 | $file->getPathname(), |
44 | - base_path('tests/Feature/'.Str::replaceLast('.stub', '.php', $file->getFilename())) |
|
44 | + base_path('tests/Feature/' . Str::replaceLast('.stub', '.php', $file->getFilename())) |
|
45 | 45 | ); |
46 | 46 | }); |
47 | 47 |
@@ -16,11 +16,11 @@ discard block |
||
16 | 16 | * @return void |
17 | 17 | */ |
18 | 18 | |
19 | - public const LANG = __DIR__.'/lang'; |
|
20 | - public const DB = __DIR__.'/migrations'; |
|
21 | - public const VIEW = __DIR__.'/views'; |
|
22 | - public const CONFIG = __DIR__.'/config/sanctumauthstarter.php'; |
|
23 | - public const ACTION = __DIR__.'/.github/workflows'; |
|
19 | + public const LANG = __DIR__ . '/lang'; |
|
20 | + public const DB = __DIR__ . '/migrations'; |
|
21 | + public const VIEW = __DIR__ . '/views'; |
|
22 | + public const CONFIG = __DIR__ . '/config/sanctumauthstarter.php'; |
|
23 | + public const ACTION = __DIR__ . '/.github/workflows'; |
|
24 | 24 | |
25 | 25 | public function boot() |
26 | 26 | { |
@@ -62,7 +62,7 @@ discard block |
||
62 | 62 | public function register() |
63 | 63 | { |
64 | 64 | $this->mergeConfigFrom( |
65 | - __DIR__.'/config/sanctumauthstarter.php', 'sanctumauthstarter' |
|
65 | + __DIR__ . '/config/sanctumauthstarter.php', 'sanctumauthstarter' |
|
66 | 66 | ); |
67 | 67 | |
68 | 68 | $this->app->register(EventServiceProvider::class); |