- The
Checks
interface changed completely. Now we have to implementgetMatches(): MatchCollection
andprocessMatch(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.
Thebuild
method now requires the Check and the FileMatch.