From 58a62dceab4d85653334a43bf589d8965883245a Mon Sep 17 00:00:00 2001 From: Martin Hujer Date: Fri, 29 Dec 2017 11:33:19 +0100 Subject: [PATCH] Change http to https where possible --- doc/00-intro.md | 4 ++-- doc/01-basic-usage.md | 2 +- doc/03-cli.md | 2 +- doc/04-schema.md | 4 ++-- doc/05-repositories.md | 4 ++-- doc/articles/handling-private-packages-with-satis.md | 2 +- doc/articles/plugins.md | 2 +- doc/articles/versions.md | 2 +- doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md | 2 +- 9 files changed, 12 insertions(+), 12 deletions(-) diff --git a/doc/00-intro.md b/doc/00-intro.md index 0399ae51a..efc5c4c00 100644 --- a/doc/00-intro.md +++ b/doc/00-intro.md @@ -14,7 +14,7 @@ manager. It does however support a "global" project for convenience via the [global](03-cli.md#global) command. This idea is not new and Composer is strongly inspired by node's -[npm](https://npmjs.org/) and ruby's [bundler](http://bundler.io/). +[npm](https://npmjs.org/) and ruby's [bundler](https://bundler.io/). Suppose: @@ -135,7 +135,7 @@ C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat Add the directory to your PATH environment variable if it isn't already. For information on changing your PATH variable, please see -[this article](http://www.computerhope.com/issues/ch000549.htm) and/or +[this article](https://www.computerhope.com/issues/ch000549.htm) and/or use Google. Close your current terminal. Test usage with a new terminal: diff --git a/doc/01-basic-usage.md b/doc/01-basic-usage.md index de5c85f43..8740c59db 100644 --- a/doc/01-basic-usage.md +++ b/doc/01-basic-usage.md @@ -56,7 +56,7 @@ you to require certain versions of server software. See ### Package Version Constraints In our example, we are requesting the Monolog package with the version constraint -[`1.0.*`](http://semver.mwl.be/#?package=monolog%2Fmonolog&version=1.0.*). +[`1.0.*`](https://semver.mwl.be/#?package=monolog%2Fmonolog&version=1.0.*). This means any version in the `1.0` development branch, or any version that is greater than or equal to 1.0 and less than 1.1 (`>=1.0 <1.1`). diff --git a/doc/03-cli.md b/doc/03-cli.md index 3d279242f..e0b60da30 100644 --- a/doc/03-cli.md +++ b/doc/03-cli.md @@ -854,7 +854,7 @@ all projects. By default it points to `C:\Users\\AppData\Roaming\Composer` on Windows and `/Users//.composer` on OSX. On *nix systems that follow the [XDG Base -Directory Specifications](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html), +Directory Specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html), it points to `$XDG_CONFIG_HOME/composer`. On other *nix systems, it points to `/home//.composer`. diff --git a/doc/04-schema.md b/doc/04-schema.md index 0f01f684d..8e9b55e49 100644 --- a/doc/04-schema.md +++ b/doc/04-schema.md @@ -214,7 +214,7 @@ An example: { "name": "Jordi Boggiano", "email": "j.boggiano@seld.be", - "homepage": "http://seld.be", + "homepage": "https://seld.be", "role": "Developer" } ] @@ -768,7 +768,7 @@ Example: "name": "smarty/smarty", "version": "3.1.7", "dist": { - "url": "http://www.smarty.net/files/Smarty-3.1.7.zip", + "url": "https://www.smarty.net/files/Smarty-3.1.7.zip", "type": "zip" }, "source": { diff --git a/doc/05-repositories.md b/doc/05-repositories.md index 1aaadf4c8..39a1a490b 100644 --- a/doc/05-repositories.md +++ b/doc/05-repositories.md @@ -93,7 +93,7 @@ Here is a minimal package definition: "name": "smarty/smarty", "version": "3.1.7", "dist": { - "url": "http://www.smarty.net/files/Smarty-3.1.7.zip", + "url": "https://www.smarty.net/files/Smarty-3.1.7.zip", "type": "zip" } } @@ -488,7 +488,7 @@ Here is an example for the smarty template engine: "name": "smarty/smarty", "version": "3.1.7", "dist": { - "url": "http://www.smarty.net/files/Smarty-3.1.7.zip", + "url": "https://www.smarty.net/files/Smarty-3.1.7.zip", "type": "zip" }, "source": { diff --git a/doc/articles/handling-private-packages-with-satis.md b/doc/articles/handling-private-packages-with-satis.md index 7307c02bf..c875edbc4 100644 --- a/doc/articles/handling-private-packages-with-satis.md +++ b/doc/articles/handling-private-packages-with-satis.md @@ -339,6 +339,6 @@ is set to true. [ssh2 context options]: https://secure.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options [ssl context options]: https://secure.php.net/manual/en/context.ssl.php -[Twig]: http://twig.sensiolabs.org/ +[Twig]: https://twig.sensiolabs.org/ [config schema]: https://getcomposer.org/doc/04-schema.md#config [notify-batch]: https://getcomposer.org/doc/05-repositories.md#notify-batch diff --git a/doc/articles/plugins.md b/doc/articles/plugins.md index 83f9994c8..ab54015c9 100644 --- a/doc/articles/plugins.md +++ b/doc/articles/plugins.md @@ -282,4 +282,4 @@ local project plugins are loaded. [7]: ../01-basic-usage.md#package-versions [8]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capable.php [9]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capability/CommandProvider.php -[10]: http://symfony.com/doc/current/components/console/introduction.html +[10]: https://symfony.com/doc/current/components/console.html diff --git a/doc/articles/versions.md b/doc/articles/versions.md index 5cf02f940..7ed725d7f 100644 --- a/doc/articles/versions.md +++ b/doc/articles/versions.md @@ -140,7 +140,7 @@ Example: `1.0.*` The `~` operator is best explained by example: `~1.2` is equivalent to `>=1.2 <2.0.0`, while `~1.2.3` is equivalent to `>=1.2.3 <1.3.0`. As you can see it is mostly useful for projects respecting [semantic -versioning](http://semver.org/). A common usage would be to mark the minimum +versioning](https://semver.org/). A common usage would be to mark the minimum minor version you depend on, like `~1.2` (which allows anything up to, but not including, 2.0). Since in theory there should be no backwards compatibility breaks until 2.0, that works well. Another way of looking at it is that using diff --git a/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md b/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md index 015ac92da..9aef970f9 100644 --- a/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md +++ b/doc/faqs/why-are-unbound-version-constraints-a-bad-idea.md @@ -14,7 +14,7 @@ compatible with the new major version of your dependency. For example instead of using `>=3.4` you should use `~3.4` which allows all versions up to `3.999` but does not include `4.0` and above. The `^` operator -works very well with libraries following [semantic versioning](http://semver.org). +works very well with libraries following [semantic versioning](https://semver.org). **Note:** As a package maintainer, you can make the life of your users easier by providing an [alias version](../articles/aliases.md) for your development