[PropertyAccess] Add objectives to pluralMap
This commit is contained in:
parent
2965a52d20
commit
6ef92fd4e8
@ -69,6 +69,9 @@ class StringUtil
|
||||
// atlases (atlas), kisses (kiss)
|
||||
array('ses', 3, true, true, array('s', 'se', 'sis')),
|
||||
|
||||
// objectives (objective), alternative (alternatives)
|
||||
array('sevit', 5, true, true, 'tive'),
|
||||
|
||||
// lives (life), wives (wife)
|
||||
array('sevi', 4, false, true, 'ife'),
|
||||
|
||||
|
@ -117,6 +117,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase
|
||||
array('bees', array('be', 'bee')),
|
||||
array('cheeses', array('chees', 'cheese', 'cheesis')),
|
||||
array('radii', 'radius'),
|
||||
array('objectives', 'objective'),
|
||||
|
||||
// test casing: if the first letter was uppercase, it should remain so
|
||||
array('Men', 'Man'),
|
||||
|
Reference in New Issue
Block a user