From b3cc3c4efc5a9c7a661a8e7bffc7352cf81a8703 Mon Sep 17 00:00:00 2001 From: findseat <166101790+findseat@users.noreply.github.com> Date: Sat, 13 Apr 2024 15:08:12 +0800 Subject: [PATCH] chore: fix some comments (#11922) Signed-off-by: findseat --- CHANGELOG.md | 2 +- UPGRADE-2.0.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d1aa6d804..f38b993af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1682,7 +1682,7 @@ * Break: Removed support for lock files created before 2012-09-15 due to their outdated unusable format * Added `prefer-stable` flag to pick stable packages over unstable ones when possible * Added `preferred-install` config option to always enable --prefer-source or --prefer-dist - * Added `diagnose` command to to system/network checks and find common problems + * Added `diagnose` command to system/network checks and find common problems * Added wildcard support in the update whitelist, e.g. to update all packages of a vendor do `composer update vendor/*` * Added `archive` command to archive the current directory or a given package * Added `run-script` command to manually trigger scripts diff --git a/UPGRADE-2.0.md b/UPGRADE-2.0.md index 3e5878ea3..99c2876cf 100644 --- a/UPGRADE-2.0.md +++ b/UPGRADE-2.0.md @@ -100,7 +100,7 @@ If your repository only has a small number of packages, and you want to avoid th `"providers-api": "https://packagist.org/providers/%package%.json",` -The providers-api is optional, but if you implement it it should return packages which provide a given package name, but not the package which has that name. For example https://packagist.org/providers/monolog/monolog.json lists some package which have a "provide" rule for monolog/monolog, but it does not list monolog/monolog itself. +The providers-api is optional, but if you implement it, it should return packages which provide a given package name, but not the package which has that name. For example https://packagist.org/providers/monolog/monolog.json lists some package which have a "provide" rule for monolog/monolog, but it does not list monolog/monolog itself. ### list