From a1cd77d353aa7aea90b7048b0db5b352a1651a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9CChandan?= Date: Tue, 19 Mar 2024 13:17:07 +0530 Subject: [PATCH] ACMS-3646: Add drs in acquia_cms. --- composer.json | 2 + composer.lock | 170 ++++++++++++++++++++++++++++++++++++++- tests/packages_alter.yml | 3 + 3 files changed, 173 insertions(+), 2 deletions(-) diff --git a/composer.json b/composer.json index 428bf3a2ab..45bae49178 100644 --- a/composer.json +++ b/composer.json @@ -18,6 +18,7 @@ "homepage": "https://github.com/acquia/acquia_cms", "require": { "acquia/acquia-cms-starterkit": "1.1.5", + "acquia/drupal-recommended-settings": "dev-ACMS-3658", "drupal/acquia_claro": "^1.3", "drupal/acquia_cms_audio": "dev-develop", "drupal/acquia_cms_component": "dev-develop", @@ -251,6 +252,7 @@ }, "config": { "allow-plugins": { + "acquia/drupal-recommended-settings": true, "composer/installers": true, "cweagans/composer-patches": true, "dealerdirect/phpcodesniffer-composer-installer": true, diff --git a/composer.lock b/composer.lock index 0b37a59058..24075e4701 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "6728293353fbe2f377fef0bdf0f9340e", + "content-hash": "6c8618e498e328c103ce7317b8cc221c", "packages": [ { "name": "acquia/acquia-cms-starterkit", @@ -232,6 +232,69 @@ }, "time": "2023-02-28T18:45:28+00:00" }, + { + "name": "acquia/drupal-recommended-settings", + "version": "dev-ACMS-3658", + "source": { + "type": "git", + "url": "https://github.com/acquia/drupal-recommended-settings.git", + "reference": "fccd9be7ce5d243840a8da2e030d19d528138b15" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/acquia/drupal-recommended-settings/zipball/fccd9be7ce5d243840a8da2e030d19d528138b15", + "reference": "fccd9be7ce5d243840a8da2e030d19d528138b15", + "shasum": "" + }, + "require": { + "acquia/drupal-environment-detector": "^1.5.3", + "composer-plugin-api": "^2", + "consolidation/config": "^2.0.0", + "grasmash/yaml-expander": "^3.0", + "loophp/phposinfo": "^1.7.1", + "php": ">=8.1" + }, + "require-dev": { + "acquia/coding-standards": "^2.0", + "composer/composer": "^2.2", + "dealerdirect/phpcodesniffer-composer-installer": "^1.0.0", + "drush/drush": "^11.6 || ^12", + "ergebnis/composer-normalize": "^2.30.2", + "phpro/grumphp-shim": "^2.2", + "phpunit/phpunit": "^9 || ^10" + }, + "type": "composer-plugin", + "extra": { + "class": "Acquia\\Drupal\\RecommendedSettings\\Plugin" + }, + "autoload": { + "psr-4": { + "Acquia\\Drupal\\RecommendedSettings\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "GPL-2.0-only" + ], + "authors": [ + { + "name": "Vishal Khode", + "email": "vishal.khode@acquia.com" + } + ], + "description": "The composer plugin for adding drupal-recommended-settings for Acquia Cloud.", + "keywords": [ + "acquia", + "drupal", + "drupal-recommended-settings" + ], + "support": { + "docs": "https://docs.acquia.com/drupal-recommended-settings/", + "issues": "https://github.com/acquia/drupal-recommended-settings/issues", + "source": "https://github.com/acquia/drupal-recommended-settings/tree/ACMS-3658" + }, + "time": "2024-03-19T06:45:27+00:00" + }, { "name": "acquia/http-hmac-php", "version": "6.1.0", @@ -9498,6 +9561,51 @@ }, "time": "2022-05-09T20:22:34+00:00" }, + { + "name": "grasmash/yaml-expander", + "version": "3.0.2", + "source": { + "type": "git", + "url": "https://github.com/grasmash/yaml-expander.git", + "reference": "f6dd6be2a899316528e201c91fc317b16794b1c0" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/grasmash/yaml-expander/zipball/f6dd6be2a899316528e201c91fc317b16794b1c0", + "reference": "f6dd6be2a899316528e201c91fc317b16794b1c0", + "shasum": "" + }, + "require": { + "grasmash/expander": "^1 || ^2 || ^3", + "symfony/yaml": "^4 || ^5 || ^6" + }, + "require-dev": { + "php-coveralls/php-coveralls": "^2.1", + "phpunit/phpunit": "^8.0 || ^9", + "squizlabs/php_codesniffer": "^2.7 || ^3.3" + }, + "type": "library", + "autoload": { + "psr-4": { + "Grasmash\\YamlExpander\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Matthew Grasmick" + } + ], + "description": "Expands internal property references in a yaml file.", + "support": { + "issues": "https://github.com/grasmash/yaml-expander/issues", + "source": "https://github.com/grasmash/yaml-expander/tree/3.0.2" + }, + "time": "2022-05-10T13:29:17+00:00" + }, { "name": "guzzlehttp/guzzle", "version": "7.8.1", @@ -10651,6 +10759,63 @@ ], "time": "2023-11-24T15:40:42+00:00" }, + { + "name": "loophp/phposinfo", + "version": "1.8.0", + "source": { + "type": "git", + "url": "https://github.com/loophp/phposinfo.git", + "reference": "9faccbfbf5364fd34fbc230961fa6fc51cc66b8f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/loophp/phposinfo/zipball/9faccbfbf5364fd34fbc230961fa6fc51cc66b8f", + "reference": "9faccbfbf5364fd34fbc230961fa6fc51cc66b8f", + "shasum": "" + }, + "require": { + "php": "^8" + }, + "require-dev": { + "drupol/php-conventions": "^5.0.0", + "ext-pcov": "*", + "friends-of-phpspec/phpspec-code-coverage": "^6", + "infection/infection": "^0.26", + "infection/phpspec-adapter": "^0.2.0", + "phpspec/phpspec": "^7" + }, + "type": "library", + "autoload": { + "psr-4": { + "loophp\\phposinfo\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Pol Dellaiera", + "email": "pol.dellaiera@protonmail.com" + } + ], + "description": "Try to guess the host operating system.", + "keywords": [ + "operating system detection" + ], + "support": { + "issues": "https://github.com/loophp/phposinfo/issues", + "source": "https://github.com/loophp/phposinfo" + }, + "funding": [ + { + "url": "https://github.com/drupol", + "type": "github" + } + ], + "time": "2022-12-20T20:21:10+00:00" + }, { "name": "maennchen/zipstream-php", "version": "3.1.0", @@ -21635,6 +21800,7 @@ "aliases": [], "minimum-stability": "dev", "stability-flags": { + "acquia/drupal-recommended-settings": 20, "drupal/acquia_cms_audio": 20, "drupal/acquia_cms_component": 20, "drupal/acquia_cms_dam": 20, @@ -21649,5 +21815,5 @@ "prefer-lowest": false, "platform": [], "platform-dev": [], - "plugin-api-version": "2.3.0" + "plugin-api-version": "2.6.0" } diff --git a/tests/packages_alter.yml b/tests/packages_alter.yml index 8cba4fc2c3..022de098c1 100644 --- a/tests/packages_alter.yml +++ b/tests/packages_alter.yml @@ -2,6 +2,9 @@ acquia/acquia_cms: type: drupal-module version_dev: 1.x-dev +# Allow composer plugin in allow list. +acquia/drupal-recommended-settings: + type: composer-plugin mnsami/composer-custom-directory-installer: type: composer-plugin php-http/discovery: