Total Complexity | 3 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Coverage | 93.75% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
25 | class AmqpTransport extends AbstractTransport |
||
26 | { |
||
27 | /** |
||
28 | * @var AMQPExchange $exchange |
||
29 | */ |
||
30 | protected $exchange; |
||
31 | |||
32 | /** |
||
33 | * @var AMQPQueue $exchange |
||
34 | */ |
||
35 | protected $queue; |
||
36 | |||
37 | /** |
||
38 | * @param AMQPExchange $exchange |
||
39 | * @param AMQPQueue $queue |
||
40 | */ |
||
41 | 4 | public function __construct(AMQPExchange $exchange, AMQPQueue $queue) |
|
46 | 4 | } |
|
47 | |||
48 | /** |
||
49 | * @inheritdoc |
||
50 | */ |
||
51 | 1 | public function send(Message $message) |
|
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.