From 1369ee750aa016a3c6db8a9e82424b03597cfd41 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Thu, 4 Apr 2024 23:39:37 +0100 Subject: [PATCH] Remove createInclusiveGitIgnoreFile option --- src/DataTransferObject/ConfigDto.php | 4 ---- templates/php/drupal/.gitignore.twig | 17 ----------------- todo | 1 - 3 files changed, 22 deletions(-) diff --git a/src/DataTransferObject/ConfigDto.php b/src/DataTransferObject/ConfigDto.php index 391f2a2..3cb9816 100644 --- a/src/DataTransferObject/ConfigDto.php +++ b/src/DataTransferObject/ConfigDto.php @@ -116,10 +116,6 @@ final class ConfigDto new Assert\Type('bool'), ]), - 'createInclusiveGitIgnoreFile' => new Assert\Optional([ - new Assert\Type('bool'), - ]), - 'createTmuxStartupFile' => new Assert\Optional([ new Assert\Type('bool'), ]), diff --git a/templates/php/drupal/.gitignore.twig b/templates/php/drupal/.gitignore.twig index 7699325..2e33a58 100644 --- a/templates/php/drupal/.gitignore.twig +++ b/templates/php/drupal/.gitignore.twig @@ -1,6 +1,5 @@ # {{ managedText|raw }} -{% if not experimental.createInclusiveGitIgnoreFile %} .editorconfig .env .gitattributes @@ -46,19 +45,3 @@ docker-compose.override.yaml {% if flake is defined %} .dir-env/ {% endif %} -{% else %} -# Ignore everything. -* - -# Include these things: -!/{{ drupal.docroot }}/*/custom/** -{% endif %} - -{% for path in git.ignore|default([])|sort %} -{{ path }} -{% endfor %} - -{% if experimental.createInclusiveGitIgnoreFile %} -# Even if they are in sub-directories. -!*/ -{% endif %} diff --git a/todo b/todo index 60af2ac..ce36a9f 100644 --- a/todo +++ b/todo @@ -1,3 +1,2 @@ generate phpcs, phpstan config files for symfony allow for using flakes and docker in the smae project -remove createInclusiveGitIgnoreFile option