deeem/hexlet-psr-linter

View on GitHub
src/Rules/RulesInterface.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace PsrLinter\Rules;

interface RulesInterface
{
    /**
     * @param \PhpParser\Node $node
     *
     * @return bool true if violation found
     */
    public function check(\PhpParser\Node $node);

    /**
     * @return mixed array or false in case of no violations found
     */
    public function flushErrors();
}