Closed zanbaldwin closed 2 years ago
InvalidCidrException
false
WrongVersionException
Multi
Do not merge until after #76 (update AbstractIP::isSameByteLength() to use Darsyn\IP\Util\MbString).
AbstractIP::isSameByteLength()
Darsyn\IP\Util\MbString
Unsure whether this is a breaking change or not :thinking:
Technically an exception is thrown where one wasn't before, but only on invalid inputs that would thrown an exception for all similar methods.
InvalidCidrException
on an invalid CIDR, instead of just returningfalse
.WrongVersionException
on comparing two IPs of differing byte-length (IPv4 vs IPv6/IPv4-embedded).Multi
now correctly detect IPv4 according to embedding strategy and CIDR.Do not merge until after #76 (update
AbstractIP::isSameByteLength()
to useDarsyn\IP\Util\MbString
).