$ignores */ public static function fromIgnores(Collection $ignores, bool $countMedium = false): self { return new self(IgnoreMatcher::fromIgnores($ignores), $countMedium); } /** * The same ignores with every medium counted. Version and base checks store the IDs they fix with these, so a * change of the rule needs no new check. */ public function withAllMediums(): self { return new self($this->ignores, true); } }