Closed zanbaldwin closed 2 years ago
getCommonCidr()
inRange()
InvalidCidrException
false
WrongVersionException
Binary
MbString
Multi
tests/psalm.xml
static-analysis
Superceded
getCommonCidr()
functionality.inRange()
method:InvalidCidrException
on an invalid CIDR, instead of just returningfalse
.WrongVersionException
on comparing two IPs of differing byte-length (IPv4 vs IPv6/IPv4-embedded).Binary
now split intoBinary
andMbString
utility classes:Multi
now correctly detect IPv4 according to embedding strategy and CIDR.tests/psalm.xml
) to project instead of auto-generating in CIstatic-analysis
pipeline.WrongVersionException
now returns human-readable IP address string instead of binary where possible.