Skip to content

Commit

Permalink
Merge pull request #219 from mathieutu/patch-1
Browse files Browse the repository at this point in the history
[Fix] Add `cave` to English irregulars
  • Loading branch information
greg0ire authored Jun 16, 2023
2 parents d3608f3 + 8b81bbd commit 27c555e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/Doctrine/Inflector/Rules/English/Inflectible.php
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,7 @@ public static function getIrregular(): iterable
yield new Substitution(new Word('blouse'), new Word('blouses'));
yield new Substitution(new Word('brother'), new Word('brothers'));
yield new Substitution(new Word('cafe'), new Word('cafes'));
yield new Substitution(new Word('cave'), new Word('caves'));
yield new Substitution(new Word('chateau'), new Word('chateaux'));
yield new Substitution(new Word('niveau'), new Word('niveaux'));
yield new Substitution(new Word('child'), new Word('children'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ public function dataSampleWords(): array
['canvas', 'canvases'],
['carp', 'carp'],
['case', 'cases'],
['cave', 'caves'],
['categoria', 'categorias'],
['category', 'categories'],
['cattle', 'cattle'],
Expand Down

0 comments on commit 27c555e

Please sign in to comment.