Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
19 | public function __construct($message, ResponseInterface $response = null, $formattedResponse = null, $code = null) |
||
20 | { |
||
21 | parent::__construct($message, $code); |
||
22 | |||
23 | $this->response = $response; |
||
|
|||
24 | $this->formattedResponse = $formattedResponse; |
||
25 | |||
26 | if ($response) { |
||
27 | $response->getBody()->rewind(); |
||
28 | } |
||
31 |
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.