mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 21:40:43 +02:00
[ticket/15392] Changed dirname(__FILE__) to __DIR__
Changed dirname(__FILE__) to __DIR__ everywhere PHPBB3-15392
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
*
|
||||
*/
|
||||
|
||||
require_once(dirname(__FILE__) . '/attachments_mock_feed.php');
|
||||
require_once(__DIR__ . '/attachments_mock_feed.php');
|
||||
|
||||
class phpbb_feed_attachments_base_test extends phpbb_database_test_case
|
||||
{
|
||||
@@ -22,7 +22,7 @@ class phpbb_feed_attachments_base_test extends phpbb_database_test_case
|
||||
|
||||
public function getDataSet()
|
||||
{
|
||||
return $this->createXMLDataSet(dirname(__FILE__) . '/../extension/fixtures/extensions.xml');
|
||||
return $this->createXMLDataSet(__DIR__ . '/../extension/fixtures/extensions.xml');
|
||||
}
|
||||
|
||||
protected function setUp(): void
|
||||
|
Reference in New Issue
Block a user