diff --git a/src/Commands/ActivatePurchasedGiftCouponsCommand.php b/src/Commands/ActivatePurchasedGiftCouponsCommand.php index fbed9a7..804ca0d 100644 --- a/src/Commands/ActivatePurchasedGiftCouponsCommand.php +++ b/src/Commands/ActivatePurchasedGiftCouponsCommand.php @@ -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; diff --git a/src/Components/GiftCoupons/GiftCoupons.php b/src/Components/GiftCoupons/GiftCoupons.php index 8f70065..7612f67 100644 --- a/src/Components/GiftCoupons/GiftCoupons.php +++ b/src/Components/GiftCoupons/GiftCoupons.php @@ -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; diff --git a/src/Components/OrderDonatedSubscriptionInfo/OrderDonatedSubscriptionInfo.php b/src/Components/OrderDonatedSubscriptionInfo/OrderDonatedSubscriptionInfo.php index 582e974..8f02db6 100644 --- a/src/Components/OrderDonatedSubscriptionInfo/OrderDonatedSubscriptionInfo.php +++ b/src/Components/OrderDonatedSubscriptionInfo/OrderDonatedSubscriptionInfo.php @@ -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 diff --git a/src/DataProviders/CanDeleteAddressDataProvider.php b/src/DataProviders/CanDeleteAddressDataProvider.php index 5124c58..642ebbd 100644 --- a/src/DataProviders/CanDeleteAddressDataProvider.php +++ b/src/DataProviders/CanDeleteAddressDataProvider.php @@ -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; diff --git a/src/Forms/GiftSubscriptionAddressFormFactory.php b/src/Forms/GiftSubscriptionAddressFormFactory.php index 5557413..114d533 100644 --- a/src/Forms/GiftSubscriptionAddressFormFactory.php +++ b/src/Forms/GiftSubscriptionAddressFormFactory.php @@ -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; diff --git a/src/Seeders/AddressTypesSeeder.php b/src/Seeders/AddressTypesSeeder.php index dcdc71f..fdeca3c 100644 --- a/src/Seeders/AddressTypesSeeder.php +++ b/src/Seeders/AddressTypesSeeder.php @@ -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; diff --git a/src/Tests/BaseTestCase.php b/src/Tests/BaseTestCase.php index 49ffda7..85bbc3c 100644 --- a/src/Tests/BaseTestCase.php +++ b/src/Tests/BaseTestCase.php @@ -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; diff --git a/src/Tests/GiftPaymentTest.php b/src/Tests/GiftPaymentTest.php index 047f341..212e1d1 100644 --- a/src/Tests/GiftPaymentTest.php +++ b/src/Tests/GiftPaymentTest.php @@ -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