Conditions | 1 |
Paths | 1 |
Total Lines | 5 |
Code Lines | 3 |
Lines | 0 |
Ratio | 0 % |
Tests | 4 |
CRAP Score | 1.008 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
34 | 6 | public function __construct(ServerRequestInterface $request, RouteCollectionContract $routes) |
|
35 | { |
||
36 | 6 | $this->request = $request; |
|
37 | 6 | $this->routes = $routes; |
|
1 ignored issue
–
show
|
|||
38 | 6 | } |
|
39 | |||
78 |
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.