Repository navigation
2.1.0
New features
- Expose new data on Result:
getRecord(): ?Record: returns the evaluated record for the domaingetSteps(): array<array<0: Term, 1: ?bool>>: returns every evaluatedTerm. Second value of the array is whether theTermmatched or notgetRequestcount(): int,getRequestMXCount(): int,getRequestPTRCount(): intandgetVoidLookups(): int: returns the number of DNS lookups, MX lookups, PTR lookups and void lookups that were made for this evaluation
- Allow using custom lookup limits. Added three new arguments to
SPFCheckconstructor:public function __construct(DNSRecordGetterInterface $DNSRecordGetter, int $maxRequests = 10, int $maxMXRequests = 10, int $maxPTRRequests = 10)
Bugfixes
Full Changelog: 2.0.1...2.1.0