From 50e52c5bf5a7a178377ca7a3e5a5c962c6d997a7 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 26 May 2023 16:37:10 +0200 Subject: [PATCH 1/3] Replace *retreived* with *retrieved* in `README.md` Signed-off-by: Benjamin Loison --- README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e7ac80a..a0e1575 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ Install this wrapper and integrate it inside your PHP application with [Composer require __DIR__ . '/vendor/autoload.php'; use \Ovh\Api; -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint, @@ -71,7 +71,7 @@ $client = new Client(); $client->setDefaultOption('timeout', 1); $client->setDefaultOption('headers', ['User-Agent' => 'api_client']); -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. // Inject the custom HTTP client as the 5th argument of the constructor $ovh = new Api($applicationKey, $applicationSecret, @@ -94,7 +94,7 @@ See "OVHcloud API authentication" section below for more information about the a use \Ovh\Api; session_start(); -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint); @@ -124,7 +124,7 @@ Here is a more complex example of how to use the wrapper to enable network burst require __DIR__ . '/vendor/autoload.php'; use \Ovh\Api; -// Api credentials can be retreived from the urls specified in the "Supported endpoints" section below. +// Api credentials can be retrieved from the urls specified in the "Supported endpoints" section below. $ovh = new Api($applicationKey, $applicationSecret, $endpoint, From 1fd1db27d141094846625741114391529a2709fa Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 26 May 2023 16:38:57 +0200 Subject: [PATCH 2/3] Add a missing dot in `CONTRIBUTING.rst` Signed-off-by: Benjamin Loison --- CONTRIBUTING.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CONTRIBUTING.rst b/CONTRIBUTING.rst index f3a58f9..e58c79f 100644 --- a/CONTRIBUTING.rst +++ b/CONTRIBUTING.rst @@ -32,7 +32,7 @@ It can be accessed online too: https://www.kernel.org/doc/Documentation/SubmittingPatches -You can submit your patches via GitHub +You can submit your patches via GitHub. Licensing for new files: ------------------------ From d78cbd3718e86a9f6e441c527b17c49768859c90 Mon Sep 17 00:00:00 2001 From: Benjamin Loison Date: Fri, 26 May 2023 17:56:21 +0200 Subject: [PATCH 3/3] Remove incorrect space before two dots in `README.md` Signed-off-by: Benjamin Loison --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index a0e1575..32c309d 100644 --- a/README.md +++ b/README.md @@ -15,7 +15,7 @@ Compatible with PHP 7.4, 8.0, 8.1, 8.2. ## Installation -Install this wrapper and integrate it inside your PHP application with [Composer](https://getcomposer.org) : +Install this wrapper and integrate it inside your PHP application with [Composer](https://getcomposer.org): composer require ovh/ovh @@ -115,7 +115,7 @@ header('location: '. $credentials['validationUrl']); // After successful redirect, the consumerKey in the session will be activated and you will be able to use it to make API requests like in the "Basic usage" section above. ``` -### Code sample : Enable network burst on GRA1 dedicated servers +### Code sample: Enable network burst on GRA1 dedicated servers Here is a more complex example of how to use the wrapper to enable network burst on GRA1 dedicated servers. @@ -151,7 +151,7 @@ Do you want to use OVH APIs? Maybe the script you want is already written in the ## OVHcloud API authentication -To use the OVHcloud APIs you need three credentials : +To use the OVHcloud APIs you need three credentials: * An application key * An application secret