Make PropelBundle available for Symfony 3.X

- Updated composer.json dependency
- Replaced deprecated dialog helper with question helper
- propel.html.twig - Use render function not render tag
- Replaced ContainerAware with ContainerAwareTrait
This commit is contained in:
Moritz Schroeder 2016-02-10 17:25:00 +01:00
commit ca13ff5195
7 changed files with 43 additions and 27 deletions

View file

@ -61,7 +61,7 @@ EOT
if ('prod' === $this->getApplication()->getKernel()->getEnvironment()) {
$this->writeSection($output, 'WARNING: you are about to drop a database in production !', 'bg=red;fg=white');
if (false === $this->askConfirmation($output, 'Are you sure ? (y/n) ', false)) {
if (false === $this->askConfirmation($input, $output, 'Are you sure ? (y/n) ', false)) {
$output->writeln('Aborted, nice decision !');
return -2;