mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
Merge branch '4.x' into 5.x
This commit is contained in:
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user