mlocati / spf-lib

PHP library to parse, build and validate SPF (Sender Policy Framework) DNS records
MIT License
49 stars 6 forks source link

No such method matchIP() on SPFLib\Checker, use $state not $this #15

Closed kanarip closed 3 years ago

kanarip commented 3 years ago

Fix an issue with checking the validity of the mx mechanism.

codecov-io commented 3 years ago

Codecov Report

Merging #15 into master will not change coverage. The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #15   +/-   ##
=========================================
  Coverage     93.65%   93.65%           
  Complexity      628      628           
=========================================
  Files            39       39           
  Lines          1339     1339           
=========================================
  Hits           1254     1254           
  Misses           85       85           
Flag Coverage Δ Complexity Δ
#unittests 93.65% <0.00%> (ø) 628.00 <0.00> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ Complexity Δ
src/Checker.php 98.50% <0.00%> (ø) 105.00 <0.00> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 793f336...5fc8a83. Read the comment docs.

mlocati commented 3 years ago

Thanks! I just released version 3.0.1 which includes this fix.