From 58db3cd814d163119b1f9bb2a4d561d6412bd311 Mon Sep 17 00:00:00 2001
From: catch <catch@35733.no-reply.drupal.org>
Date: Mon, 9 Nov 2020 08:06:56 +0000
Subject: [PATCH] Issue #3179875 by greg.1.anderson, Mixologic: Path
 repositories need to be listed first for Composer 2

---
 composer.json | 8 ++++----
 composer.lock | 3 ++-
 2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/composer.json b/composer.json
index 95a8512c5841..81e82632e680 100644
--- a/composer.json
+++ b/composer.json
@@ -104,10 +104,6 @@
         "phpcbf": "phpcbf --standard=core/phpcs.xml.dist --runtime-set installed_paths $($COMPOSER_BINARY config vendor-dir)/drupal/coder/coder_sniffer --"
     },
     "repositories": [
-        {
-            "type": "composer",
-            "url": "https://packages.drupal.org/8"
-        },
         {
             "type": "path",
             "url": "core"
@@ -119,6 +115,10 @@
         {
             "type": "path",
             "url": "composer/Plugin/VendorHardening"
+        },
+        {
+            "type": "composer",
+            "url": "https://packages.drupal.org/8"
         }
     ]
 }
diff --git a/composer.lock b/composer.lock
index dec025b3714b..161e87837f08 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": "4e5fce0517520b4e4adeb0505f0642b1",
+    "content-hash": "1387b767469672675eafc323b5e0b55a",
     "packages": [
         {
             "name": "asm89/stack-cors",
@@ -519,6 +519,7 @@
                 "issues": "https://github.com/doctrine/reflection/issues",
                 "source": "https://github.com/doctrine/reflection/tree/1.2.2"
             },
+            "abandoned": "roave/better-reflection",
             "time": "2020-10-27T21:46:55+00:00"
         },
         {
-- 
GitLab