VKCOM / noverify

Pretty fast linter (code static analysis utility) for PHP
MIT License
673 stars 57 forks source link

`@path-exclude` is not taken into account when outputting the error list #1216

Closed Danil42Russia closed 2 months ago

Danil42Russia commented 7 months ago

dynamic_rules:

function ruleOne() {
  /**
   * @warning warning test
   * @path www/
   * @path-exclude path/first
   * @path-exclude path/second
   */
  any_rule_one: {
    ...rules
  }
}

When outputting errors, it still outputs errors from the @path-exclude paths