Skip to content
Permalink
Browse files

Added irregular rule for 'cache'

  • Loading branch information...
jeremyharris committed May 11, 2018
1 parent b02f970 commit 18ecbbcf3a09b04b5c560c21589dd20ec744bafe
Showing with 3 additions and 1 deletion.
  1. +2 −1 src/Utility/Inflector.php
  2. +1 −0 tests/TestCase/Utility/InflectorTest.php
@@ -144,7 +144,8 @@ class Inflector
'goose' => 'geese',
'foot' => 'feet',
'foe' => 'foes',
'sieve' => 'sieves'
'sieve' => 'sieves',
'cache' => 'caches',
];
/**
@@ -189,6 +189,7 @@ public function singularizeProvider()
['blue_octopus', 'blue_octopuses'],
['chef', 'chefs'],
['', ''],
['cache', 'caches'],
];
}

0 comments on commit 18ecbbc

Please sign in to comment.
You can’t perform that action at this time.