Use __DIR__ instead of dirname(__FILE__) (#817)

This commit is contained in:
Raimondas Rimkevičius
2022-09-27 13:03:34 +03:00
committed by GitHub
parent 4550fc0339
commit 1b556c7077
152 changed files with 250 additions and 250 deletions
@@ -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);