Skip to content

Commit

Permalink
Updated the namespace to Acme
Browse files Browse the repository at this point in the history
  • Loading branch information
peterbakker committed Feb 13, 2020
1 parent 5a35b6a commit 4c7b6b8
Show file tree
Hide file tree
Showing 11 changed files with 26 additions and 21 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
6 changes: 4 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": "*"
}
}
7 changes: 5 additions & 2 deletions composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions src/Client.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php

namespace Afosto\LetsEncrypt;
namespace Afosto\Acme;

use Afosto\LetsEncrypt\Data\Account;
use Afosto\LetsEncrypt\Data\Authorization;
use Afosto\LetsEncrypt\Data\Certificate;
use Afosto\LetsEncrypt\Data\Challenge;
use Afosto\LetsEncrypt\Data\Order;
use Afosto\Acme\Data\Account;
use Afosto\Acme\Data\Authorization;
use Afosto\Acme\Data\Certificate;
use Afosto\Acme\Data\Challenge;
use Afosto\Acme\Data\Order;
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Exception\ClientException;
use League\Flysystem\Filesystem;
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Account.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

class Account
{
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Authorization.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

use Afosto\LetsEncrypt\Client;
use Afosto\Acme\Client;

class Authorization
{
Expand Down
4 changes: 2 additions & 2 deletions src/Data/Certificate.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

use Afosto\LetsEncrypt\Helper;
use Afosto\Acme\Helper;

class Certificate
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Challenge.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

class Challenge
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/File.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

class File
{
Expand Down
2 changes: 1 addition & 1 deletion src/Data/Order.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace Afosto\LetsEncrypt\Data;
namespace Afosto\Acme\Data;

class Order
{
Expand Down
4 changes: 2 additions & 2 deletions src/Helper.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Afosto\LetsEncrypt;
namespace Afosto\Acme;

use Afosto\LetsEncrypt\Data\Authorization;
use Afosto\Acme\Data\Authorization;
use GuzzleHttp\Client as HttpClient;
use GuzzleHttp\Exception\ClientException;

Expand Down

0 comments on commit 4c7b6b8

Please sign in to comment.