| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 6 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 30 | 526 | protected function initializeIrregular() : void |
|
| 31 | { |
||
| 32 | 526 | if (isset($this->rules['merged']['irregular'])) { |
|
| 33 | 3 | return; |
|
| 34 | } |
||
| 35 | |||
| 36 | 526 | $this->rules['merged']['irregular'] = array_merge( |
|
| 37 | 526 | $this->rules['irregular'], |
|
| 38 | 526 | array_flip($this->pluralizer->getRuleset()->getIrregular()) |
|
| 39 | ); |
||
| 42 |