diff --git a/README.md b/README.md index a61517175..c52b01a8c 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ solution. ### Documentation -Read the official [Gaufrette documentation](http://knplabs.github.io/Gaufrette/). +Read the official [Gaufrette documentation](https://knplabs.github.io/Gaufrette/). ### Metapackages for adapters diff --git a/composer.json b/composer.json index dbe5941a8..d8b372c92 100644 --- a/composer.json +++ b/composer.json @@ -3,16 +3,16 @@ "type": "library", "description": "PHP library that provides a filesystem abstraction layer", "keywords": ["file", "filesystem", "media", "abstraction"], - "homepage": "http://knplabs.com", + "homepage": "https://knplabs.com", "license": "MIT", "authors": [ { "name": "KnpLabs Team", - "homepage": "http://knplabs.com" + "homepage": "https://knplabs.com" }, { "name": "The contributors", - "homepage": "http://github.com/knplabs/Gaufrette/contributors" + "homepage": "https://github.com/knplabs/Gaufrette/contributors" } ], "require": { diff --git a/doc/adapters/aws-s3.md b/doc/adapters/aws-s3.md index b57145ed3..e8bc1b02d 100644 --- a/doc/adapters/aws-s3.md +++ b/doc/adapters/aws-s3.md @@ -48,8 +48,8 @@ $filesystem = new Filesystem($adapter); ## IAM policy If you are not familiar with AWS, here are the key concepts: -* [IAM, stands for *Identity and Access Management*](http://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html) -* [IAM policies, are the way to grant access to your IAM users/groups](http://docs.aws.amazon.com/IAM/latest/UserGuide/introduction_access-management.html) +* [IAM, stands for *Identity and Access Management*](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction.html) +* [IAM policies, are the way to grant access to your IAM users/groups](https://docs.aws.amazon.com/IAM/latest/UserGuide/introduction_access-management.html) We **strongly recommend** you to create a dedicated IAM user with the most restrictive policy. diff --git a/doc/adapters/doctrine-dbal.md b/doc/adapters/doctrine-dbal.md index e629ec6df..6e99459c4 100644 --- a/doc/adapters/doctrine-dbal.md +++ b/doc/adapters/doctrine-dbal.md @@ -21,7 +21,7 @@ In order to use the adapter, you will need to prepare the table with the followi ## Example `Doctrine` adapter takes three arguments: - * the first, mandatory, is a prepared DBAL connection (you can read more about it in [the DBAL docs](http://doctrine-orm.readthedocs.org/projects/doctrine-dbal/en/latest/reference/configuration.html)) + * the first, mandatory, is a prepared DBAL connection (you can read more about it in [the DBAL docs](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/reference/configuration.html)) * the second, mandatory, is a table name where the files will be stored * the third one is optional array of columns, which allows you to override the default column names diff --git a/doc/adapters/flysystem.md b/doc/adapters/flysystem.md index 23fec8bec..b4e0e51a7 100644 --- a/doc/adapters/flysystem.md +++ b/doc/adapters/flysystem.md @@ -9,7 +9,7 @@ First, you will need to install the adapter: composer require gaufrette/flysystem-adapter ``` -Folks from [thephpleague](http://thephpleague.com/) have built extraordinary [Flysystem](https://github.com/thephpleague/flysystem) package which does exactly the same thing as Gaufrette, but with slightly different API. +Folks from [thephpleague](https://thephpleague.com/) have built extraordinary [Flysystem](https://github.com/thephpleague/flysystem) package which does exactly the same thing as Gaufrette, but with slightly different API. We wanted to make Gaufrette compatible with as many systems as possible, and didn't want to reinvent the wheel. So we built a Flysystem adapter. diff --git a/doc/adapters/grid-fs.md b/doc/adapters/grid-fs.md index 68dae7d89..a7b5c9e35 100644 --- a/doc/adapters/grid-fs.md +++ b/doc/adapters/grid-fs.md @@ -6,7 +6,7 @@ currentMenu: grid-fs ## Prerequisites -In order to use GridFS adapter, you should have accesible MongoDB instance, [MongoDB PHP driver](http://docs.php.net/manual/en/book.mongodb.php) and +In order to use GridFS adapter, you should have accesible MongoDB instance, [MongoDB PHP driver](https://www.php.net/manual/en/book.mongodb.php) and the [`mongodb/mongodb`](https://docs.mongodb.com/php-library/master/) library installed. First can install the MongoDB extension with: diff --git a/doc/adapters/sftp.md b/doc/adapters/sftp.md index 6d716cee8..48540ef47 100644 --- a/doc/adapters/sftp.md +++ b/doc/adapters/sftp.md @@ -15,7 +15,7 @@ the [`PhpseclibSftp`](phpseclib-sftp.html) adapter is based on a full-php ssh cl ## Prerequisites * [PHP-SSH](https://github.com/Herzult/php-ssh) -* [SSH2 extension](http://www.php.net/manual/en/book.ssh2.php) +* [SSH2 extension](https://www.php.net/manual/en/book.ssh2.php) You can install it via: diff --git a/doc/implementing-new-adapter.md b/doc/implementing-new-adapter.md index db0d4754b..2b8111d2a 100644 --- a/doc/implementing-new-adapter.md +++ b/doc/implementing-new-adapter.md @@ -44,7 +44,7 @@ To get the benefits of PHPSpec code generator we run: $ ./bin/phpspec run spec/Gaufrette/Adapter/KnpStorageSpec.php ``` -You can continue to play with PHPSpec, read more on [PHPSpec website](http://phpspec.readthedocs.org/en/latest/). +You can continue to play with PHPSpec, read more on [PHPSpec website](https://phpspec.readthedocs.org/en/latest/). ## Implementing adapter interface diff --git a/doc/website/README.md b/doc/website/README.md index d98582001..fb8d31387 100644 --- a/doc/website/README.md +++ b/doc/website/README.md @@ -20,7 +20,7 @@ Here are all the variables you can set in your `couscous.yml`: ```yaml # Base URL of the published website -baseUrl: http://username.github.io/project +baseUrl: https://username.github.io/project # Used to link to the GitHub project github: diff --git a/src/Gaufrette/Filesystem.php b/src/Gaufrette/Filesystem.php index e08d1921d..2fcc224d2 100644 --- a/src/Gaufrette/Filesystem.php +++ b/src/Gaufrette/Filesystem.php @@ -280,7 +280,7 @@ public function mimeType($key) * Checks if matching file by given key exists in the filesystem. * * Key must be non empty string, otherwise it will throw Exception\FileNotFound - * {@see http://php.net/manual/en/function.empty.php} + * {@see https://php.net/manual/en/function.empty.php} * * @param string $key * diff --git a/src/Gaufrette/Util/Path.php b/src/Gaufrette/Util/Path.php index 4dec5c50a..002c165cc 100644 --- a/src/Gaufrette/Util/Path.php +++ b/src/Gaufrette/Util/Path.php @@ -81,7 +81,7 @@ public static function getAbsolutePrefix($path) * * @return string * - * @see http://php.net/manual/en/function.dirname.php + * @see https://php.net/manual/en/function.dirname.php */ public static function dirname($path) {