From 4204e4b8b72dd5cc0899fbc7495c96f828c3a6af Mon Sep 17 00:00:00 2001 From: El RIDO Date: Fri, 3 Jul 2020 21:00:42 +0200 Subject: [PATCH] make StyleCI happy and change unit test to use a string --- lib/Configuration.php | 2 +- tst/ViewTest.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/Configuration.php b/lib/Configuration.php index f929c81..0678370 100644 --- a/lib/Configuration.php +++ b/lib/Configuration.php @@ -38,7 +38,7 @@ class Configuration private static $_defaults = array( 'main' => array( 'name' => 'PrivateBin', - 'basepath' => '', + 'basepath' => '', 'discussion' => true, 'opendiscussion' => false, 'password' => true, diff --git a/tst/ViewTest.php b/tst/ViewTest.php index 2be83b4..6153052 100644 --- a/tst/ViewTest.php +++ b/tst/ViewTest.php @@ -34,7 +34,7 @@ class ViewTest extends PHPUnit_Framework_TestCase /* Setup Routine */ $page = new View; $page->assign('NAME', 'PrivateBinTest'); - $page->assign('BASEPATH', false); + $page->assign('BASEPATH', ''); $page->assign('ERROR', self::$error); $page->assign('STATUS', self::$status); $page->assign('VERSION', self::$version);