This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/cohesion_custom_styles/src/Entity/CustomStyle.php b/modules/cohesion_custom_styles/src/Entity/CustomStyle.php | |
| index 5dab5c7..acc0268 100644 | |
| --- a/modules/cohesion_custom_styles/src/Entity/CustomStyle.php | |
| +++ b/modules/cohesion_custom_styles/src/Entity/CustomStyle.php | |
| @@ -313,7 +313,7 @@ class CustomStyle extends CohesionConfigEntityBase implements CohesionSettingsIn | |
| // Patch in the settings.extended=true for child styles. | |
| if ($this->getParentId()) { | |
| - @ $entity_values->values->styles->settings->extended = TRUE; | |
| + @ $entity_values->values['styles']['settings']['extended'] = TRUE; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/cohesion.services.yml b/cohesion.services.yml | |
| index b6cfbda..b758a16 100644 | |
| --- a/cohesion.services.yml | |
| +++ b/cohesion.services.yml | |
| @@ -74,7 +74,7 @@ services: | |
| cohesion.local_files_manager: | |
| class: Drupal\cohesion\Services\LocalFilesManager | |
| - arguments: ['@string_translation', '@config.factory', '@keyvalue', '@tempstore.shared', '@cohesion.utils'] | |
| + arguments: ['@string_translation', '@config.factory', '@keyvalue', '@tempstore.shared', '@cohesion.utils', '@session'] |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Domain/Fixture/FixtureCreator.php b/src/Domain/Fixture/FixtureCreator.php | |
| index afd11cc..c7e544d 100644 | |
| --- a/src/Domain/Fixture/FixtureCreator.php | |
| +++ b/src/Domain/Fixture/FixtureCreator.php | |
| @@ -356,13 +356,23 @@ class FixtureCreator { | |
| if (!$this->options->hasSut() && !$this->options->symlinkAll()) { | |
| return; | |
| } | |
| - | |
| + if ($this->packageManager->exists('acquia/acquia_cms')) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Domain/Fixture/FixtureCreator.php b/src/Domain/Fixture/FixtureCreator.php | |
| index c7e9d03..d8dca94 100644 | |
| --- a/src/Domain/Fixture/FixtureCreator.php | |
| +++ b/src/Domain/Fixture/FixtureCreator.php | |
| @@ -194,6 +194,7 @@ class FixtureCreator { | |
| $this->removeComposerConfigPlatform(); | |
| $this->fixDefaultDependencies(); | |
| $this->addAllowedComposerPlugins(); | |
| + $this->addMergePlugin(); | |
| $this->addCompanyPackages(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/cohesion_sync/src/Services/DefaultModulePackage.php b/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| index 011b19b..79ea767 100644 | |
| --- a/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| +++ b/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| @@ -64,6 +64,10 @@ class DefaultModulePackage implements PackageSourceServiceInterface { | |
| * Thrown if source metadata values are missing. | |
| */ | |
| public function preparePackage(array $sourceMetadata): string { | |
| + $isRequired = $sourceMetadata['required'] ?? TRUE; | |
| + if ($this->moduleHandler->moduleExists($sourceMetadata['module_name']) !== TRUE && !$isRequired) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Domain/Fixture/FixtureCreator.php b/src/Domain/Fixture/FixtureCreator.php | |
| index c7e9d03..3982009 100644 | |
| --- a/src/Domain/Fixture/FixtureCreator.php | |
| +++ b/src/Domain/Fixture/FixtureCreator.php | |
| @@ -390,6 +390,14 @@ class FixtureCreator { | |
| $this->fixture->getPath($package->getRepositoryUrlRaw()) | |
| ); | |
| } | |
| + $repositories = $this->composerJsonHelper->getSutPathRepositories($this->options->getSut()); | |
| + foreach($repositories as $name => $repository) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/src/Domain/Tool/ComposerValidate/ComposerValidateTask.php b/src/Domain/Tool/ComposerValidate/ComposerValidateTask.php | |
| index 80cb536..2ab93f9 100644 | |
| --- a/src/Domain/Tool/ComposerValidate/ComposerValidateTask.php | |
| +++ b/src/Domain/Tool/ComposerValidate/ComposerValidateTask.php | |
| @@ -85,7 +85,7 @@ class ComposerValidateTask extends TaskBase { | |
| private function checkForMissingComposerJson(SplFileInfo $info_file): void { | |
| $composer_json = | |
| str_replace($info_file->getFilename(), 'composer.json', $info_file->getPathname()); | |
| - if (!$this->filesystem->exists($composer_json)) { | |
| + if (!preg_match('#modules/(.*/){2,}#', $composer_json) && !$this->filesystem->exists($composer_json)) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/cohesion_sync/src/Services/DefaultModulePackage.php b/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| index 011b19b..d45bfe2 100644 | |
| --- a/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| +++ b/modules/cohesion_sync/src/Services/DefaultModulePackage.php | |
| @@ -64,6 +64,14 @@ class DefaultModulePackage implements PackageSourceServiceInterface { | |
| * Thrown if source metadata values are missing. | |
| */ | |
| public function preparePackage(array $sourceMetadata): string { | |
| + $dependencies = $sourceMetadata['dependencies'] ?? []; | |
| + if ($dependencies) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/acquia_cms_article/config/optional/block.block.articles_article_type.yml b/modules/acquia_cms_article/config/optional/block.block.articles_article_type.yml | |
| index 4539f1f1..55cd48bb 100644 | |
| --- a/modules/acquia_cms_article/config/optional/block.block.articles_article_type.yml | |
| +++ b/modules/acquia_cms_article/config/optional/block.block.articles_article_type.yml | |
| @@ -11,7 +11,7 @@ dependencies: | |
| - cohesion_theme | |
| third_party_settings: | |
| collapsiblock: | |
| - collapse_action: '2' | |
| + collapse_action: 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| diff --git a/modules/cohesion_sync/cohesion_sync.module b/modules/cohesion_sync/cohesion_sync.module | |
| index 7047081..e13affb 100644 | |
| --- a/modules/cohesion_sync/cohesion_sync.module | |
| +++ b/modules/cohesion_sync/cohesion_sync.module | |
| @@ -62,10 +62,10 @@ function cohesion_sync_entity_operation_alter(array &$operations, EntityInterfac | |
| /** | |
| * Implements hook_modules_installed(). | |
| */ | |
| -function cohesion_sync_modules_installed($modules) { | |
| +function cohesion_sync_modules_installed($modules, $is_syncing) { |
OlderNewer