mirror of
https://github.com/klaussilveira/gitlist.git
synced 2026-05-07 01:57:05 +02:00
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:
@@ -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';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user