From 4c7b6b8e6055fe1e772d8e73db5f3e715165bdb2 Mon Sep 17 00:00:00 2001 From: peterbakker Date: Thu, 13 Feb 2020 09:04:16 +0100 Subject: [PATCH] Updated the namespace to Acme --- README.md | 2 +- composer.json | 6 ++++-- composer.lock | 7 +++++-- src/Client.php | 12 ++++++------ src/Data/Account.php | 2 +- src/Data/Authorization.php | 4 ++-- src/Data/Certificate.php | 4 ++-- src/Data/Challenge.php | 2 +- src/Data/File.php | 2 +- src/Data/Order.php | 2 +- src/Helper.php | 4 ++-- 11 files changed, 26 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index baea542..75f9e4d 100644 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ decide whether you want to issue `Fake LE Intermediate X1` (staging: `MODE_STAGI ```php use League\Flysystem\Filesystem; use League\Flysystem\Adapter\Local; -use Afosto\LetsEncrypt\Client; +use Afosto\Acme\Client; //Prepare flysystem $adapter = new Local('data'); diff --git a/composer.json b/composer.json index f5bc176..c1d097d 100644 --- a/composer.json +++ b/composer.json @@ -20,11 +20,13 @@ ], "autoload": { "psr-4": { - "Afosto\\LetsEncrypt\\": "./src" + "Afosto\\Acme\\": "./src" } }, "require": { "guzzlehttp/guzzle": "^6.3", - "league/flysystem": "^1.0" + "league/flysystem": "^1.0", + "ext-openssl": "*", + "ext-json": "*" } } diff --git a/composer.lock b/composer.lock index dc7c56f..1c7a981 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "11a6068373f0fe8d54154f4905027ef6", + "content-hash": "9907ae85a5df2a96cb9a3c7b542c37c2", "packages": [ { "name": "guzzlehttp/guzzle", @@ -376,6 +376,9 @@ "stability-flags": [], "prefer-stable": false, "prefer-lowest": false, - "platform": [], + "platform": { + "ext-openssl": "*", + "ext-json": "*" + }, "platform-dev": [] } diff --git a/src/Client.php b/src/Client.php index 550d4bc..5ca07ad 100644 --- a/src/Client.php +++ b/src/Client.php @@ -1,12 +1,12 @@