Skip to content
This repository was archived by the owner on Nov 2, 2024. It is now read-only.

Add config options to composer file. #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/DrupalInitCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ protected function execute(InputInterface $input, OutputInterface $output)
$options['config'] = [
'sort-packages' => true,
'optimize-autoloader' => true,
'apcu-autoloader' => true,
'secure-http' => false,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@softeg, I am not sure if this is a good idea to turn off by default. I know there are cases where secure-http must be disabled but I would rather letting the user do this rather than set it for them.

'discard-changes' => true,
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@softeg, I am thinking we should keep this as "stash" by default.

];

if ($this->isDrupal7($input)) {
Expand Down