Skip to content

Commit

Permalink
sleep has some return type issues on some platforms, use other functi…
Browse files Browse the repository at this point in the history
…on for int test
  • Loading branch information
kkmuffme committed May 30, 2023
1 parent c62ab04 commit e2b9ee7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/ReturnTypeProvider/SprintfTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public function providerValidCodeParse(): iterable

yield 'sprintfStringPlaceholderIntParamFormatNonEmpty' => [
'code' => '<?php
$val = sprintf("%s", sleep(0));
$val = sprintf("%s", crc32(uniqid()));
',
'assertions' => [
'$val===' => 'non-empty-string',
Expand Down

0 comments on commit e2b9ee7

Please sign in to comment.