| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 6 | class CycleDetectorResponse implements \Countable |
||
| 7 | { |
||
| 8 | private $cycles = []; |
||
| 9 | |||
| 10 | public function addCycle(array $classes) |
||
| 11 | { |
||
| 12 | $this->cycles[] = $classes; |
||
| 13 | } |
||
| 14 | |||
| 15 | public function getCycles(): array |
||
| 16 | { |
||
| 17 | return $this->cycles; |
||
| 18 | /** |
||
| 19 | * Hoge component rule violations |
||
| 20 | * | hoge.php | Hoge | -> | fuga.php | Fuga | |
||
| 21 | * | hoge.php | Hoge | -> | fuga.php | Fuga | |
||
| 22 | * |
||
| 23 | * | No | file path | |
||
| 24 | * |---|---| |
||
| 25 | * | 1 | hoge.php | |
||
| 26 | * | 2 | fuga.php | |
||
| 27 | */ |
||
| 28 | } |
||
| 29 | |||
| 30 | public function count() |
||
| 33 | } |
||
| 34 | } |
||
| 35 |