Suggest https in docs where it makes sense, closes #4056
parent
b056d9ae42
commit
03299ff075
|
@ -90,7 +90,7 @@ To edit the global config.json file:
|
|||
|
||||
To add a repository:
|
||||
|
||||
<comment>%command.full_name% repositories.foo vcs http://bar.com</comment>
|
||||
<comment>%command.full_name% repositories.foo vcs https://bar.com</comment>
|
||||
|
||||
To remove a repository (repo is a short alias for repositories):
|
||||
|
||||
|
@ -433,7 +433,7 @@ EOT
|
|||
}
|
||||
}
|
||||
|
||||
throw new \RuntimeException('You must pass the type and a url. Example: php composer.phar config repositories.foo vcs http://bar.com');
|
||||
throw new \RuntimeException('You must pass the type and a url. Example: php composer.phar config repositories.foo vcs https://bar.com');
|
||||
}
|
||||
|
||||
// handle platform
|
||||
|
|
|
@ -90,7 +90,7 @@ To setup a developer workable version you should create the project using the so
|
|||
controlled code by appending the <info>'--prefer-source'</info> flag.
|
||||
|
||||
To install a package from another repository than the default one you
|
||||
can pass the <info>'--repository-url=http://myrepository.org'</info> flag.
|
||||
can pass the <info>'--repository-url=https://myrepository.org'</info> flag.
|
||||
|
||||
EOT
|
||||
)
|
||||
|
|
|
@ -86,7 +86,7 @@ class ConfigValidator
|
|||
$licenseValidator = new SpdxLicenses();
|
||||
if ('proprietary' !== $manifest['license'] && array() !== $manifest['license'] && !$licenseValidator->validate($manifest['license'])) {
|
||||
$warnings[] = sprintf(
|
||||
'License %s is not a valid SPDX license identifier, see http://www.spdx.org/licenses/ if you use an open license.'
|
||||
'License %s is not a valid SPDX license identifier, see https://spdx.org/licenses/ if you use an open license.'
|
||||
."\nIf the software is closed-source, you may use \"proprietary\" as license.",
|
||||
json_encode($manifest['license'])
|
||||
);
|
||||
|
@ -111,7 +111,7 @@ class ConfigValidator
|
|||
}
|
||||
|
||||
if (!empty($manifest['type']) && $manifest['type'] == 'composer-installer') {
|
||||
$warnings[] = "The package type 'composer-installer' is deprecated. Please distribute your custom installers as plugins from now on. See http://getcomposer.org/doc/articles/plugins.md for plugin documentation.";
|
||||
$warnings[] = "The package type 'composer-installer' is deprecated. Please distribute your custom installers as plugins from now on. See https://getcomposer.org/doc/articles/plugins.md for plugin documentation.";
|
||||
}
|
||||
|
||||
// check for require-dev overrides
|
||||
|
|
Loading…
Reference in New Issue