mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-15 16:07:55 +03:00
chore(deps-dev): upgrade PHPStan
This commit is contained in:
@@ -4,7 +4,6 @@ declare(strict_types=1);
|
||||
|
||||
namespace Ramsey\Uuid\Test;
|
||||
|
||||
use DateTimeInterface;
|
||||
use Mockery;
|
||||
use Ramsey\Uuid\Codec\CodecInterface;
|
||||
use Ramsey\Uuid\Converter\NumberConverterInterface;
|
||||
@@ -31,7 +30,6 @@ class DeprecatedUuidMethodsTraitTest extends TestCase
|
||||
|
||||
$uuid = new Uuid($fields, $numberConverter, $codec, $timeConverter);
|
||||
|
||||
$this->assertInstanceOf(DateTimeInterface::class, $uuid->getDateTime());
|
||||
$this->assertSame('2012-07-04T02:14:34+00:00', $uuid->getDateTime()->format('c'));
|
||||
$this->assertSame('1341368074.491000', $uuid->getDateTime()->format('U.u'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user