Prepare test suite for PHP 8

This commit is contained in:
Ben Ramsey
2020-10-29 18:24:14 -05:00
parent 2f92bdf34e
commit b941aa1a9a
16 changed files with 126 additions and 156 deletions
+2 -2
View File
@@ -137,8 +137,8 @@ class DceSecurityGenerator implements DceSecurityGeneratorInterface
);
}
$domainByte = pack('n', $localDomain)[1];
$identifierBytes = hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT));
$domainByte = (string) pack('n', $localDomain)[1];
$identifierBytes = (string) hex2bin(str_pad($identifierHex, 8, '0', STR_PAD_LEFT));
if ($node instanceof Hexadecimal) {
$node = $node->toString();