From 8c532efd5f02f7a7e5ea322a07ddcf49d130a8ec Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 10:09:03 -0400 Subject: Run php-cs-fixer on the code base --- tests/units/Base.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'tests/units/Base.php') diff --git a/tests/units/Base.php b/tests/units/Base.php index fe054344..4a5b303f 100644 --- a/tests/units/Base.php +++ b/tests/units/Base.php @@ -65,8 +65,7 @@ abstract class Base extends PHPUnit_Framework_TestCase $pdo->exec('DROP DATABASE '.DB_NAME); $pdo->exec('CREATE DATABASE '.DB_NAME); $pdo = null; - } - else if (DB_DRIVER === 'postgres') { + } elseif (DB_DRIVER === 'postgres') { $pdo = new PDO('pgsql:host='.DB_HOSTNAME, DB_USERNAME, DB_PASSWORD); $pdo->exec('DROP DATABASE '.DB_NAME); $pdo->exec('CREATE DATABASE '.DB_NAME.' WITH OWNER '.DB_USERNAME); -- cgit v1.2.3