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

Commit

Permalink
minor #309 Display a warning message when installing the Demo applica…
Browse files Browse the repository at this point in the history
…tion (javiereguiluz)

This PR was merged into the 1.0-dev branch.

Discussion
----------

Display a warning message when installing the Demo application

This fixes #308 and it looks like this:

![warning-demo-project](https://user-images.githubusercontent.com/73419/38092665-3595370e-3369-11e8-91a8-0a9e24955770.png)

Commits
-------

9de3bbe Display a warning message when installing the Demo application
  • Loading branch information
javiereguiluz committed Apr 1, 2018
2 parents e5d7d6c + 9de3bbe commit fc03255
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Symfony/Installer/DemoCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,13 @@ private function displayInstallationResult()
$this->projectDir, $serverRunCommand
));

$this->output->writeln(
"<bg=yellow> WARNING </>\n\n".
" This installer downloads the old Symfony Demo version based on Symfony 3.\n".
" If you prefer to install the new version based on Symfony 4 and Symfony Flex,\n".
" execute the following command:\n\n".
" composer create-project symfony/symfony-demo\n");

return $this;
}

Expand Down

0 comments on commit fc03255

Please # to comment.