Skip to content

Commit

Permalink
use more entropy with uniqid()
Browse files Browse the repository at this point in the history
  • Loading branch information
xabbuh committed Jul 9, 2024
1 parent c97dba5 commit 1e538a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/Mapping/Factory/ClassMetadataFactoryCompilerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ final class ClassMetadataFactoryCompilerTest extends TestCase

protected function setUp(): void
{
$this->dumpPath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_serializer_metadata.'.uniqid('CompiledClassMetadataFactory').'.php';
$this->dumpPath = sys_get_temp_dir().\DIRECTORY_SEPARATOR.'php_serializer_metadata.'.uniqid('CompiledClassMetadataFactory', true).'.php';
}

protected function tearDown(): void
Expand Down

0 comments on commit 1e538a6

Please sign in to comment.