Skip to content

Commit

Permalink
Update namespace
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonardoRRC authored Jun 22, 2024
1 parent a3801c7 commit 1c1a920
Show file tree
Hide file tree
Showing 13 changed files with 31 additions and 29 deletions.
2 changes: 1 addition & 1 deletion src/Exception/NuVotifierException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception;
namespace LeonardoRRC\VotifierClient\Exception;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/NuVotifierSignatureInvalidException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception;
namespace LeonardoRRC\VotifierClient\Exception;

/**
* Class NuVotifierSignatureInvalidException
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/NuVotifierUnknownServiceException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception;
namespace LeonardoRRC\VotifierClient\Exception;

/**
* Class NuVotifierUnknownServiceException
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/NuVotifierUsernameTooLongException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception;
namespace LeonardoRRC\VotifierClient\Exception;

/**
* Class NuVotifierUsernameTooLongException
Expand Down
2 changes: 1 addition & 1 deletion src/Exception/Socket/NoConnectionException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception\Socket;
namespace LeonardoRRC\VotifierClient\Exception\Socket;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/Socket/PackageNotReceivedException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception\Socket;
namespace LeonardoRRC\VotifierClient\Exception\Socket;

use Exception;

Expand Down
2 changes: 1 addition & 1 deletion src/Exception/Socket/PackageNotSentException.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Exception\Socket;
namespace LeonardoRRC\VotifierClient\Exception\Socket;

use Exception;

Expand Down
4 changes: 2 additions & 2 deletions src/Server/GenericServer.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Server;
namespace LeonardoRRC\VotifierClient\Server;

use D3strukt0r\Votifier\Client\Socket;
use LeonardoRRC\VotifierClient\Socket;

/**
* An abstract class that has all the important functions included for every server.
Expand Down
19 changes: 10 additions & 9 deletions src/Server/NuVotifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,16 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Server;

use D3strukt0r\Votifier\Client\Exception\NotVotifierException;
use D3strukt0r\Votifier\Client\Exception\NuVotifierChallengeInvalidException;
use D3strukt0r\Votifier\Client\Exception\NuVotifierException;
use D3strukt0r\Votifier\Client\Exception\NuVotifierSignatureInvalidException;
use D3strukt0r\Votifier\Client\Exception\NuVotifierUnknownServiceException;
use D3strukt0r\Votifier\Client\Exception\NuVotifierUsernameTooLongException;
use D3strukt0r\Votifier\Client\Vote\VoteInterface;
namespace LeonardoRRC\VotifierClient\Server;

use LeonardoRRC\VotifierClient\Exception\NotVotifierException;
use LeonardoRRC\VotifierClient\Exception\NuVotifierChallengeInvalidException;
use LeonardoRRC\VotifierClient\Exception\NuVotifierException;
use LeonardoRRC\VotifierClient\Exception\NuVotifierSignatureInvalidException;
use LeonardoRRC\VotifierClient\Exception\NuVotifierUnknownServiceException;
use LeonardoRRC\VotifierClient\Exception\NuVotifierUsernameTooLongException;
use LeonardoRRC\VotifierClient\Vote\VoteInterface;

use DateTime;
use InvalidArgumentException;

Expand Down
13 changes: 7 additions & 6 deletions src/Server/ServerInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,14 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Server;
namespace LeonardoRRC\VotifierClient\Server;

use LeonardoRRC\VotifierClient\Exception\NotVotifierException;
use LeonardoRRC\VotifierClient\Exception\Socket\NoConnectionException;
use LeonardoRRC\VotifierClient\Exception\Socket\PackageNotReceivedException;
use LeonardoRRC\VotifierClient\Exception\Socket\PackageNotSentException;
use LeonardoRRC\VotifierClient\Vote\VoteInterface;

use D3strukt0r\Votifier\Client\Exception\NotVotifierException;
use D3strukt0r\Votifier\Client\Exception\Socket\NoConnectionException;
use D3strukt0r\Votifier\Client\Exception\Socket\PackageNotReceivedException;
use D3strukt0r\Votifier\Client\Exception\Socket\PackageNotSentException;
use D3strukt0r\Votifier\Client\Vote\VoteInterface;
use InvalidArgumentException;

/**
Expand Down
6 changes: 3 additions & 3 deletions src/Server/Votifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Server;
namespace LeonardoRRC\VotifierClient\Server;

use D3strukt0r\Votifier\Client\Exception\NotVotifierException;
use D3strukt0r\Votifier\Client\Vote\VoteInterface;
use LeonardoRRC\VotifierClient\Exception\NotVotifierException;
use LeonardoRRC\VotifierClient\Vote\VoteInterface;
use DateTime;
use InvalidArgumentException;

Expand Down
2 changes: 1 addition & 1 deletion src/Vote/ClassicVote.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Vote;
namespace LeonardoRRC\VotifierClient\Vote;

use DateTime;

Expand Down
2 changes: 1 addition & 1 deletion src/Vote/VoteInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* @link https://github.com/D3strukt0r/votifier-client-php
*/

namespace D3strukt0r\Votifier\Client\Vote;
namespace LeonardoRRC\VotifierClient\Vote;

use DateTime;

Expand Down

0 comments on commit 1c1a920

Please sign in to comment.