mirror of
https://github.com/ramsey/uuid.git
synced 2026-06-17 16:26:51 +03:00
Prepare tests for running on PHP 8
This commit is contained in:
@@ -22,9 +22,9 @@ class GuidStringCodecTest extends TestCase
|
||||
/** @var array */
|
||||
private $fields;
|
||||
|
||||
protected function setUp()
|
||||
protected function set_up()
|
||||
{
|
||||
parent::setUp();
|
||||
parent::set_up();
|
||||
$this->builder = $this->getMockBuilder('Ramsey\Uuid\Builder\UuidBuilderInterface')->getMock();
|
||||
$this->uuid = $this->getMockBuilder('Ramsey\Uuid\UuidInterface')->getMock();
|
||||
$this->fields = ['time_low' => '12345678',
|
||||
@@ -35,9 +35,9 @@ class GuidStringCodecTest extends TestCase
|
||||
'node' => '1234abcd4321'];
|
||||
}
|
||||
|
||||
protected function tearDown()
|
||||
protected function tear_down()
|
||||
{
|
||||
parent::tearDown();
|
||||
parent::tear_down();
|
||||
$this->builder = null;
|
||||
$this->fields = null;
|
||||
$this->uuid = null;
|
||||
|
||||
Reference in New Issue
Block a user