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

Commit 563a7b8

Browse files
committed
bug #206 Fix Symfony3 is now the latest release (ogizanagi)
This PR was merged into the 1.0-dev branch. Discussion ---------- Fix Symfony3 is now the latest release Symfony 3 is now the latest release. πŸŽ‰ Fix the following issue: ```bash symfony new test Downloading Symfony... 4.93 MB/4.93 MB β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“β–“ 100% Preparing project... PHP Warning: require(/Users/Ogi/test/app/SymfonyRequirements.php): failed to open stream: No such file or directory in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265 Warning: require(/Users/Ogi/test/app/SymfonyRequirements.php): failed to open stream: No such file or directory in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265 PHP Fatal error: require(): Failed opening required '/Users/Ogi/test/app/SymfonyRequirements.php' (include_path='.:/usr/local/php5/lib/php') in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265 Fatal error: require(): Failed opening required '/Users/Ogi/test/app/SymfonyRequirements.php' (include_path='.:/usr/local/php5/lib/php') in phar:///usr/local/bin/symfony/src/Symfony/Installer/DownloadCommand.php on line 265 ``` Commits ------- 1110917 Fix Symfony3 is now the latest release
2 parents 3faded1 + 1110917 commit 563a7b8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

β€Žsrc/Symfony/Installer/DownloadCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ protected function isEmptyDirectory($dir)
468468
*/
469469
protected function isSymfony3()
470470
{
471-
return $this->version && '3' === $this->version[0];
471+
return '3' === $this->version[0] || 'latest' === $this->version;
472472
}
473473

474474
private function enableSignalHandler()

0 commit comments

Comments
Β (0)