Merge branch '4.x' into 5.x

This commit is contained in:
Ben Ramsey
2022-08-05 15:17:01 -05:00
9 changed files with 51 additions and 31 deletions
+3 -1
View File
@@ -44,11 +44,13 @@ class DceSecurityGeneratorTest extends TestCase
string $expectedNode,
string $expectedTimeMidHi
): void {
/** @var DceSecurityProviderInterface $dceSecurityProvider */
$dceSecurityProvider = Mockery::mock(DceSecurityProviderInterface::class, [
'getUid' => new IntegerObject($uid),
'getGid' => new IntegerObject($gid),
]);
/** @var NodeProviderInterface $nodeProvider */
$nodeProvider = Mockery::mock(NodeProviderInterface::class, [
'getNode' => new Hexadecimal($node),
]);
@@ -71,7 +73,7 @@ class DceSecurityGeneratorTest extends TestCase
}
/**
* @phpcsSuppress SlevomatCodingStandard.TypeHints.ReturnTypeHint.MissingTraversableTypeHintSpecification
* @return array<array{uid: int|string, node: string, seconds: int, microseconds: int, providedDomain: int, providedId: IntegerObject|null, providedNode: null, expectedId: string, expectedDomain: string, expectedNode: string, expectedTimeMidHi: string}>
*/
public function provideValuesForDceSecurityGenerator(): array
{