diff --git a/src/Rules/French/Uninflected.php b/src/Rules/French/Uninflected.php index 9747f91..d3bf385 100644 --- a/src/Rules/French/Uninflected.php +++ b/src/Rules/French/Uninflected.php @@ -12,6 +12,8 @@ final class Uninflected public static function getSingular(): iterable { yield from self::getDefault(); + + yield new Pattern('bois'); } /** @return Pattern[] */ diff --git a/tests/Rules/French/FrenchFunctionalTest.php b/tests/Rules/French/FrenchFunctionalTest.php index ece7174..84852d4 100644 --- a/tests/Rules/French/FrenchFunctionalTest.php +++ b/tests/Rules/French/FrenchFunctionalTest.php @@ -55,6 +55,7 @@ public function dataSampleWords(): array ['carnaval', 'carnavals'], ['festival', 'festivals'], ['récital', 'récitals'], + ['bois', 'bois'], ]; }