| Total Complexity | 9 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 88.24% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class TablePrefixSubscriber implements \Doctrine\Common\EventSubscriber |
||
| 8 | { |
||
| 9 | private $tableprefix; |
||
| 10 | |||
| 11 | 51 | public function __construct($tableprefix) |
|
| 14 | 51 | } |
|
| 15 | |||
| 16 | 51 | public function getSubscribedEvents() |
|
| 19 | } |
||
| 20 | |||
| 21 | 37 | public function loadClassMetadata(LoadClassMetadataEventArgs $args) |
|
| 42 |
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.