src/RuleChecker.php
public function match(RuleInterface $rule, NodeInterface $node): bool
    {
        if (false !== strpos($node->getSubject(), $rule->getSubject())) {
            return true;
        }

        return false;
    }
public function match(RuleInterface $rule, NodeInterface $node): bool
    {
        if (false !== strpos($node->getSubject(), $rule->getSubject())) {
            return true;
        }

        return false;
    }
public function match ( RuleInterface $ rule , NodeInterface $ node ) : bool { if ( false !== strpos ( $ node -> getSubject ( ) , $ rule -> getSubject ( ) ) ) { return true ; } return false ; }
Does a node match a rule?
Does a node match a rule?