chore: rename drupal-project to drupal

This commit is contained in:
Oliver Davies 2023-07-22 10:40:02 +01:00
parent b3f61a43da
commit c68bca3d56
7 changed files with 8 additions and 8 deletions

View file

@ -100,9 +100,9 @@ final class CreateListOfFilesToGenerate
);
}
if ('drupal-project' === Arr::get($configurationData, 'type')) {
if ('drupal' === Arr::get($configurationData, 'type')) {
// Add a Drupal version of phpunit.xml.dist.
$filesToGenerate[] = new TemplateFile(data: 'drupal-project/phpunit.xml.dist', name: 'phpunit.xml.dist');
$filesToGenerate[] = new TemplateFile(data: 'drupal/phpunit.xml.dist', name: 'phpunit.xml.dist');
}
if (Arr::get($configurationData, 'experimental.createGitHubActionsConfiguration', false) === true) {

View file

@ -54,7 +54,7 @@ final class Config
#[Assert\NotBlank]
public string $name;
#[Assert\Choice(choices: ['drupal-project', 'fractal', 'laravel', 'php-library', 'vuejs'])]
#[Assert\Choice(choices: ['drupal', 'fractal', 'laravel', 'php-library', 'vuejs'])]
#[Assert\NotBlank]
public string $type;