mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Set minimum version to PHP 5.6 and use PHP 5.5 style ::class constants
This commit is contained in:
committed by
Ben Ramsey
parent
e535e89708
commit
225eb3b4c1
@@ -2,6 +2,7 @@
|
||||
|
||||
namespace Ramsey\Uuid\Test\Generator;
|
||||
|
||||
use Ramsey\Uuid\Generator\RandomBytesGenerator;
|
||||
use Ramsey\Uuid\Test\TestCase;
|
||||
use Ramsey\Uuid\Generator\RandomGeneratorFactory;
|
||||
|
||||
@@ -11,6 +12,6 @@ class RandomGeneratorFactoryTest extends TestCase
|
||||
{
|
||||
$generator = RandomGeneratorFactory::getGenerator();
|
||||
|
||||
$this->assertInstanceOf('Ramsey\\Uuid\\Generator\\RandomBytesGenerator', $generator);
|
||||
$this->assertInstanceOf(RandomBytesGenerator::class, $generator);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user