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