| Total Complexity | 3 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class RuleViolationDetector |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * @var DependencyRule[] |
||
| 12 | */ |
||
| 13 | protected $rules; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param DependencyRule[] $rules |
||
| 17 | */ |
||
| 18 | public function __construct(array $rules = []) |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param DependencyGraph $graph |
||
| 25 | * @return VerifyDependencyResponse[] |
||
| 26 | */ |
||
| 27 | public function inspect(DependencyGraph $graph): array |
||
| 37 |