implementing StyleCI recommendations

This commit is contained in:
El RIDO
2017-11-13 22:05:29 +01:00
parent c2133cfa7e
commit 478cf288b4
3 changed files with 4 additions and 4 deletions

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