From 6f8a14757fce5548a6feb1655faa7ecc47053d41 Mon Sep 17 00:00:00 2001 From: "Eric Richer eric.richer@vistoconsulting.com" Date: Fri, 3 Jan 2025 11:35:08 -0500 Subject: [PATCH] Fixing small typo in description text for major milestone (#267) Signed-off-by: Eric Richer eric.richer@vistoconsulting.com --- src/Github/Api/V3/CreateMilestoneThroughApiCall.php | 2 +- test/unit/Github/Api/V3/CreateMilestoneTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Github/Api/V3/CreateMilestoneThroughApiCall.php b/src/Github/Api/V3/CreateMilestoneThroughApiCall.php index e4de0400..a8f7e378 100644 --- a/src/Github/Api/V3/CreateMilestoneThroughApiCall.php +++ b/src/Github/Api/V3/CreateMilestoneThroughApiCall.php @@ -82,7 +82,7 @@ public function __invoke(RepositoryName $repository, SemVerVersion $version): vo private function milestoneDescription(SemVerVersion $version): string { if ($version->isNewMajorRelease()) { - return 'Backwards incompatible release (major)'; + return 'Backward incompatible release (major)'; } if ($version->isNewMinorRelease()) { diff --git a/test/unit/Github/Api/V3/CreateMilestoneTest.php b/test/unit/Github/Api/V3/CreateMilestoneTest.php index d045a363..2736d146 100644 --- a/test/unit/Github/Api/V3/CreateMilestoneTest.php +++ b/test/unit/Github/Api/V3/CreateMilestoneTest.php @@ -190,7 +190,7 @@ public function testMajorMilestone(): void self::assertJsonStringEqualsJsonString( <<<'JSON' { - "description": "Backwards incompatible release (major)", + "description": "Backward incompatible release (major)", "title": "3.0.0" } JSON,