implementing StyleCI recommendations

This commit is contained in:
El RIDO 2017-11-13 22:05:29 +01:00
parent c2133cfa7e
commit 478cf288b4
No known key found for this signature in database
GPG key ID: 0F5C940A6BD81F92
3 changed files with 4 additions and 4 deletions

View file

@ -142,7 +142,7 @@ class ConfigurationTest extends PHPUnit_Framework_TestCase
public function testHandleConfigFileRename()
{
$options = $this->_options;
$options = $this->_options;
Helper::createIniFile(PATH . 'cfg' . DIRECTORY_SEPARATOR . 'conf.ini.sample', $options);
$options['main']['opendiscussion'] = true;

View file

@ -150,8 +150,8 @@ class I18nTest extends PHPUnit_Framework_TestCase
$dir = dir(PATH . 'i18n');
while (false !== ($file = $dir->read())) {
if (strlen($file) === 7) {
$language = substr($file, 0, 2);
$languageMessageIds = array_keys(
$language = substr($file, 0, 2);
$languageMessageIds = array_keys(
json_decode(
file_get_contents(PATH . 'i18n' . DIRECTORY_SEPARATOR . $file),
true

View file

@ -35,7 +35,7 @@ class PrivateBinWithDbTest extends PrivateBinTest
$options['model'] = array(
'class' => 'Database',
);
$options['model_options'] = $this->_options;
$options['model_options'] = $this->_options;
Helper::createIniFile(CONF, $options);
}
}