diff options
Diffstat (limited to 'composer-add-huaweicloud-repository.patch')
-rw-r--r-- | composer-add-huaweicloud-repository.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/composer-add-huaweicloud-repository.patch b/composer-add-huaweicloud-repository.patch new file mode 100644 index 0000000..2754820 --- /dev/null +++ b/composer-add-huaweicloud-repository.patch @@ -0,0 +1,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', |