From 0ea079d604ef1f34cc47646ab23176a3c66f16ee Mon Sep 17 00:00:00 2001 From: Aleksander Machniak Date: Mon, 13 Oct 2014 14:41:55 +0200 Subject: dirname(__FILE__) -> __DIR__ --- plugins/database_attachments/tests/DatabaseAttachments.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/database_attachments/tests/DatabaseAttachments.php') diff --git a/plugins/database_attachments/tests/DatabaseAttachments.php b/plugins/database_attachments/tests/DatabaseAttachments.php index f260737ab..15ea5f44e 100644 --- a/plugins/database_attachments/tests/DatabaseAttachments.php +++ b/plugins/database_attachments/tests/DatabaseAttachments.php @@ -5,7 +5,7 @@ class DatabaseAttachments_Plugin extends PHPUnit_Framework_TestCase function setUp() { - include_once dirname(__FILE__) . '/../database_attachments.php'; + include_once __DIR__ . '/../database_attachments.php'; } /** -- cgit v1.2.3