mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
prevent UUID_TYPE_TIME already defined error
This commit is contained in:
@@ -5,7 +5,9 @@ use Ramsey\Uuid\Generator\PeclUuidTimeGenerator;
|
||||
use Ramsey\Uuid\Test\TestCase;
|
||||
use AspectMock\Test as AspectMock;
|
||||
|
||||
define('UUID_TYPE_TIME', 1);
|
||||
if (!defined('UUID_TYPE_TIME')) {
|
||||
define('UUID_TYPE_TIME', 1);
|
||||
}
|
||||
|
||||
class PeclUuidTimeGeneratorTest extends TestCase
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user