Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
19 | protected function allowedProperties() |
||
20 | { |
||
21 | $allowed = parent::allowedProperties(); |
||
1 ignored issue
–
show
|
|||
22 | $allowed[] = ResourceImageDO::TOKEN_DIMENSION; |
||
23 | |||
24 | return $allowed; |
||
25 | } |
||
26 | } |
This check looks for multiple assignments in successive lines of code. It will report an issue if the operators are not in a straight line.
To visualize
will produce issues in the first and second line, while this second example
will produce no issues.