Use ::class constants where possible

It helps with refactorings and static analysis, because you can easily
tell if the class is missing or not.
This commit is contained in:
Martin Hujer
2017-12-11 22:33:25 +01:00
committed by Ben Ramsey
parent 225eb3b4c1
commit 049d5acf7a
3 changed files with 27 additions and 18 deletions
+2 -2
View File
@@ -29,8 +29,8 @@ class OrderedTimeCodecTest extends TestCase
protected function setUp()
{
parent::setUp();
$this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
$this->uuid = $this->getMockBuilder('Ramsey\Uuid\UuidInterface')->getMock();
$this->builder = $this->getMockBuilder(UuidBuilderInterface::class)->getMock();
$this->uuid = $this->getMockBuilder(UuidInterface::class)->getMock();
$this->fields = ['time_low' => '58e0a7d7',
'time_mid' => 'eebc',
'time_hi_and_version' => '11d8',