File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed
Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change 1616 }
1717 ],
1818 "require" : {
19- "php" : " >=7.0.8" ,
2019 "cweagans/composer-patches" : " ^1.6.5" ,
21- "drupal-composer/drupal-scaffold" : " ^2.5 " ,
20+ "drupal-composer/drupal-scaffold" : " ^2.6 " ,
2221 "drupal/better_normalizers" : " ^1.0@beta" ,
2322 "drupal/block_content_permissions" : " ^1.8" ,
24- "drupal/core-recommended" : " ^8.8.0" ,
23+ "drupal/core-recommended" : " ^8.9" ,
24+ "drupal/core-vendor-hardening" : " ^8.8" ,
2525 "drupal/default_content" : " ^1" ,
2626 "drupal/file_entity" : " ^2" ,
2727 "drupal/focal_point" : " ^1.2" ,
102102 "patches" : {
103103 "drupal/core" : {
104104 "Setting required on radios marks all options required" : " https://www.drupal.org/files/issues/2019-07-30/2731991-42.patch" ,
105- "Split Authored by and Authored on in Display Settings" : " https://www.drupal.org/files/issues/2019-12-05/1399990-108-reroll.patch" ,
106105 "Translated field denormalization creates duplicate values" : " https://www.drupal.org/files/issues/2019-07-02/2904423-core_8_8-72.patch" ,
107106 "Fix multilingual site's layout edit context issue" : " https://www.drupal.org/files/issues/2019-12-19/3101231-19.patch" ,
108107 "SQLite database locking errors cause fatal errors" : " https://www.drupal.org/files/issues/1120020-59.patch" ,
Original file line number Diff line number Diff line change 99
1010use Composer \Script \Event ;
1111use Composer \Semver \Comparator ;
12+ use Drupal \Core \Site \Settings ;
1213use DrupalFinder \DrupalFinder ;
1314use Symfony \Component \Filesystem \Filesystem ;
1415use Webmozart \PathUtil \Path ;
@@ -76,12 +77,11 @@ public static function createRequiredFiles(Event $event) {
7677 $ fs ->copy ($ drupalRoot . '/sites/default/default.settings.php ' , $ drupalRoot . '/sites/default/settings.php ' );
7778 require_once $ drupalRoot . '/core/includes/bootstrap.inc ' ;
7879 require_once $ drupalRoot . '/core/includes/install.inc ' ;
79- $ settings ['config_directories ' ] = [
80- CONFIG_SYNC_DIRECTORY => (object ) [
81- 'value ' => Path::makeRelative ($ drupalFinder ->getComposerRoot () . '/config/sync ' , $ drupalRoot ),
82- 'required ' => TRUE ,
83- ],
80+ $ settings ['settings ' ]['config_sync_directory ' ] = (object ) [
81+ 'value ' => Path::makeRelative ($ drupalFinder ->getComposerRoot () . '/config/sync ' , $ drupalRoot ),
82+ 'required ' => TRUE ,
8483 ];
84+ new Settings ([]);
8585 drupal_rewrite_settings ($ settings , $ drupalRoot . '/sites/default/settings.php ' );
8686 $ fs ->chmod ($ drupalRoot . '/sites/default/settings.php ' , 0666 );
8787 $ event ->getIO ()
You can’t perform that action at this time.
0 commit comments