From 5e750171666c1f2b859c9a124e4275b5b10ced9c Mon Sep 17 00:00:00 2001 From: powellblyth Date: Sun, 22 Aug 2021 12:41:18 +0100 Subject: [PATCH] Just some comments with 'it's' that should have been 'its' (#10071) Co-authored-by: Toby Powell-Blyth --- src/Composer/InstalledVersions.php | 2 +- src/Composer/Repository/RepositoryManager.php | 2 +- src/Composer/Util/Filesystem.php | 2 +- .../installed-versions2/vendor/composer/InstalledVersions.php | 2 +- tests/Composer/Test/Fixtures/installer/update-reference.test | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Composer/InstalledVersions.php b/src/Composer/InstalledVersions.php index 9809a2190..7c5502ca4 100644 --- a/src/Composer/InstalledVersions.php +++ b/src/Composer/InstalledVersions.php @@ -20,7 +20,7 @@ use Composer\Semver\VersionParser; * * See also https://getcomposer.org/doc/07-runtime.md#installed-versions * - * To require it's presence, you can require `composer-runtime-api ^2.0` + * To require its presence, you can require `composer-runtime-api ^2.0` */ class InstalledVersions { diff --git a/src/Composer/Repository/RepositoryManager.php b/src/Composer/Repository/RepositoryManager.php index 717fce4ee..12123ce7b 100644 --- a/src/Composer/Repository/RepositoryManager.php +++ b/src/Composer/Repository/RepositoryManager.php @@ -55,7 +55,7 @@ class RepositoryManager } /** - * Searches for a package by it's name and version in managed repositories. + * Searches for a package by its name and version in managed repositories. * * @param string $name package name * @param string|\Composer\Semver\Constraint\ConstraintInterface $constraint package version or version constraint to match against diff --git a/src/Composer/Util/Filesystem.php b/src/Composer/Util/Filesystem.php index 69f097958..5f99d8d30 100644 --- a/src/Composer/Util/Filesystem.php +++ b/src/Composer/Util/Filesystem.php @@ -514,7 +514,7 @@ class Filesystem /** * Returns size of a file or directory specified by path. If a directory is - * given, it's size will be computed recursively. + * given, its size will be computed recursively. * * @param string $path Path to the file or directory * @throws \RuntimeException diff --git a/tests/Composer/Test/Fixtures/functional/installed-versions2/vendor/composer/InstalledVersions.php b/tests/Composer/Test/Fixtures/functional/installed-versions2/vendor/composer/InstalledVersions.php index fc9dc216c..0b38bb7b9 100644 --- a/tests/Composer/Test/Fixtures/functional/installed-versions2/vendor/composer/InstalledVersions.php +++ b/tests/Composer/Test/Fixtures/functional/installed-versions2/vendor/composer/InstalledVersions.php @@ -18,7 +18,7 @@ use Composer\Semver\VersionParser; /** * This class is copied in every Composer installed project and available to all * - * To require it's presence, you can require `composer-runtime-api ^2.0` + * To require its presence, you can require `composer-runtime-api ^2.0` */ class InstalledVersions { diff --git a/tests/Composer/Test/Fixtures/installer/update-reference.test b/tests/Composer/Test/Fixtures/installer/update-reference.test index 7836cbf5a..185b72013 100644 --- a/tests/Composer/Test/Fixtures/installer/update-reference.test +++ b/tests/Composer/Test/Fixtures/installer/update-reference.test @@ -1,5 +1,5 @@ --TEST-- -Updates a dev package forcing it's reference +Updates a dev package forcing its reference --COMPOSER-- { "repositories": [