Skip to content

Commit 2b2f507

Browse files
committed
Fix #36: glove -> gloves
1 parent 91754d0 commit 2b2f507

3 files changed

Lines changed: 3 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ None
2323
- Updated PHPUnit to v9.6 to avoid [vulnerability](https://github.com/ICanBoogie/Inflector/security/dependabot/1).
2424
- Throw `Error` instead of `PropertyNotDefined`/`InvalidArgumentException`.
2525
- Remove dependency on `icanboogie/common`.
26+
- 'glove' -> 'gloves' (@RickKukiela)
2627

2728

2829

lib/Inflections/en.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,7 @@ public static function configure(Inflections $inflections): void
8484
->irregular('sex', 'sexes')
8585
->irregular('virus', 'viruses')
8686
->irregular('zombie', 'zombies')
87+
->irregular('glove', 'gloves')
8788

8889
// http://easenglish.net/Files/Grammar/uncountable%20words.pdf
8990
->uncountable(explode(' ', 'advice aircraft art baggage butter clothing coal cotton deer equipment experience feedback fish flour food furniture gas homework impatience information jeans knowledge leather love luggage management money moose music news oil patience police polish progress research rice salmon sand series sheep silk sms soap spam species staff sugar swine talent toothpaste traffic travel vinegar weather wood wool work'));

tests/Inflections/en.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@
111111
"spokesman" => "spokesmen", // man
112112
"woman" => "women", // man
113113
"zombie" => 'zombies',
114+
"glove" => 'gloves',
114115

115116
# uncountable
116117

0 commit comments

Comments
 (0)