Set minimum version to PHP 5.6 and use PHP 5.5 style ::class constants

This commit is contained in:
Jildert Miedema
2016-06-23 20:23:07 +02:00
committed by Ben Ramsey
parent e535e89708
commit 225eb3b4c1
14 changed files with 75 additions and 54 deletions
@@ -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);
}
}