From c57c328bf69f3eaf89c6975989b9838c30414e34 Mon Sep 17 00:00:00 2001
From: xjm <xjm@65776.no-reply.drupal.org>
Date: Wed, 6 Jul 2022 17:59:20 -0500
Subject: [PATCH] Issue #3294205 by shaal, NickDickinsonWilde, Spokje,
 alexpott, xjm, larowlan, longwave: Composer v2.2 prompts to authorize another
 plugin when stability=dev

---
 composer/Template/LegacyProject/composer.json      | 3 ++-
 composer/Template/RecommendedProject/composer.json | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/composer/Template/LegacyProject/composer.json b/composer/Template/LegacyProject/composer.json
index 727571933300..56a3bba5ea19 100644
--- a/composer/Template/LegacyProject/composer.json
+++ b/composer/Template/LegacyProject/composer.json
@@ -35,7 +35,8 @@
             "drupal/core-composer-scaffold": true,
             "drupal/core-project-message": true,
             "drupal/core-vendor-hardening": true,
-            "phpstan/extension-installer": true
+            "phpstan/extension-installer": true,
+            "dealerdirect/phpcodesniffer-composer-installer": true
         },
         "sort-packages": true
     },
diff --git a/composer/Template/RecommendedProject/composer.json b/composer/Template/RecommendedProject/composer.json
index e813253acdba..dbee159cc92f 100644
--- a/composer/Template/RecommendedProject/composer.json
+++ b/composer/Template/RecommendedProject/composer.json
@@ -33,7 +33,8 @@
             "composer/installers": true,
             "drupal/core-composer-scaffold": true,
             "drupal/core-project-message": true,
-            "phpstan/extension-installer": true
+            "phpstan/extension-installer": true,
+            "dealerdirect/phpcodesniffer-composer-installer": true
         },
         "sort-packages": true
     },
-- 
GitLab