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

Commit 6a7324d

Browse files
Christian Flothmannxabbuh
Christian Flothmann
authored andcommitted
suggest to use symfony.phar on Windows
1 parent b6c8d65 commit 6a7324d

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Symfony/Installer/NewCommand.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,9 @@ private function download()
240240
throw new \RuntimeException(sprintf(
241241
"The selected version (%s) cannot be installed because it does not exist.\n".
242242
"Try the special \"latest\" version to install the latest stable Symfony release:\n".
243-
'php symfony %s %s latest',
243+
'%s %s %s latest',
244244
$this->version,
245+
defined('PHP_WINDOWS_VERSION_BUILD') ? 'php symfony.phar' : 'symfony',
245246
$this->getName(),
246247
$this->projectName
247248
));

0 commit comments

Comments
 (0)