diff --git a/src/Console/Command/BuildConfigurationCommand.php b/src/Console/Command/BuildConfigurationCommand.php index 5b24b93..149fcc5 100644 --- a/src/Console/Command/BuildConfigurationCommand.php +++ b/src/Console/Command/BuildConfigurationCommand.php @@ -57,12 +57,12 @@ final class BuildConfigurationCommand extends Command } if ($configurationData['language'] === self::LANGUAGE_PHP) { - $this->filesystem->dumpFile("{$outputDir}/phpcs.xml.dist", $this->twig->render('phpcs.xml.twig', $configurationData)); - $this->filesystem->dumpFile("{$outputDir}/phpstan.neon.dist", $this->twig->render('phpstan.neon.twig', $configurationData)); - $this->filesystem->dumpFile("{$outputDir}/phpunit.xml.dist", $this->twig->render('phpunit.xml.twig', $configurationData)); + $this->filesystem->dumpFile("{$outputDir}/phpcs.xml.dist", $this->twig->render('php/phpcs.xml.twig', $configurationData)); + $this->filesystem->dumpFile("{$outputDir}/phpstan.neon.dist", $this->twig->render('php/phpstan.neon.twig', $configurationData)); + $this->filesystem->dumpFile("{$outputDir}/phpunit.xml.dist", $this->twig->render('php/phpunit.xml.twig', $configurationData)); $this->filesystem->mkdir("{$outputDir}/tools/docker/images/php/root/usr/local/bin"); - $this->filesystem->dumpFile("{$outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php", $this->twig->render('docker-entrypoint-php.twig', $configurationData)); + $this->filesystem->dumpFile("{$outputDir}/tools/docker/images/php/root/usr/local/bin/docker-entrypoint-php", $this->twig->render('php/docker-entrypoint-php.twig', $configurationData)); } if ($configurationData['web']['type'] === 'nginx') { diff --git a/templates/docker-entrypoint-php.twig b/templates/php/docker-entrypoint-php.twig similarity index 100% rename from templates/docker-entrypoint-php.twig rename to templates/php/docker-entrypoint-php.twig diff --git a/templates/phpcs.xml.twig b/templates/php/phpcs.xml.twig similarity index 100% rename from templates/phpcs.xml.twig rename to templates/php/phpcs.xml.twig diff --git a/templates/phpstan.neon.twig b/templates/php/phpstan.neon.twig similarity index 100% rename from templates/phpstan.neon.twig rename to templates/php/phpstan.neon.twig diff --git a/templates/phpunit.xml.twig b/templates/php/phpunit.xml.twig similarity index 100% rename from templates/phpunit.xml.twig rename to templates/php/phpunit.xml.twig