Skip to content

Commit 2595890

Browse files
committed
Added "Adoy" namespace to resolve conflicts with other Composer packages
1 parent 2f28fc7 commit 2595890

File tree

6 files changed

+15
-15
lines changed

6 files changed

+15
-15
lines changed

src/OAuth2/Client.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
* @author Anis Berejeb <anis.berejeb@gmail.com>
2525
* @version 1.3.1
2626
*/
27-
namespace OAuth2;
27+
namespace Adoy\OAuth2;
2828

2929
class Client
3030
{

src/OAuth2/GrantType/AuthorizationCode.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace OAuth2\GrantType;
2+
namespace Adoy\OAuth2\GrantType;
33

4-
use OAuth2\InvalidArgumentException;
4+
use Adoy\OAuth2\InvalidArgumentException;
55

66
/**
77
* Authorization code Grant Type Validator

src/OAuth2/GrantType/ClientCredentials.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
<?php
2-
namespace OAuth2\GrantType;
2+
namespace Adoy\OAuth2\GrantType;
33

44
/**
5-
* Client Credentials Parameters
5+
* Client Credentials Parameters
66
*/
77
class ClientCredentials implements IGrantType
88
{
99
/**
1010
* Defines the Grant Type
11-
*
12-
* @var string Defaults to 'client_credentials'.
11+
*
12+
* @var string Defaults to 'client_credentials'.
1313
*/
1414
const GRANT_TYPE = 'client_credentials';
1515

1616
/**
1717
* Adds a specific Handling of the parameters
18-
*
18+
*
1919
* @return array of Specific parameters to be sent.
2020
* @param mixed $parameters the parameters array (passed by reference)
2121
*/

src/OAuth2/GrantType/IGrantType.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<?php
2-
namespace OAuth2\GrantType;
2+
namespace Adoy\OAuth2\GrantType;
33
/**
44
* Specific GrantType Interface
55
*/
6-
interface IGrantType
6+
interface IGrantType
77
{
88
/**
99
* Adds a specific Handling of the parameters
10-
*
10+
*
1111
* @return array of Specific parameters to be sent.
1212
* @param mixed $parameters the parameters array (passed by reference)
1313
*/

src/OAuth2/GrantType/Password.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace OAuth2\GrantType;
2+
namespace Adoy\OAuth2\GrantType;
33

4-
use OAuth2\InvalidArgumentException;
4+
use Adoy\OAuth2\InvalidArgumentException;
55

66
/**
77
* Password Parameters

src/OAuth2/GrantType/RefreshToken.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<?php
2-
namespace OAuth2\GrantType;
2+
namespace Adoy\OAuth2\GrantType;
33

4-
use OAuth2\InvalidArgumentException;
4+
use Adoy\OAuth2\InvalidArgumentException;
55

66
/**
77
* Refresh Token Parameters

0 commit comments

Comments
 (0)