Existing code still implements RuleInterface https://github.com/php-testo/testo/blob/de046dd82ccfc688bc7910944b2a35366d1ee8d2/tools/structarmed/src/Rule/InternalClassMustBeFinalRule.php#L17 This should implements ExtendedClassAwareRuleInterface Ref example https://github.com/boundwize/structarmed/blob/ca1371237cc6fe3b41931e8314401921ea1c8f50/src/Rule/Rules/Class_/MustBeFinalRule.php#L15 see documentation https://boundwize.github.io/structarmed/custom-rules-and-presets/#reading-usage-flags-in-a-custom-rule
Existing code still implements RuleInterface
testo/tools/structarmed/src/Rule/InternalClassMustBeFinalRule.php
Line 17 in de046dd
This should implements ExtendedClassAwareRuleInterface
Ref example
https://github.com/boundwize/structarmed/blob/ca1371237cc6fe3b41931e8314401921ea1c8f50/src/Rule/Rules/Class_/MustBeFinalRule.php#L15
see documentation
https://boundwize.github.io/structarmed/custom-rules-and-presets/#reading-usage-flags-in-a-custom-rule