diff --git a/src/Commands/ActionMakeCommand.php b/src/Commands/ActionMakeCommand.php index 6f7aee7..87f75d9 100644 --- a/src/Commands/ActionMakeCommand.php +++ b/src/Commands/ActionMakeCommand.php @@ -45,6 +45,6 @@ protected function getOptions(): array */ protected function getDefaultNamespace($rootNamespace): string { - return $rootNamespace . '\Action'; + return $rootNamespace.'\Action'; } } diff --git a/src/StarterKitServiceProvider.php b/src/StarterKitServiceProvider.php index 55d4e51..73c8bf2 100644 --- a/src/StarterKitServiceProvider.php +++ b/src/StarterKitServiceProvider.php @@ -37,12 +37,12 @@ public function boot() parent::boot(); $this->publishes([ - __DIR__ . '/../stubs/tlint.stub' => $this->app->basePath('tlint.json'), - __DIR__ . '/../stubs/duster.stub' => $this->app->basePath('duster.json'), - __DIR__ . '/../stubs/pint.stub' => $this->app->basePath('pint.json'), - __DIR__ . '/../stubs/phpstan.stub' => $this->app->basePath('phpstan.neon'), - __DIR__ . '/../stubs/tests/Feature/architecture-test.stub' => $this->app->basePath('tests/Feature/ArchitectureTest.php'), - __DIR__ . '/../stubs/laravel' => $this->app->basePath('stubs'), + __DIR__.'/../stubs/tlint.stub' => $this->app->basePath('tlint.json'), + __DIR__.'/../stubs/duster.stub' => $this->app->basePath('duster.json'), + __DIR__.'/../stubs/pint.stub' => $this->app->basePath('pint.json'), + __DIR__.'/../stubs/phpstan.stub' => $this->app->basePath('phpstan.neon'), + __DIR__.'/../stubs/tests/Feature/architecture-test.stub' => $this->app->basePath('tests/Feature/ArchitectureTest.php'), + __DIR__.'/../stubs/laravel' => $this->app->basePath('stubs'), ]); } } diff --git a/tests/TestCase.php b/tests/TestCase.php index f61853a..a13dad5 100644 --- a/tests/TestCase.php +++ b/tests/TestCase.php @@ -13,7 +13,7 @@ protected function setUp(): void parent::setUp(); Factory::guessFactoryNamesUsing( - fn (string $modelName) => 'Rockero\\StarterKit\\Database\\Factories\\' . class_basename($modelName) . 'Factory' + fn (string $modelName) => 'Rockero\\StarterKit\\Database\\Factories\\'.class_basename($modelName).'Factory' ); }