Skip to content

Commit

Permalink
[PSR4] ApplicationModule - (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 7377f1c commit 45bc7eb
Show file tree
Hide file tree
Showing 11 changed files with 20 additions and 20 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GiftsModule\Components\DonatedSubscriptionListingWidget;

use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Nette\Database\Table\ActiveRow;

/**
Expand Down
4 changes: 2 additions & 2 deletions src/Components/GiftCoupons/GiftCoupons.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Crm\GiftsModule\Components\GiftCoupons;

use Crm\ApplicationModule\Helpers\UserDateHelper;
use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManager;
use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Application\UI\Form;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GiftsModule\Components\GiftPaymentItemsListWidget;

use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\GiftsModule\Models\PaymentItem\GiftPaymentItem;
use Nette\Database\Table\ActiveRow;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\GiftsModule\Components\OrderDonatedSubscriptionInfo;

use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManager;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Database\Table\ActiveRow;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GiftsModule\Components\PaymentSuccessGiftSubscriptionAddressWidget;

use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\GiftsModule\Forms\GiftSubscriptionAddressFormFactory;
use Crm\GiftsModule\Models\PaymentItem\GiftPaymentItem;
use Crm\PaymentsModule\Models\Gateways\BankTransfer;
Expand Down
2 changes: 1 addition & 1 deletion src/DataProviders/CanDeleteAddressDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GiftsModule\DataProviders;

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

namespace Crm\GiftsModule\DataProviders;

use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\ApplicationModule\Models\DataProvider\DataProviderException;
use Crm\GiftsModule\Models\PaymentItem\GiftPaymentItem;
use Crm\PaymentsModule\DataProviders\PaymentItemTypesFilterDataProviderInterface;
use Nette\Localization\Translator;
Expand Down
2 changes: 1 addition & 1 deletion src/Events/GiftPaymentStatusChangeHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GiftsModule\Events;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\PaymentsModule\Events\PaymentChangeStatusEvent;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
Expand Down
10 changes: 5 additions & 5 deletions src/GiftsModule.php
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
<?php
namespace Crm\GiftsModule;

use Crm\ApplicationModule\Commands\CommandsContainerInterface;
use Crm\ApplicationModule\Application\CommandsContainerInterface;
use Crm\ApplicationModule\Application\Managers\SeederManager;
use Crm\ApplicationModule\CrmModule;
use Crm\ApplicationModule\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Event\LazyEventEmitter;
use Crm\ApplicationModule\SeederManager;
use Crm\ApplicationModule\Widget\LazyWidgetManagerInterface;
use Crm\ApplicationModule\Models\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Models\Event\LazyEventEmitter;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManagerInterface;
use Crm\GiftsModule\Commands\ActivatePurchasedGiftCouponsCommand;
use Crm\GiftsModule\Components\DonatedSubscriptionListingWidget\DonatedSubscriptionListingWidget;
use Crm\GiftsModule\Components\GiftCoupons\GiftCoupons;
Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/PaymentGiftCouponsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\GiftsModule\Repositories;

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Repository\AuditLogRepository;
use Crm\ApplicationModule\Models\Database\Repository;
use Crm\ApplicationModule\Repositories\AuditLogRepository;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Caching\Storage;
use Nette\Database\Explorer;
Expand Down
6 changes: 3 additions & 3 deletions src/Seeders/ConfigsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Crm\GiftsModule\Seeders;

use Crm\ApplicationModule\Builder\ConfigBuilder;
use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Config\Repository\ConfigCategoriesRepository;
use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\ApplicationModule\Repositories\ConfigCategoriesRepository;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\ApplicationModule\Seeders\ISeeder;
use Symfony\Component\Console\Output\OutputInterface;

Expand Down

0 comments on commit 45bc7eb

Please sign in to comment.