Skip to content

Commit

Permalink
Add default namespace to rand() calls in test
Browse files Browse the repository at this point in the history
  • Loading branch information
webignition committed Apr 4, 2024
1 parent a5954e8 commit 49866ef
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/HttpClient/Plugin/ExceptionThrowerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@ public function testApiLimitExceededExceptionIncludesRateLimit(): void
{
$exceptionThrower = new ExceptionThrower();

$rateLimitReset = rand();
$rateLimitRemaining = rand();
$rateLimitLimit = rand();
$rateLimitReset = \rand();
$rateLimitRemaining = \rand();
$rateLimitLimit = \rand();

$request = new Request('GET', 'https://example.com/');
$response = new Response(
Expand Down

0 comments on commit 49866ef

Please sign in to comment.