| Conditions | 2 | 
| Paths | 2 | 
| Total Lines | 8 | 
| Code Lines | 6 | 
| Lines | 0 | 
| Ratio | 0 % | 
| Tests | 6 | 
| CRAP Score | 2 | 
| Changes | 0 | ||
| 1 | <?php  | 
            ||
| 66 | 4 | public function addRules(array $rules) : void  | 
            |
| 67 |     { | 
            ||
| 68 | 4 |         if ($this->isFullSyntax($rules)) { | 
            |
| 69 | 4 | $this->rules = $rules['rules'] ?? $this->rules;  | 
            |
| 70 | 4 | $this->uninflected = $rules['uninflected'] ?? $this->uninflected;  | 
            |
| 71 | 4 | $this->irregular = $rules['irregular'] ?? $this->irregular;  | 
            |
| 72 |         } else { | 
            ||
| 73 | 2 | $this->rules = $rules;  | 
            |
| 74 | }  | 
            ||
| 85 |