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