Skip to content

Commit

Permalink
chore: rename
Browse files Browse the repository at this point in the history
  • Loading branch information
ging-dev committed Oct 10, 2024
1 parent 7295ac8 commit 9e3e013
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
4 changes: 2 additions & 2 deletions phpstan-baseline.neon
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
parameters:
ignoreErrors:
-
message: "#^Property IPay\\\\Builder\\\\TransactionBuilder\\:\\:\\$resolver is never written, only read\\.$#"
message: "#^Property IPay\\\\Builders\\\\TransactionBuilder\\:\\:\\$resolver is never written, only read\\.$#"
count: 1
path: src/Builder/TransactionBuilder.php
path: src/Builders/TransactionBuilder.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IPay\Builder;
namespace IPay\Builders;

use IPay\Encryption\Encrypter;
use Nette\Utils\Json;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IPay\Builder;
namespace IPay\Builders;

use IPay\Enum\TransactionType;
use IPay\ValueObjects\Transaction;
Expand Down
2 changes: 1 addition & 1 deletion src/Contracts/AbstractApi.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace IPay\Contracts;

use IPay\Builder\TransactionBuilder;
use IPay\Builders\TransactionBuilder;
use IPay\ValueObjects\Account;
use IPay\ValueObjects\Customer;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IPay\Exception;
namespace IPay\Exceptions;

class LoginException extends \Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace IPay\Exception;
namespace IPay\Exceptions;

class SessionException extends \Exception
{
Expand Down
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php

namespace IPay\Http\Plugin;
namespace IPay\Http\Plugins;

use Http\Client\Common\Plugin;
use Http\Promise\Promise;
use IPay\Exception\LoginException;
use IPay\Exception\SessionException;
use IPay\Exceptions\LoginException;
use IPay\Exceptions\SessionException;
use Nette\Utils\Json;
use Psr\Http\Message\RequestInterface;
use Psr\Http\Message\ResponseInterface;
Expand Down
10 changes: 5 additions & 5 deletions src/IPayClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
use Http\Client\Common\PluginClient;
use Http\Discovery\Psr17FactoryDiscovery;
use Http\Discovery\Psr18ClientDiscovery;
use IPay\Builder\BodyBuilder;
use IPay\Builder\TransactionBuilder;
use IPay\Builders\BodyBuilder;
use IPay\Builders\TransactionBuilder;
use IPay\Captcha\CaptchaSolver;
use IPay\Contracts\AbstractApi;
use IPay\Http\Plugin\ExceptionThrower;
use IPay\Http\Plugins\ExceptionThrower;
use IPay\ValueObjects\Account;
use IPay\ValueObjects\Customer;
use IPay\ValueObjects\Transaction;
Expand All @@ -33,7 +33,7 @@ final class IPayClient extends AbstractApi
use LazyGhostTrait;

/**
* @throws Exception\LoginException
* @throws Exceptions\LoginException
*/
public static function fromCredentials(string $username, string $password): AbstractApi
{
Expand Down Expand Up @@ -113,7 +113,7 @@ public function transactions(?string $accountNumber = null): TransactionBuilder
*
* @return \Traversable<int, Transaction>
*
* @throws Exception\SessionException
* @throws Exceptions\SessionException
*/
private function getTransactions(array $parameters): \Traversable
{
Expand Down

0 comments on commit 9e3e013

Please sign in to comment.