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 6a9dab4 commit 7377f1c
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
2 changes: 1 addition & 1 deletion src/Commands/ActivatePurchasedGiftCouponsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Crm\GiftsModule\GiftsModule;
use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\GiftsModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\ProductsModule\Repositories\OrdersRepository;
use Crm\ProductsModule\Repositories\ProductPropertiesRepository;
use Crm\SubscriptionsModule\Models\Extension\ExtensionInterface;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\GiftsModule\Forms\GiftSubscriptionAddressFormFactory;
use Crm\GiftsModule\Models\PaymentItem\GiftPaymentItem;
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\Database\Table\ActiveRow;

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

use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\GiftsModule\Forms\GiftSubscriptionAddressFormFactory;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\UsersModule\DataProviders\CanDeleteAddressDataProviderInterface;
use Nette\Database\Table\ActiveRow;
use Nette\Localization\Translator;
Expand Down
2 changes: 1 addition & 1 deletion src/DataProviders/PaymentItemTypesFilterDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\GiftsModule\Models\PaymentItem\GiftPaymentItem;
use Crm\PaymentsModule\DataProvider\PaymentItemTypesFilterDataProviderInterface;
use Crm\PaymentsModule\DataProviders\PaymentItemTypesFilterDataProviderInterface;
use Nette\Localization\Translator;

class PaymentItemTypesFilterDataProvider implements PaymentItemTypesFilterDataProviderInterface
Expand Down
4 changes: 2 additions & 2 deletions src/Events/CreateGiftCouponNewPaymentEventHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@

use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\PaymentsModule\Events\NewPaymentEvent;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use League\Event\AbstractListener;
use League\Event\EventInterface;
use Nette\Utils\DateTime;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/GiftPaymentStatusChangeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\UsersModule\Events\NotificationEvent;
use League\Event\AbstractListener;
use League\Event\Emitter;
Expand Down
2 changes: 1 addition & 1 deletion src/Forms/GiftSubscriptionAddressFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Contributte\Translation\Translator;
use Crm\GiftsModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\PaymentsModule\Repositories\PaymentMetaRepository;
use Crm\UsersModule\Repositories\AddressChangeRequestsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
use Crm\UsersModule\Repositories\CountriesRepository;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/PaymentItem/GiftPaymentItem.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\GiftsModule\Models\PaymentItem;

use Crm\PaymentsModule\PaymentItem\PaymentItemInterface;
use Crm\PaymentsModule\PaymentItem\PaymentItemTrait;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemInterface;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemTrait;
use Nette\Database\Table\ActiveRow;

class GiftPaymentItem implements PaymentItemInterface
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/PaymentGiftCouponsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Repository\AuditLogRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Caching\Storage;
use Nette\Database\Explorer;
use Nette\Database\Table\Selection;
Expand Down
8 changes: 4 additions & 4 deletions src/Tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@
use Contributte\Translation\Translator;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GiftsModule\GiftsModule;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentItemsRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Repository\RecurrentPaymentsRepository;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentItemsRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\PaymentsModule\Repositories\RecurrentPaymentsRepository;
use Crm\SubscriptionsModule\Repositories\ContentAccessRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionExtensionMethodsRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionLengthMethodsRepository;
Expand Down
6 changes: 3 additions & 3 deletions src/Tests/GiftPaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@

use Crm\GiftsModule\Events\GiftPaymentStatusChangeHandler;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\PaymentsModule\Models\PaymentItem\PaymentItemContainer;
use Crm\PaymentsModule\Repositories\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\UsersModule\Models\Auth\UserManager;
use Nette\Utils\DateTime;
Expand Down

0 comments on commit 7377f1c

Please sign in to comment.