skilld-labs / skilld-docker-container

Starterkit for drupal development
MIT License
20 stars 32 forks source link

Fix composer create-required-files for D10.1 #448

Closed andypost closed 8 months ago

andypost commented 8 months ago

https://www.drupal.org/node/3244583

$ composer create-required-files
> SkilldDrupal\composer\ScriptHandler::createRequiredFiles
Deprecation Notice: drupal_rewrite_settings() is deprecated in drupal:10.1.0 and is removed from drupal:11.0.0. Use SettingsEditor::rewrite() instead. The order of the arguments has also changed: $settings_file is now required and is the first argument of the method. See https://www.drupal.org/node/3244583 in /builds/skilld/pla-website/web/core/includes/install.inc:265
Create a sites/default/settings.php file with chmod 0666
Create a sites/default/files directory with chmod 0775
andypost commented 8 months ago

As 10.2 is out, lets do both