1
0
Fork 0

Added missing deprecation warning in create-project.

pull/4921/head
Niels Keurentjes 2016-02-15 21:38:31 +01:00
parent 72a3563f1e
commit 4fe063b2e5
1 changed files with 3 additions and 0 deletions

View File

@ -104,6 +104,9 @@ EOT
$this->updatePreferredOptions($config, $input, $preferSource, $preferDist, true); $this->updatePreferredOptions($config, $input, $preferSource, $preferDist, true);
if ($input->getOption('dev')) {
$io->writeError('<warning>You are using the deprecated option "dev". Dev packages are installed by default now.</warning>');
}
if ($input->getOption('no-custom-installers')) { if ($input->getOption('no-custom-installers')) {
$io->writeError('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>'); $io->writeError('<warning>You are using the deprecated option "no-custom-installers". Use "no-plugins" instead.</warning>');
$input->setOption('no-plugins', true); $input->setOption('no-plugins', true);