Revert "Fix var_export() not working for stdClass in PHP < 7.3"

This reverts commit 3f7f802585.
This commit is contained in:
Kijin Sung 2018-12-13 18:59:27 +09:00
parent 7e48c4989e
commit 7b9fe8f7f2
8 changed files with 43 additions and 40 deletions

View file

@ -18,5 +18,9 @@ class ConfigTest extends \Codeception\TestCase\Test
Rhymix\Framework\Config::set('foo.bar', $rand = mt_rand());
$this->assertEquals(array('bar' => $rand), Rhymix\Framework\Config::get('foo'));
$this->assertEquals($rand, Rhymix\Framework\Config::get('foo.bar'));
$var = array('foo' => 'bar');
$serialized = "array(\n\t'foo' => 'bar',\n)";
$this->assertEquals($serialized, Rhymix\Framework\Config::serialize($var));
}
}