Skip to content

Commit

Permalink
Fix psr4
Browse files Browse the repository at this point in the history
  • Loading branch information
adhenrique committed Jun 28, 2017
1 parent 21a076c commit 97a5517
Show file tree
Hide file tree
Showing 34 changed files with 62 additions and 63 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ Update your application configuration to register the package in `config/app.php
~~~
'providers' => [
//...
Zoop\src\ZoopServiceProvider::class,
Zoop\ZoopServiceProvider::class,
//...
],
~~~
Expand Down
4 changes: 2 additions & 2 deletions src/Contracts/ZoopBankAccounts.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopBankAccounts{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopBuyers{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopCards{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopChargesCNP{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopSellers{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopSplitTransactions{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopTokens{

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

namespace Zoop\src\Contracts;
namespace Zoop\Contracts;

use Zoop\src\Lib\APIResource;
use Zoop\Lib\APIResource;

interface ZoopTransfers{

Expand Down
2 changes: 1 addition & 1 deletion src/Exceptions/ZoopAuthenticationException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

namespace Zoop\src\Exceptions;
namespace Zoop\Exceptions;

class ZoopAuthenticationException extends \Exception{}
2 changes: 1 addition & 1 deletion src/Exceptions/ZoopException.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

namespace Zoop\src\Exceptions;
namespace Zoop\Exceptions;

class ZoopException extends \Exception {}
2 changes: 1 addition & 1 deletion src/Exceptions/ZoopObjectNotFound.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?php

namespace Zoop\src\Exceptions;
namespace Zoop\Exceptions;

class ZoopObjectNotFound extends \Exception {}
2 changes: 1 addition & 1 deletion src/Facades/ZoopBankAccounts.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopBuyers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopCards.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopChargesCNP.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopSellers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopSplitTransactions.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopTokens.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Facades/ZoopTransfers.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Facades;
namespace Zoop\Facades;

use Illuminate\Support\Facades\Facade;

Expand Down
2 changes: 1 addition & 1 deletion src/Helpers/ZoopHelpers.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
* Time: 17:10
*/

namespace Zoop\src\Helpers;
namespace Zoop\Helpers;


trait ZoopHelpers{
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/APIRequest.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

use Zoop\src\Exceptions\ZoopAuthenticationException;
use Zoop\src\Exceptions\ZoopObjectNotFound;
Expand Down
8 changes: 4 additions & 4 deletions src/Lib/APIResource.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

use Zoop\src\Exceptions\ZoopException;
use Zoop\src\Helpers\ZoopHelpers;
use Zoop\src\ZoopBase;
use Zoop\Exceptions\ZoopException;
use Zoop\Helpers\ZoopHelpers;
use Zoop\ZoopBase;

class APIResource{

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

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopBankAccounts implements \Zoop\src\Contracts\ZoopBankAccounts {
class ZoopBankAccounts implements \Zoop\Contracts\ZoopBankAccounts {

/**
* API Resource
Expand Down
5 changes: 2 additions & 3 deletions src/Lib/ZoopBuyers.php
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

use Zoop\src\ZoopService;

class ZoopBuyers implements \Zoop\src\Contracts\ZoopBuyers {
class ZoopBuyers implements \Zoop\Contracts\ZoopBuyers {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopCards.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopCards implements \Zoop\src\Contracts\ZoopCards {
class ZoopCards implements \Zoop\Contracts\ZoopCards {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopChargesCNP.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopChargesCNP implements \Zoop\src\Contracts\ZoopChargesCNP {
class ZoopChargesCNP implements \Zoop\Contracts\ZoopChargesCNP {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopSellers.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopSellers implements \Zoop\src\Contracts\ZoopSellers {
class ZoopSellers implements \Zoop\Contracts\ZoopSellers {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopSplitTransactions.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopSplitTransactions implements \Zoop\src\Contracts\ZoopSplitTransactions {
class ZoopSplitTransactions implements \Zoop\Contracts\ZoopSplitTransactions {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopTokens.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopTokens implements \Zoop\src\Contracts\ZoopTokens {
class ZoopTokens implements \Zoop\Contracts\ZoopTokens {

/**
* API Resource
Expand Down
4 changes: 2 additions & 2 deletions src/Lib/ZoopTransfers.php
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopTransfers implements \Zoop\src\Contracts\ZoopTransfers {
class ZoopTransfers implements \Zoop\Contracts\ZoopTransfers {

/**
* API Resource
Expand Down
2 changes: 1 addition & 1 deletion src/Lib/ZoopUtilities.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace Zoop\src\Lib;
namespace Zoop\Lib;

class ZoopUtilities{

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

namespace Zoop\src;
namespace Zoop;

class ZoopBase {

Expand Down
20 changes: 10 additions & 10 deletions src/ZoopServiceProvider.php
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
<?php

namespace Zoop\src;
namespace Zoop;

use Illuminate\Support\Facades\Config;
use Illuminate\Support\ServiceProvider;
use Zoop\src\Lib\APIResource;
use Zoop\src\Lib\ZoopBuyers;
use Zoop\src\Lib\ZoopSellers;
use Zoop\src\Lib\ZoopBankAccounts;
use Zoop\src\Lib\ZoopCards;
use Zoop\src\Lib\ZoopChargesCNP;
use Zoop\src\Lib\ZoopSplitTransactions;
use Zoop\src\Lib\ZoopTokens;
use Zoop\src\Lib\ZoopTransfers;
use Zoop\Lib\APIResource;
use Zoop\Lib\ZoopBuyers;
use Zoop\Lib\ZoopSellers;
use Zoop\Lib\ZoopBankAccounts;
use Zoop\Lib\ZoopCards;
use Zoop\Lib\ZoopChargesCNP;
use Zoop\Lib\ZoopSplitTransactions;
use Zoop\Lib\ZoopTokens;
use Zoop\Lib\ZoopTransfers;

class ZoopServiceProvider extends ServiceProvider {

Expand Down

0 comments on commit 97a5517

Please sign in to comment.