summaryrefslogtreecommitdiff
path: root/composer-add-huaweicloud-repository.patch
blob: 2754820a83ee3b33c4d0397c0b0df7d0a897a614 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/Composer/Config.php.orig	2023-02-25 11:59:19.951057271 +0800
+++ b/src/Composer/Config.php	2023-02-25 12:03:48.490871158 +0800
@@ -86,6 +86,11 @@
 
     /** @var array<string, mixed> */
     public static $defaultRepositories = [
+        'huaweicloud.com' => [
+            'type' => 'composer',
+            'url' => 'https://repo.huaweicloud.com/repository/php/',
+            'canonical' => false,
+        ],
         'packagist.org' => [
             'type' => 'composer',
             'url' => 'https://repo.packagist.org',