mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-14 15:56:48 +03:00
Require phpstan and correct issues found up to level 2
* issues found by phpstan L0 * issues found by phpstan L1 * issues found by phpstan L2 in src/ * issues found by phpstan L2 in tests/
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace Ramsey\Uuid\Test\Encoder;
|
||||
|
||||
use PHPUnit_Framework_MockObject_MockObject;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Ramsey\Uuid\Builder\UuidBuilderInterface;
|
||||
use Ramsey\Uuid\Codec\CodecInterface;
|
||||
use Ramsey\Uuid\Codec\TimestampFirstCombCodec;
|
||||
@@ -16,7 +16,7 @@ class TimestampFirstCombCodecTest extends TestCase
|
||||
private $codec;
|
||||
|
||||
/**
|
||||
* @var PHPUnit_Framework_MockObject_MockObject
|
||||
* @var MockObject
|
||||
*/
|
||||
private $builderMock;
|
||||
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?php
|
||||
namespace Ramsey\Uuid\Test\Encoder;
|
||||
|
||||
use PHPUnit_Framework_MockObject_MockObject;
|
||||
use PHPUnit\Framework\MockObject\MockObject;
|
||||
use Ramsey\Uuid\Builder\UuidBuilderInterface;
|
||||
use Ramsey\Uuid\Codec\CodecInterface;
|
||||
use Ramsey\Uuid\Codec\TimestampLastCombCodec;
|
||||
@@ -16,7 +16,7 @@ class TimestampLastCombCodecTest extends TestCase
|
||||
private $codec;
|
||||
|
||||
/**
|
||||
* @var PHPUnit_Framework_MockObject_MockObject
|
||||
* @var MockObject
|
||||
*/
|
||||
private $builderMock;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user