Conditions | 1 |
Paths | 1 |
Total Lines | 7 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Tests | 6 |
CRAP Score | 1 |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
33 | 2 | public function __construct($func, $column, $alias = '') { |
|
34 | 2 | parent::__construct('%1$s(%2$s) as %3$s'); |
|
35 | |||
36 | 2 | $this->func = $func; |
|
37 | 2 | $this->column = $column; |
|
38 | 2 | $this->alias = $alias; |
|
1 ignored issue
–
show
|
|||
39 | 2 | } |
|
40 | |||
53 |
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.