Skip to content

Commit

Permalink
Merge pull request #226 from kyosheek/update-irregular-words
Browse files Browse the repository at this point in the history
add 'epoch' to irregular words list
  • Loading branch information
greg0ire committed Aug 19, 2023
2 parents f9301a5 + bb42c9a commit 2c28a3c
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 @@ -111,6 +111,7 @@ public static function getIrregular(): iterable
yield new Substitution(new Word('demo'), new Word('demos'));
yield new Substitution(new Word('domino'), new Word('dominoes'));
yield new Substitution(new Word('echo'), new Word('echoes'));
yield new Substitution(new Word('epoch'), new Word('epochs'));
yield new Substitution(new Word('foot'), new Word('feet'));
yield new Substitution(new Word('fungus'), new Word('fungi'));
yield new Substitution(new Word('ganglion'), new Word('ganglions'));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,7 @@ public function dataSampleWords(): array
['emphasis', 'emphases'],
['employee-child', 'employee-children'],
['energy', 'energies'],
['epoch', 'epochs'],
['equipment', 'equipment'],
['evidence', 'evidence'],
['experience', 'experiences'],
Expand Down

0 comments on commit 2c28a3c

Please sign in to comment.