Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.

Commit 9de3bbe

Browse files
committed
Display a warning message when installing the Demo application
1 parent e5d7d6c commit 9de3bbe

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/Symfony/Installer/DemoCommand.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -157,6 +157,13 @@ private function displayInstallationResult()
157157
$this->projectDir, $serverRunCommand
158158
));
159159

160+
$this->output->writeln(
161+
"<bg=yellow> WARNING </>\n\n".
162+
" This installer downloads the old Symfony Demo version based on Symfony 3.\n".
163+
" If you prefer to install the new version based on Symfony 4 and Symfony Flex,\n".
164+
" execute the following command:\n\n".
165+
" composer create-project symfony/symfony-demo\n");
166+
160167
return $this;
161168
}
162169

0 commit comments

Comments
 (0)