mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Applying patch from 'thatcode', makes the 'us' rule case insensitive. Fixes #1020
This commit is contained in:
parent
2abf34d93e
commit
fc9340213e
1 changed files with 1 additions and 1 deletions
|
@ -56,7 +56,7 @@ class Inflector {
|
|||
'/(c)hild$/i' => '\1hildren',
|
||||
'/(buffal|tomat)o$/i' => '\1\2oes',
|
||||
'/(alumn|bacill|cact|foc|fung|nucle|radi|stimul|syllab|termin|vir)us$/i' => '\1i',
|
||||
'/us$/' => 'uses',
|
||||
'/us$/i' => 'uses',
|
||||
'/(alias)$/i' => '\1es',
|
||||
'/(ax|cris|test)is$/i' => '\1es',
|
||||
'/s$/' => 's',
|
||||
|
|
Loading…
Reference in a new issue