Skip to content

Commit

Permalink
Remove createInclusiveGitIgnoreFile option
Browse files Browse the repository at this point in the history
  • Loading branch information
opdavies committed Apr 4, 2024
1 parent 988a677 commit 1369ee7
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 22 deletions.
4 changes: 0 additions & 4 deletions src/DataTransferObject/ConfigDto.php
Original file line number Diff line number Diff line change
Expand Up @@ -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'),
]),
Expand Down
17 changes: 0 additions & 17 deletions templates/php/drupal/.gitignore.twig
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# {{ managedText|raw }}

{% if not experimental.createInclusiveGitIgnoreFile %}
.editorconfig
.env
.gitattributes
Expand Down Expand Up @@ -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 %}
1 change: 0 additions & 1 deletion todo
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
generate phpcs, phpstan config files for symfony
allow for using flakes and docker in the smae project
remove createInclusiveGitIgnoreFile option

0 comments on commit 1369ee7

Please sign in to comment.