Convert to PSR-2 coding style (using phpcs-fixer)
This commit is contained in:
@@ -24,7 +24,9 @@ class privatebinWithDbTest extends privatebinTest
|
||||
{
|
||||
/* Setup Routine */
|
||||
$this->_path = sys_get_temp_dir() . DIRECTORY_SEPARATOR . 'privatebin_data';
|
||||
if(!is_dir($this->_path)) mkdir($this->_path);
|
||||
if (!is_dir($this->_path)) {
|
||||
mkdir($this->_path);
|
||||
}
|
||||
$this->_options['dsn'] = 'sqlite:' . $this->_path . DIRECTORY_SEPARATOR . 'tst.sq3';
|
||||
$this->_model = db::getInstance($this->_options);
|
||||
$this->reset();
|
||||
|
||||
Reference in New Issue
Block a user