Skip to content

Commit

Permalink
[StringUtil] Fixed singularification of 'selfies'
Browse files Browse the repository at this point in the history
  • Loading branch information
pmodin committed Apr 23, 2015
1 parent 5206603 commit 7c2b875
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Symfony/Component/PropertyAccess/StringUtil.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,9 @@ class StringUtil
// indices (index), appendices (appendix), prices (price)
array('seci', 4, false, true, array('ex', 'ix', 'ice')),

// selfies (selfie)
array('seifles', 7, true, true, 'selfie'),

// movies (movie)
array('seivom', 6, true, true, 'movie'),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ public function singularifyProvider()
array('sandwiches', array('sandwich', 'sandwiche')),
array('scarves', array('scarf', 'scarve', 'scarff')),
array('schemas', 'schema'), //schemata
array('selfies', 'selfie'),
array('sheriffs', 'sheriff'),
array('shoes', array('sho', 'shoe')),
array('spies', 'spy'),
Expand Down

0 comments on commit 7c2b875

Please sign in to comment.