From 1a2f760806697ddb1afbc19cb2ffbcc2a34ccaca Mon Sep 17 00:00:00 2001 From: resu-xuniL Date: Sun, 31 May 2026 12:24:57 +0200 Subject: [PATCH] `use` missing and correct typos --- exercises/concept/lucky-numbers/LuckyNumbersTest.php | 2 +- exercises/practice/proverb/ProverbTest.php | 1 + exercises/practice/twelve-days/TwelveDaysTest.php | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/exercises/concept/lucky-numbers/LuckyNumbersTest.php b/exercises/concept/lucky-numbers/LuckyNumbersTest.php index d9bfe964..d4a02ea3 100644 --- a/exercises/concept/lucky-numbers/LuckyNumbersTest.php +++ b/exercises/concept/lucky-numbers/LuckyNumbersTest.php @@ -264,7 +264,7 @@ public function testReturnsAnEmptyStringForAValidNumberInputUsingUppercaseExpone * @task_id 3 */ #[TestDox('Returns an empty string for a valid number input using octal notation')] - public function testReturnsAnEmptyStringForAValidNumberInputUsingOcatlNotation(): void + public function testReturnsAnEmptyStringForAValidNumberInputUsingOctalNotation(): void { $luckynumber = new LuckyNumbers(); $this->assertSame('', $luckynumber->validate('00015-plus')); diff --git a/exercises/practice/proverb/ProverbTest.php b/exercises/practice/proverb/ProverbTest.php index 647d437b..0faf01c8 100644 --- a/exercises/practice/proverb/ProverbTest.php +++ b/exercises/practice/proverb/ProverbTest.php @@ -3,6 +3,7 @@ declare(strict_types=1); use PHPUnit\Framework\TestCase; +use PHPUnit\Framework\Attributes\TestDox; class ProverbTest extends TestCase { diff --git a/exercises/practice/twelve-days/TwelveDaysTest.php b/exercises/practice/twelve-days/TwelveDaysTest.php index daf9e6f8..b80624d8 100644 --- a/exercises/practice/twelve-days/TwelveDaysTest.php +++ b/exercises/practice/twelve-days/TwelveDaysTest.php @@ -188,7 +188,7 @@ public function testLyricsRecitesFirstThreeVersesOfSong(): void * uuid c095af0d-3137-4653-ad32-bfb899eda24c */ #[TestDox('lyrics -> recites three verses from the middle of the song')] - public function testLyricesRecitesThreeVersesFromMiddleOfSong(): void + public function testLyricsRecitesThreeVersesFromMiddleOfSong(): void { $expected = "On the fourth day of Christmas my true love gave to me: four Calling Birds, three French Hens, " .