| Conditions | 2 |
| Paths | 2 |
| Total Lines | 9 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 5 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 47 | 11 | private function setCustomSniffPropertyValues(Sniff $sniff) : Sniff |
|
| 48 | { |
||
| 49 | 11 | $sniffPropertyValues = $this->sniffPropertyValueDataCollector->getForSniff($sniff); |
|
| 50 | 11 | foreach ($sniffPropertyValues as $property => $value) { |
|
| 51 | 1 | $sniff->$property = $value; |
|
| 52 | } |
||
| 53 | |||
| 54 | 11 | return $sniff; |
|
| 55 | } |
||
| 56 | } |
||
| 57 |