From 8793a67ce9ddd85faba79407364d8ed7f3bb4e2e Mon Sep 17 00:00:00 2001 From: Alejandro Celaya Date: Sat, 7 Apr 2018 08:37:41 +0200 Subject: [PATCH] Reduced the number of includes by pointing to dcotrine scripts with extension --- data/infra/database/.gitignore | 0 data/infra/nginx/.gitignore | 0 module/CLI/src/Command/Install/InstallCommand.php | 6 +++--- 3 files changed, 3 insertions(+), 3 deletions(-) mode change 100644 => 100755 data/infra/database/.gitignore mode change 100644 => 100755 data/infra/nginx/.gitignore diff --git a/data/infra/database/.gitignore b/data/infra/database/.gitignore old mode 100644 new mode 100755 diff --git a/data/infra/nginx/.gitignore b/data/infra/nginx/.gitignore old mode 100644 new mode 100755 diff --git a/module/CLI/src/Command/Install/InstallCommand.php b/module/CLI/src/Command/Install/InstallCommand.php index 80f0a2c7..7c2ef2e2 100644 --- a/module/CLI/src/Command/Install/InstallCommand.php +++ b/module/CLI/src/Command/Install/InstallCommand.php @@ -134,7 +134,7 @@ class InstallCommand extends Command if (! $this->isUpdate) { $this->io->write('Initializing database...'); if (! $this->runCommand( - 'php vendor/doctrine/orm/bin/doctrine orm:schema-tool:create', + 'php vendor/doctrine/orm/bin/doctrine.php orm:schema-tool:create', 'Error generating database.', $output )) { @@ -145,7 +145,7 @@ class InstallCommand extends Command // Run database migrations $this->io->write('Updating database...'); if (! $this->runCommand( - 'php vendor/doctrine/migrations/bin/doctrine-migrations migrations:migrate', + 'php vendor/doctrine/migrations/bin/doctrine-migrations.php migrations:migrate', 'Error updating database.', $output )) { @@ -155,7 +155,7 @@ class InstallCommand extends Command // Generate proxies $this->io->write('Generating proxies...'); if (! $this->runCommand( - 'php vendor/doctrine/orm/bin/doctrine orm:generate-proxies', + 'php vendor/doctrine/orm/bin/doctrine.php orm:generate-proxies', 'Error generating proxies.', $output )) {