Skip to content

Commit f204624

Browse files
committed
Use faster algorithm for collection name from test name
1 parent 32efe49 commit f204624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/TestCase.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ protected function getCollectionName(): string
200200
{
201201
$class = new ReflectionClass($this);
202202

203-
return sprintf('%s.%s', $class->getShortName(), hash('crc32b', $this->name()));
203+
return sprintf('%s.%s', $class->getShortName(), hash('xxh3', $this->name()));
204204
}
205205

206206
/**

0 commit comments

Comments
 (0)