1 | <?php |
||
26 | abstract class ShaderAbstract |
||
27 | { |
||
28 | |||
29 | /** |
||
30 | * Get default class vars |
||
31 | * |
||
32 | * @return array |
||
33 | */ |
||
34 | 7 | protected function getShaderClassDefaultVars() |
|
38 | |||
39 | /** |
||
40 | * removeDefaultDOMAttributes |
||
41 | * |
||
42 | * @return void |
||
43 | */ |
||
44 | 7 | public function removeDefaultDOMAttributes() |
|
58 | |||
59 | 5 | public function getAttributes() |
|
64 | } |
||
65 |
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.