diff --git a/README.md b/README.md
index 4f8a474..8046077 100644
--- a/README.md
+++ b/README.md
@@ -12,14 +12,14 @@ This step is only needed the first time you use the installer:
### Linux and Mac OS X
```bash
-$ sudo curl -LsS http://symfony.com/installer -o /usr/local/bin/symfony
+$ sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
```
### Windows
```bash
-c:\> php -r "readfile('http://symfony.com/installer');" > symfony
+c:\> php -r "readfile('https://symfony.com/installer');" > symfony
```
Move the downloaded `symfony` file to your projects directory and execute
diff --git a/src/Symfony/Installer/DemoCommand.php b/src/Symfony/Installer/DemoCommand.php
index c547317..5d95911 100644
--- a/src/Symfony/Installer/DemoCommand.php
+++ b/src/Symfony/Installer/DemoCommand.php
@@ -129,6 +129,6 @@ protected function getDownloadedApplicationType()
protected function getRemoteFileUrl()
{
- return 'http://symfony.com/download?v=Symfony_Demo';
+ return 'https://symfony.com/download?v=Symfony_Demo';
}
}
diff --git a/src/Symfony/Installer/NewCommand.php b/src/Symfony/Installer/NewCommand.php
index 39e7101..96c2d5a 100644
--- a/src/Symfony/Installer/NewCommand.php
+++ b/src/Symfony/Installer/NewCommand.php
@@ -131,7 +131,7 @@ protected function checkSymfonyVersionIsInstallable()
// Check if we have a minor version in order to retrieve the last patch from symfony.com
$client = $this->getGuzzleClient();
- $versionsList = $client->get('http://symfony.com/versions.json')->json();
+ $versionsList = $client->get('https://symfony.com/versions.json')->json();
if ($versionsList && isset($versionsList[$this->version])) {
// Get the latest patch of the minor version the user asked
@@ -253,7 +253,7 @@ protected function displayInstallationResult()
" * Run your application:\n".
" 1. Execute the php app/console server:run command.\n".
" 2. Browse to the http://localhost:8000 URL.\n\n".
- " * Read the documentation at http://symfony.com/doc\n",
+ " * Read the documentation at https://symfony.com/doc\n",
$this->projectDir
));
@@ -400,6 +400,6 @@ protected function getDownloadedApplicationType()
protected function getRemoteFileUrl()
{
- return 'http://symfony.com/download?v=Symfony_Standard_Vendors_'.$this->version;
+ return 'https://symfony.com/download?v=Symfony_Standard_Vendors_'.$this->version;
}
}
diff --git a/src/Symfony/Installer/SelfUpdateCommand.php b/src/Symfony/Installer/SelfUpdateCommand.php
index 921e8c6..31a1bc6 100644
--- a/src/Symfony/Installer/SelfUpdateCommand.php
+++ b/src/Symfony/Installer/SelfUpdateCommand.php
@@ -75,7 +75,7 @@ protected function initialize(InputInterface $input, OutputInterface $output)
$this->fs = new Filesystem();
$this->output = $output;
- $this->remoteInstallerFile = 'http://symfony.com/installer';
+ $this->remoteInstallerFile = 'https://symfony.com/installer';
$this->currentInstallerFile = realpath($_SERVER['argv'][0]) ?: $_SERVER['argv'][0];
$this->tempDir = sys_get_temp_dir();
$this->currentInstallerBackupFile = basename($this->currentInstallerFile, '.phar').'-backup.phar';
@@ -122,7 +122,7 @@ private function installerIsUpdated()
$isUpdated = false;
$localVersion = $this->getApplication()->getVersion();
- if (false === $remoteVersion = @file_get_contents('http://get.sensiolabs.org/symfony.version')) {
+ if (false === $remoteVersion = @file_get_contents('https://get.sensiolabs.org/symfony.version')) {
throw new \RuntimeException('The new version of the Symfony Installer couldn\'t be downloaded from the server.');
}