| Conditions | 1 |
| Paths | 1 |
| Total Lines | 6 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 1 |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | 55 | public static function getSingularRuleset() : Ruleset |
|
| 15 | { |
||
| 16 | 55 | return new Ruleset( |
|
| 17 | 55 | new Transformations(...Inflectible::getSingular()), |
|
| 18 | 55 | new Patterns(...Uninflected::getSingular()), |
|
| 19 | 55 | (new Substitutions(...Inflectible::getIrregular()))->getFlippedSubstitutions() |
|
| 20 | ); |
||
| 32 |