mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 00:37:42 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
@@ -7,7 +7,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_user.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions_user.php';
|
||||
|
||||
class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
{
|
||||
@@ -16,7 +16,7 @@ class phpbb_functions_user_delete_user_test extends phpbb_database_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/delete_user.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/delete_user.xml');
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
|
Reference in New Issue
Block a user