Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit fc03255

Browse files
committedApr 1, 2018
minor #309 Display a warning message when installing the Demo application (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
2 parents e5d7d6c + 9de3bbe commit fc03255

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)
This repository has been archived.