Skip to content

Commit

Permalink
[PSR4] PaymentsModule - (Rector) Fix uses of changed classes
Browse files Browse the repository at this point in the history
remp/crm#2228
  • Loading branch information
markoph committed Jan 22, 2024
1 parent 980176e commit 5badcdc
Show file tree
Hide file tree
Showing 32 changed files with 74 additions and 74 deletions.
2 changes: 1 addition & 1 deletion src/Commands/SendInvoiceCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\InvoicesModule\Commands;

use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\NotificationEvent;
use League\Event\Emitter;
use Symfony\Component\Console\Command\Command;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\InvoicesModule\Forms\UserInvoiceFormFactory;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\PaymentsModule\Gateways\BankTransfer;
use Crm\PaymentsModule\PaymentAwareInterface;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\Gateways\BankTransfer;
use Crm\PaymentsModule\Models\PaymentAwareInterface;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\UI\Form;
use Nette\Database\Table\ActiveRow;

Expand Down
2 changes: 1 addition & 1 deletion src/DataProviders/InvoicesUserDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\ApplicationModule\User\UserDataProviderInterface;
use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;

class InvoicesUserDataProvider implements UserDataProviderInterface
{
Expand Down
2 changes: 1 addition & 1 deletion src/DataProviders/PaymentInvoiceProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\InvoicesModule\DataProviders;

use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\PaymentsModule\DataProvider\PaymentInvoiceProviderInterface;
use Crm\PaymentsModule\DataProviders\PaymentInvoiceProviderInterface;
use Nette\Database\Table\ActiveRow;

class PaymentInvoiceProvider implements PaymentInvoiceProviderInterface
Expand Down
2 changes: 1 addition & 1 deletion src/DataProviders/UserFormDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\DataProviders\UserFormDataProviderInterface;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Application\UI\Form;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/AddressChangedHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\InvoicesModule\Events;

use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\AddressChangedEvent;
use Crm\UsersModule\Repositories\UsersRepository;
use League\Event\AbstractListener;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/NewAddressHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\InvoicesModule\Events;

use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\NewAddressEvent;
use Crm\UsersModule\Repositories\UsersRepository;
use League\Event\AbstractListener;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/PaymentStatusChangeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use League\Event\AbstractListener;
use League\Event\EventInterface;
use Tomaj\Hermes\Emitter as HermesEmitter;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/PreNotificationEventHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Crm\InvoicesModule\Models\Generator\InvoiceGenerationException;
use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\InvoicesModule\Models\Generator\PaymentNotInvoiceableException;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\NotificationContext;
use Crm\UsersModule\Events\PreNotificationEvent;
use League\Event\AbstractListener;
Expand Down
2 changes: 1 addition & 1 deletion src/Forms/ChangeInvoiceDetailsFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\DataProviders\AddressFormDataProviderInterface;
use Crm\UsersModule\Repositories\AddressChangeRequestsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
Expand Down
2 changes: 1 addition & 1 deletion src/Gateways/ProformaInvoice.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php
namespace Crm\InvoicesModule\Gateways;

use Crm\PaymentsModule\Gateways\GatewayAbstract;
use Crm\PaymentsModule\Models\Gateways\GatewayAbstract;

class ProformaInvoice extends GatewayAbstract
{
Expand Down
2 changes: 1 addition & 1 deletion src/Hermes/GenerateInvoiceHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\InvoicesModule\Models\Generator\PaymentNotInvoiceableException;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Tomaj\Hermes\Handler\HandlerInterface;
use Tomaj\Hermes\MessageInterface;
use Tracy\Debugger;
Expand Down
2 changes: 1 addition & 1 deletion src/Hermes/ZipInvoicesHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Crm\InvoicesModule\Models\Sandbox\InvoiceZipGenerator;
use Crm\InvoicesModule\Repositories\InvoiceNumbersRepository;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Utils\DateTime;
use Psr\Log\LoggerAwareTrait;
use Tomaj\Hermes\Handler\HandlerInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Models/Generator/InvoiceGenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
use Crm\ApplicationModule\RedisClientTraitException;
use Crm\InvoicesModule\Models\InvoiceNumber\InvoiceNumberInterface;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
use Latte\Engine;
use Latte\Essential\TranslatorExtension;
Expand Down
2 changes: 1 addition & 1 deletion src/Presenters/InvoicesAdminPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
use Crm\InvoicesModule\Models\Sandbox\InvoiceZipGenerator;
use Crm\InvoicesModule\Repositories\InvoiceNumbersRepository;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
use Nette\Application\BadRequestException;
use Nette\Application\Responses\FileResponse;
Expand Down
2 changes: 1 addition & 1 deletion src/Presenters/InvoicesPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
use Crm\InvoicesModule\Forms\ChangeInvoiceDetailsFormFactory;
use Crm\InvoicesModule\Models\Generator\InvoiceGenerator;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\BadRequestException;
use Nette\DI\Attributes\Inject;

Expand Down
2 changes: 1 addition & 1 deletion src/Presenters/ReceiptsAdminPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\AdminModule\Presenters\AdminPresenter;
use Crm\InvoicesModule\Models\Generator\ReceiptGenerator;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\BadRequestException;
use Nette\DI\Attributes\Inject;

Expand Down
2 changes: 1 addition & 1 deletion src/Presenters/ReceiptsPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Contributte\PdfResponse\PdfResponse;
use Crm\ApplicationModule\Presenters\FrontendPresenter;
use Crm\InvoicesModule\Models\Generator\ReceiptGenerator;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\BadRequestException;
use Nette\Application\ForbiddenRequestException;
use Nette\DI\Attributes\Inject;
Expand Down
4 changes: 2 additions & 2 deletions src/Presenters/SalesFunnelPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
use Crm\ApplicationModule\Presenters\FrontendPresenter;
use Crm\InvoicesModule\Events\ProformaInvoiceCreatedEvent;
use Crm\InvoicesModule\Forms\UserInvoiceFormFactory;
use Crm\PaymentsModule\Repository\PaymentLogsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentLogsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\Attributes\Persistent;
use Nette\Application\UI\Form;
use Nette\DI\Attributes\Inject;
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/InvoicesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Repository\AuditLogRepository;
use Crm\InvoicesModule\Events\NewInvoiceEvent;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\SubscriptionsModule\Models\PaymentItem\SubscriptionTypePaymentItem;
use Crm\UsersModule\Repositories\AddressesRepository;
use IntlDateFormatter;
Expand Down
2 changes: 1 addition & 1 deletion src/Seeders/PaymentGatewaysSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\ApplicationModule\Seeders\ISeeder;
use Crm\InvoicesModule\Gateways\ProformaInvoice;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Symfony\Component\Console\Output\OutputInterface;

class PaymentGatewaysSeeder implements ISeeder
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\InvoicesModule\Seeders\ConfigsSeeder;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionExtensionMethodsRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionLengthMethodsRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionTypesRepository;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/Events/AddressChangedHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
use Crm\InvoicesModule\Events\AddressChangedHandler;
use Crm\InvoicesModule\Hermes\GenerateInvoiceHandler;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\AddressChangedEvent;
use Crm\UsersModule\Events\UserMetaEvent;
use Crm\UsersModule\Models\Auth\UserManager;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/Events/NewAddressHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
use Crm\InvoicesModule\Events\NewAddressHandler;
use Crm\InvoicesModule\Hermes\GenerateInvoiceHandler;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\AddressChangedEvent;
use Crm\UsersModule\Events\NewAddressEvent;
use Crm\UsersModule\Models\Auth\UserManager;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/Events/PaymentStatusChangeHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,10 @@
use Crm\InvoicesModule\Seeders\ConfigsSeeder;
use Crm\PaymentsModule\Events\NewPaymentEvent;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Models\Auth\UserManager;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Database\Table\ActiveRow;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/Generator/InvoicesGeneratorGenerateTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\InvoicesModule\Seeders\ConfigsSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Models\Auth\UserManager;
use Crm\UsersModule\Repositories\AddressTypesRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
Expand Down
4 changes: 2 additions & 2 deletions src/Tests/HasInvoiceCriteriaTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Scenarios\HasInvoiceCriteria;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\PaymentsModule\Tests\PaymentsTestCase;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\UsersModule\Models\Auth\UserManager;
Expand Down
14 changes: 7 additions & 7 deletions src/Tests/Hermes/GenerateInvoiceHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
use Crm\InvoicesModule\Repositories\InvoiceNumbersRepository;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repository\VariableSymbol;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\PaymentsModule\Repositories\VariableSymbolRepository;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\SubscriptionsModule\Models\PaymentItem\SubscriptionTypePaymentItem;
use Crm\SubscriptionsModule\Repositories\SubscriptionExtensionMethodsRepository;
Expand Down Expand Up @@ -69,7 +69,7 @@ protected function requiredRepositories(): array
SubscriptionTypesRepository::class,
SubscriptionTypeItemsRepository::class,
UsersRepository::class,
VariableSymbol::class,
VariableSymbolRepository::class,
];
}

Expand Down
10 changes: 5 additions & 5 deletions src/Tests/InvoiceNumbersTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\InvoicesModule\Models\InvoiceNumber\InvoiceNumber;
use Crm\InvoicesModule\Repositories\InvoiceNumbersRepository;
use Crm\PaymentsModule\Gateways\BankTransfer;
use Crm\PaymentsModule\PaymentItem\DonationPaymentItem;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\Gateways\BankTransfer;
use Crm\PaymentsModule\Models\PaymentItem\DonationPaymentItem;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\PaymentsModule\Seeders\PaymentGatewaysSeeder;
use Crm\UsersModule\Repositories\UsersRepository;
use DateTime;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/PreNotificationHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@
use Crm\InvoicesModule\Events\PreNotificationEventHandler;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\Events\PaymentStatusChangeHandler;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\UsersModule\Events\NotificationContext;
use Crm\UsersModule\Events\NotificationEvent;
Expand Down
12 changes: 6 additions & 6 deletions src/Tests/Repository/InvoicesRepositoryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\InvoicesModule\Seeders\ConfigsSeeder as InvoicesConfigsSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\SubscriptionsModule\Models\PaymentItem\SubscriptionTypePaymentItem;
use Crm\SubscriptionsModule\Repositories\SubscriptionTypesRepository;
Expand Down
12 changes: 6 additions & 6 deletions src/Tests/Repository/IsPaymentInvoiceableTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\InvoicesModule\Repositories\InvoicesRepository;
use Crm\InvoicesModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Models\Auth\UserManager;
use Crm\UsersModule\Repositories\AddressTypesRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
Expand Down

0 comments on commit 5badcdc

Please sign in to comment.