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 | 23 | public static function getSingularRuleset() : Ruleset |
|
15 | { |
||
16 | 23 | return new Ruleset( |
|
17 | 23 | new Transformations(...Inflectible::getSingular()), |
|
18 | 23 | new Patterns(...Uninflected::getSingular()), |
|
19 | 23 | (new Substitutions(...Inflectible::getIrregular()))->getFlippedSubstitutions() |
|
20 | ); |
||
32 |