Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 1.0046 |
Changes | 0 |
1 | <?php declare(strict_types = 1); |
||
38 | 7 | public function __construct(string $entryId, array $referenceChain = [], Exception $previous = null) |
|
39 | { |
||
40 | 7 | $referenceChain[] = $this->serviceId = $entryId; |
|
1 ignored issue
–
show
|
|||
41 | 7 | $this->referenceChain = $referenceChain; |
|
42 | 7 | parent::__construct($this->createMessage($previous), 0, $previous); |
|
43 | 7 | } |
|
44 | |||
73 | } |
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.