Fixed merge conflicts

This commit is contained in:
Alejandro Celaya
2019-12-23 11:13:32 +01:00
3 changed files with 27 additions and 2 deletions

View File

@@ -2,12 +2,16 @@
declare(strict_types=1);
use Symfony\Component\Lock;
use Zend\ServiceManager\ServiceManager;
chdir(dirname(__DIR__));
require 'vendor/autoload.php';
// This class alias tricks the ConfigAbstractFactory to return Lock\Factory instances even with a different service name
class_alias(Lock\LockFactory::class, 'Shlinkio\Shlink\LocalLockFactory');
// Build container
$config = require __DIR__ . '/config.php';
$container = new ServiceManager($config['dependencies']);