mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-01 14:30:32 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
@@ -11,9 +11,9 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/../../phpBB/includes/functions_user.php';
|
||||
require_once dirname(__FILE__) . '/../mock/cache.php';
|
||||
require_once dirname(__FILE__) . '/validate_data_helper.php';
|
||||
require_once __DIR__ . '/../../phpBB/includes/functions_user.php';
|
||||
require_once __DIR__ . '/../mock/cache.php';
|
||||
require_once __DIR__ . '/validate_data_helper.php';
|
||||
|
||||
class phpbb_functions_validate_data_test extends phpbb_database_test_case
|
||||
{
|
||||
@@ -23,7 +23,7 @@ class phpbb_functions_validate_data_test extends phpbb_database_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/fixtures/validate_username.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/fixtures/validate_username.xml');
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
|
Reference in New Issue
Block a user