mirror of
https://github.com/phpbb/phpbb.git
synced 2025-08-06 08:47:45 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
4
tests/cache/cache_memory_test.php
vendored
4
tests/cache/cache_memory_test.php
vendored
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once dirname(__FILE__) . '/cache_memory.php';
|
||||
require_once __DIR__ . '/cache_memory.php';
|
||||
|
||||
class phpbb_cache_memory_test extends phpbb_database_test_case
|
||||
{
|
||||
@@ -20,7 +20,7 @@ class phpbb_cache_memory_test extends phpbb_database_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__).'/fixtures/cache_memory.xml');
|
||||
return $this->createXMLDataSet(__DIR__.'/fixtures/cache_memory.xml');
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
|
Reference in New Issue
Block a user