diff --git a/src/Symfony/Component/PropertyAccess/StringUtil.php b/src/Symfony/Component/PropertyAccess/StringUtil.php index d8704f38d2..7c0eadcacd 100644 --- a/src/Symfony/Component/PropertyAccess/StringUtil.php +++ b/src/Symfony/Component/PropertyAccess/StringUtil.php @@ -75,6 +75,9 @@ class StringUtil // lives (life), wives (wife) array('sevi', 4, false, true, 'ife'), + // moves (move) + array('sevom', 5, true, true, 'move'), + // hooves (hoof), dwarves (dwarf), elves (elf), leaves (leaf) array('sev', 3, true, true, 'f'), diff --git a/src/Symfony/Component/PropertyAccess/Tests/StringUtilTest.php b/src/Symfony/Component/PropertyAccess/Tests/StringUtilTest.php index 66bb6c9767..6fc3d9a27b 100644 --- a/src/Symfony/Component/PropertyAccess/Tests/StringUtilTest.php +++ b/src/Symfony/Component/PropertyAccess/Tests/StringUtilTest.php @@ -118,6 +118,7 @@ class StringUtilTest extends \PHPUnit_Framework_TestCase array('cheeses', array('chees', 'cheese', 'cheesis')), array('radii', 'radius'), array('objectives', 'objective'), + array('moves', 'move'), // test casing: if the first letter was uppercase, it should remain so array('Men', 'Man'),