diff --git a/src/Plugins/Init.php b/src/Plugins/Init.php index 40c988ab..18277294 100644 --- a/src/Plugins/Init.php +++ b/src/Plugins/Init.php @@ -26,11 +26,11 @@ final class Init implements HandlesArguments * The files that will be created. */ private const STUBS = [ - 'phpunit.xml' => 'phpunit.xml', - 'Pest.php' => 'tests/Pest.php', - 'TestCase.php' => 'tests/TestCase.php', - 'Unit/ExampleTest.php' => 'tests/Unit/ExampleTest.php', - 'Feature/ExampleTest.php' => 'tests/Feature/ExampleTest.php', + 'phpunit.xml.stub' => 'phpunit.xml', + 'Pest.php.stub' => 'tests/Pest.php', + 'TestCase.php.stub' => 'tests/TestCase.php', + 'Unit/ExampleTest.php.stub' => 'tests/Unit/ExampleTest.php', + 'Feature/ExampleTest.php.stub' => 'tests/Feature/ExampleTest.php', ]; /** diff --git a/stubs/init-laravel/Feature/ExampleTest.php b/stubs/init-laravel/Feature/ExampleTest.php.stub similarity index 100% rename from stubs/init-laravel/Feature/ExampleTest.php rename to stubs/init-laravel/Feature/ExampleTest.php.stub diff --git a/stubs/init-laravel/Pest.php b/stubs/init-laravel/Pest.php.stub similarity index 100% rename from stubs/init-laravel/Pest.php rename to stubs/init-laravel/Pest.php.stub diff --git a/stubs/init-laravel/TestCase.php b/stubs/init-laravel/TestCase.php.stub similarity index 100% rename from stubs/init-laravel/TestCase.php rename to stubs/init-laravel/TestCase.php.stub diff --git a/stubs/init-laravel/Unit/ExampleTest.php b/stubs/init-laravel/Unit/ExampleTest.php.stub similarity index 100% rename from stubs/init-laravel/Unit/ExampleTest.php rename to stubs/init-laravel/Unit/ExampleTest.php.stub diff --git a/stubs/init-laravel/phpunit.xml b/stubs/init-laravel/phpunit.xml.stub similarity index 100% rename from stubs/init-laravel/phpunit.xml rename to stubs/init-laravel/phpunit.xml.stub diff --git a/stubs/init/Feature/ExampleTest.php b/stubs/init/Feature/ExampleTest.php.stub similarity index 100% rename from stubs/init/Feature/ExampleTest.php rename to stubs/init/Feature/ExampleTest.php.stub diff --git a/stubs/init/Pest.php b/stubs/init/Pest.php.stub similarity index 100% rename from stubs/init/Pest.php rename to stubs/init/Pest.php.stub diff --git a/stubs/init/TestCase.php b/stubs/init/TestCase.php.stub similarity index 100% rename from stubs/init/TestCase.php rename to stubs/init/TestCase.php.stub diff --git a/stubs/init/Unit/ExampleTest.php b/stubs/init/Unit/ExampleTest.php.stub similarity index 100% rename from stubs/init/Unit/ExampleTest.php rename to stubs/init/Unit/ExampleTest.php.stub diff --git a/stubs/init/phpunit.xml b/stubs/init/phpunit.xml.stub similarity index 100% rename from stubs/init/phpunit.xml rename to stubs/init/phpunit.xml.stub