Updated how Symfony commands are used to fulfill API from v4.2

This commit is contained in:
Alejandro Celaya
2018-12-08 10:34:04 +01:00
parent 62fb3863c6
commit 080943e810
2 changed files with 12 additions and 10 deletions

View File

@@ -26,7 +26,7 @@ $config['entity_manager']['connection'] = [
$sm->setService('config', $config);
// Create database
$process = new Process('vendor/bin/doctrine orm:schema-tool:create --no-interaction -q --test', __DIR__);
$process = new Process(['vendor/bin/doctrine', 'orm:schema-tool:create', '--no-interaction', '-q', '--test'], __DIR__);
$process->inheritEnvironmentVariables()
->mustRun();