Skip to content

Latest commit

 

History

History
7 lines (5 loc) · 474 Bytes

CHANGELOG.md

File metadata and controls

7 lines (5 loc) · 474 Bytes

1.0

Breaking changes:

  • The Checks interface changed completely. Now we have to implement getMatches(): MatchCollection and processMatch(mixed $match, FileMatch $file): array<ViolationBuilder>.
  • The ViolationBuilder has a different interface now. Now the file, check and identifier are optional fields, and will be set by the CheckRunner if they were left empty in the processMatch method.
    The build method now requires the Check and the FileMatch.