Reverted dependency changes to run with PHP 5.3

GitList 1.x is legacy software and there's no reason why it should
not run on old versions of PHP. With the series 2.x being under
development, we should strive to make this version stable and
compatible with most platforms, regardless of any maintainability
issues that might occur from having to support legacy ecosystems.
This commit is contained in:
Klaus Silveira
2018-05-18 19:21:08 -04:00
parent 0e892b4a6f
commit d5f2ae5a81
25 changed files with 451 additions and 1524 deletions

View File

@@ -29,7 +29,7 @@ class InterfaceTest extends WebTestCase
}
$options['path'] = getenv('GIT_CLIENT') ?: '/usr/bin/git';
$options['hidden'] = [self::$tmpdir . '/hiddenrepo'];
$options['hidden'] = array(self::$tmpdir . '/hiddenrepo');
$options['default_branch'] = 'master';
$options['ini.file'] = 'config.ini';
$options['projects'] = false;
@@ -144,7 +144,7 @@ class InterfaceTest extends WebTestCase
$config->set('app', 'debug', false);
$config->set('git', 'client', self::$gitPath);
$config->set('git', 'default_branch', 'master');
$config->set('git', 'repositories', [self::$tmpdir]);
$config->set('git', 'repositories', array(self::$tmpdir));
$app = require 'boot.php';