mirror of
https://github.com/smarty-php/smarty.git
synced 2026-05-06 08:26:19 +02:00
Use __DIR__ instead of dirname(__FILE__) (#817)
This commit is contained in:
committed by
GitHub
parent
4550fc0339
commit
1b556c7077
@@ -20,7 +20,7 @@ class ClearAllAssignTest extends PHPUnit_Smarty
|
||||
|
||||
public function setUp(): void
|
||||
{
|
||||
$this->setUpSmarty(dirname(__FILE__));
|
||||
$this->setUpSmarty(__DIR__);
|
||||
|
||||
$this->smarty->assign('foo', 'foo');
|
||||
$this->_data = $this->smarty->createData($this->smarty);
|
||||
|
||||
Reference in New Issue
Block a user