From: Philipp Holzer Date: Mon, 22 Oct 2018 19:11:09 +0000 (+0200) Subject: Code Standards X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=5ab115598c66dc4c636bddb974b9e4b78b338e91;p=friendica.git Code Standards --- diff --git a/tests/ApiTest.php b/tests/ApiTest.php index 639b72558b..4d6d6f082b 100644 --- a/tests/ApiTest.php +++ b/tests/ApiTest.php @@ -12,7 +12,7 @@ use Friendica\Core\Protocol; use Friendica\Core\System; use Friendica\Network\HTTPException; -require_once(__DIR__ . '/../include/api.php'); +require_once __DIR__ . '/../include/api.php'; /** * Tests for the API functions. diff --git a/tests/DatabaseTest.php b/tests/DatabaseTest.php index 6798f60934..ec1eb290d1 100644 --- a/tests/DatabaseTest.php +++ b/tests/DatabaseTest.php @@ -14,7 +14,7 @@ use PHPUnit\DbUnit\TestCaseTrait; use PHPUnit\Framework\TestCase; use PHPUnit_Extensions_Database_DB_IDatabaseConnection; -require_once(__DIR__ . '/../boot.php'); +require_once __DIR__ . '/../boot.php'; /** * Abstract class used by tests that need a database.