Updated to symfony 4

This commit is contained in:
Alejandro Celaya 2018-03-26 20:32:12 +02:00
parent 2f26c82fa6
commit 3dcc510da1
2 changed files with 7 additions and 7 deletions

View file

@ -28,9 +28,9 @@
"mikehaertl/phpwkhtmltopdf": "^2.2", "mikehaertl/phpwkhtmltopdf": "^2.2",
"monolog/monolog": "^1.21", "monolog/monolog": "^1.21",
"roave/security-advisories": "dev-master", "roave/security-advisories": "dev-master",
"symfony/console": "^3.4", "symfony/console": "^4.0",
"symfony/filesystem": "^3.0", "symfony/filesystem": "^4.0",
"symfony/process": "^3.0", "symfony/process": "^4.0",
"theorchard/monolog-cascade": "^0.4", "theorchard/monolog-cascade": "^0.4",
"zendframework/zend-config": "^3.0", "zendframework/zend-config": "^3.0",
"zendframework/zend-config-aggregator": "^1.0", "zendframework/zend-config-aggregator": "^1.0",
@ -53,8 +53,8 @@
"phpunit/phpunit": "^7.0", "phpunit/phpunit": "^7.0",
"slevomat/coding-standard": "^4.0", "slevomat/coding-standard": "^4.0",
"squizlabs/php_codesniffer": "^3.1 <3.2", "squizlabs/php_codesniffer": "^3.1 <3.2",
"symfony/dotenv": "^3.4", "symfony/dotenv": "^4.0",
"symfony/var-dumper": "^3.0", "symfony/var-dumper": "^4.0",
"zendframework/zend-component-installer": "^2.1", "zendframework/zend-component-installer": "^2.1",
"zendframework/zend-expressive-tooling": "^1.0" "zendframework/zend-expressive-tooling": "^1.0"
}, },

View file

@ -134,7 +134,7 @@ class InstallCommand extends Command
if (! $this->isUpdate) { if (! $this->isUpdate) {
$this->io->write('Initializing database...'); $this->io->write('Initializing database...');
if (! $this->runCommand( if (! $this->runCommand(
'php vendor/bin/doctrine.php orm:schema-tool:create', 'php vendor/bin/doctrine orm:schema-tool:create',
'Error generating database.', 'Error generating database.',
$output $output
)) { )) {
@ -155,7 +155,7 @@ class InstallCommand extends Command
// Generate proxies // Generate proxies
$this->io->write('Generating proxies...'); $this->io->write('Generating proxies...');
if (! $this->runCommand( if (! $this->runCommand(
'php vendor/bin/doctrine.php orm:generate-proxies', 'php vendor/bin/doctrine orm:generate-proxies',
'Error generating proxies.', 'Error generating proxies.',
$output $output
)) { )) {