public function basicDataProvider()
{
(yield [[new RulesetViolation(new InheritDependency('ClassA', 'ClassB', new Dependency('OriginalA', 12, 'OriginalB'), new FlattenAstInherit(AstInherit::newExtends('ClassInheritA', 3), [AstInherit::newExtends('ClassInheritB', 4), AstInherit::newExtends('ClassInheritC', 5), AstInherit::newExtends('ClassInheritD', 6)])), 'LayerA', 'LayerB')], '
ClassA must not depend on ClassB (LayerA on LayerB)
ClassInheritD::6 ->
ClassInheritC::5 ->
ClassInheritB::4 ->
ClassInheritA::3 ->
OriginalB::12
Found 1 Violations
']);
(yield [[new RulesetViolation(new Dependency('OriginalA', 12, 'OriginalB'), 'LayerA', 'LayerB')], '
OriginalA::12 must not depend on OriginalB (LayerA on LayerB)
Found 1 Violations
']);
(yield [[], '
Found 0 Violations
']);
}