feat: implement dynamic rule discovery and incremental level filtering

This commit is contained in:
Enes Yakıştır
2026-06-06 13:48:10 +03:00
parent c42ab714ff
commit 2a97138fec
24 changed files with 283 additions and 27 deletions
+5
View File
@@ -19,6 +19,11 @@ abstract class AbstractRule
*/
abstract public function getSeverity(): Severity;
public function getLevel(): int
{
return 4;
}
protected function createViolation(string $message, \DOMElement $element): Violation
{
$doc = $element->ownerDocument;