Skip to content

Commit

Permalink
[PSR4] UsersModule - (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 fea280a commit 6a9dab4
Show file tree
Hide file tree
Showing 8 changed files with 14 additions and 14 deletions.
8 changes: 4 additions & 4 deletions src/Commands/ActivatePurchasedGiftCouponsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@
use Crm\SubscriptionsModule\Models\Extension\ExtensionMethodFactory;
use Crm\SubscriptionsModule\Repositories\SubscriptionTypesRepository;
use Crm\SubscriptionsModule\Repositories\SubscriptionsRepository;
use Crm\UsersModule\Auth\UserManager;
use Crm\UsersModule\Repository\AddressChangeRequestsRepository;
use Crm\UsersModule\Repository\AddressesRepository;
use Crm\UsersModule\Repository\UsersRepository;
use Crm\UsersModule\Models\Auth\UserManager;
use Crm\UsersModule\Repositories\AddressChangeRequestsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Database\Table\ActiveRow;
use Nette\Utils\DateTime;
use Symfony\Component\Console\Command\Command;
Expand Down
2 changes: 1 addition & 1 deletion src/Components/GiftCoupons/GiftCoupons.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\GiftsModule\Repositories\PaymentGiftCouponsRepository;
use Crm\UsersModule\Repository\UsersRepository;
use Crm\UsersModule\Repositories\UsersRepository;
use Nette\Application\UI\Form;
use Nette\Application\UI\Multiplier;
use Nette\Database\Table\ActiveRow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

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

class OrderDonatedSubscriptionInfo 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 @@ -5,7 +5,7 @@
use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\GiftsModule\Forms\GiftSubscriptionAddressFormFactory;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\UsersModule\DataProvider\CanDeleteAddressDataProviderInterface;
use Crm\UsersModule\DataProviders\CanDeleteAddressDataProviderInterface;
use Nette\Database\Table\ActiveRow;
use Nette\Localization\Translator;

Expand Down
6 changes: 3 additions & 3 deletions src/Forms/GiftSubscriptionAddressFormFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@
use Contributte\Translation\Translator;
use Crm\GiftsModule\Seeders\AddressTypesSeeder;
use Crm\PaymentsModule\Repository\PaymentMetaRepository;
use Crm\UsersModule\Repository\AddressChangeRequestsRepository;
use Crm\UsersModule\Repository\AddressesRepository;
use Crm\UsersModule\Repository\CountriesRepository;
use Crm\UsersModule\Repositories\AddressChangeRequestsRepository;
use Crm\UsersModule\Repositories\AddressesRepository;
use Crm\UsersModule\Repositories\CountriesRepository;
use Nette\Application\UI\Form;
use Nette\Database\Table\ActiveRow;
use Nette\Utils\ArrayHash;
Expand Down
2 changes: 1 addition & 1 deletion src/Seeders/AddressTypesSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\GiftsModule\Seeders;

use Crm\ApplicationModule\Seeders\ISeeder;
use Crm\UsersModule\Repository\AddressTypesRepository;
use Crm\UsersModule\Repositories\AddressTypesRepository;
use Nette\Localization\Translator;
use Symfony\Component\Console\Output\OutputInterface;

Expand Down
4 changes: 2 additions & 2 deletions src/Tests/BaseTestCase.php
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
use Crm\SubscriptionsModule\Seeders\SubscriptionLengthMethodSeeder;
use Crm\SubscriptionsModule\Seeders\SubscriptionTypeNamesSeeder;
use Crm\UsersModule\Events\NotificationEvent;
use Crm\UsersModule\Repository\LoginAttemptsRepository;
use Crm\UsersModule\Repository\UsersRepository;
use Crm\UsersModule\Repositories\LoginAttemptsRepository;
use Crm\UsersModule\Repositories\UsersRepository;
use Crm\UsersModule\Tests\TestNotificationHandler;
use League\Event\Emitter;

Expand Down
2 changes: 1 addition & 1 deletion src/Tests/GiftPaymentTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use Crm\PaymentsModule\Repository\PaymentGatewaysRepository;
use Crm\PaymentsModule\Repository\PaymentsRepository;
use Crm\SubscriptionsModule\Models\Builder\SubscriptionTypeBuilder;
use Crm\UsersModule\Auth\UserManager;
use Crm\UsersModule\Models\Auth\UserManager;
use Nette\Utils\DateTime;

class GiftPaymentTest extends BaseTestCase
Expand Down

0 comments on commit 6a9dab4

Please sign in to comment.