Skip to content

Commit

Permalink
Future proofing namespace
Browse files Browse the repository at this point in the history
Updating requirements
  • Loading branch information
HemeraOne committed Feb 6, 2019
1 parent 7d25d53 commit 96da10a
Show file tree
Hide file tree
Showing 10 changed files with 18 additions and 18 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Requirements
====
- PHP >= 7.0
- PHP >= 7.2
- [php guzzle/guzzle](https://github.com/guzzle/guzzle)

Installation
Expand All @@ -23,10 +23,10 @@ How to use:
====
```php
<?php
use SqueezelyRabbitMQManagement\Configuration\AbstractConfiguration;
use SqueezelyRabbitMQManagement\Configuration\ArrayConfiguration;
use SqueezelyRabbitMQManagement\Vhost\VhostService;
use SqueezelyRabbitMQManagement\Cluster\ClusterService;
use Squeezely\RabbitMQ\Management\Configuration\AbstractConfiguration;
use Squeezely\RabbitMQ\Management\Configuration\ArrayConfiguration;
use Squeezely\RabbitMQ\Management\Vhost\VhostService;
use Squeezely\RabbitMQ\Management\Cluster\ClusterService;


$config = new AbstractConfiguration('my.host.com', 15672, 'http', 'user', 'password');
Expand Down
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"autoload": {
"psr-4" : {
"SquuezelyRabbitMQManagement\\": "src"
"Squeezely\\RabbitMQ\\Management\\": "src"
}
},
"license": "MIT",
Expand Down
6 changes: 3 additions & 3 deletions src/Client.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php


namespace SqueezelyRabbitMQManagement;
namespace Squeezely\RabbitMQ\Management;


use GuzzleHttp\Client as HttpClient;
use SqueezelyRabbitMQManagement\Configuration\ConfigurationInterface;
use SqueezelyRabbitMQManagement\Configuration\DotEnvConfiguration;
use Squeezely\RabbitMQ\Management\Configuration\ConfigurationInterface;
use Squeezely\RabbitMQ\Management\Configuration\DotEnvConfiguration;

class Client {

Expand Down
4 changes: 2 additions & 2 deletions src/Cluster/ClusterService.php
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
<?php


namespace SqueezelyRabbitMQManagement\Cluster;
namespace Squeezely\RabbitMQ\Management\Cluster;

use SqueezelyRabbitMQManagement\Client;
use Squeezely\RabbitMQ\Management\Client;

class ClusterService extends Client {
/**
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/AbstractConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace SqueezelyRabbitMQManagement\Configuration;
namespace Squeezely\RabbitMQ\Management\Configuration;


class AbstractConfiguration implements ConfigurationInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/ArrayConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace SqueezelyRabbitMQManagement\Configuration;
namespace Squeezely\RabbitMQ\Management\Configuration;


class ArrayConfiguration extends AbstractConfiguration {
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/ConfigurationInterface.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace SqueezelyRabbitMQManagement\Configuration;
namespace Squeezely\RabbitMQ\Management\Configuration;


interface ConfigurationInterface {
Expand Down
2 changes: 1 addition & 1 deletion src/Configuration/DotEnvConfiguration.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace SqueezelyRabbitMQManagement\Configuration;
namespace Squeezely\RabbitMQ\Management\Configuration;


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


namespace SqueezelyRabbitMQManagement\Vhost;
namespace Squeezely\RabbitMQ\Management\Vhost;

class Vhost {

Expand Down
4 changes: 2 additions & 2 deletions src/Vhost/VhostService.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php


namespace SqueezelyRabbitMQManagement\Vhost;
namespace Squeezely\RabbitMQ\Management\Vhost;


use GuzzleHttp\Exception\GuzzleException;
use GuzzleHttp\Psr7\Response;
use SqueezelyRabbitMQManagement\Client;
use Squeezely\RabbitMQ\Management\Client;

class VhostService extends Client {

Expand Down

0 comments on commit 96da10a

Please sign in to comment.