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 5f2b484 commit 52edc7c
Show file tree
Hide file tree
Showing 20 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion src/Commands/CreateMissingRecurrentPaymentsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Commands;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\GooglePlayBillingModule\Gateways\GooglePlayBilling;
use Crm\GooglePlayBillingModule\GooglePlayBillingModule;
use Crm\GooglePlayBillingModule\Repositories\DeveloperNotificationsRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Components\StopRecurrentPaymentButtonWidget;

use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\GooglePlayBillingModule\Gateways\GooglePlayBilling;

class StopRecurrentPaymentButtonWidget extends BaseLazyWidget
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\DataProviders;

use Crm\ApplicationModule\DataProvider\DataProviderException;
use Crm\ApplicationModule\Models\DataProvider\DataProviderException;
use Crm\PaymentsModule\DataProviders\AdminFilterFormDataProviderInterface;
use Crm\PaymentsModule\Repositories\PaymentsRepository;
use Nette\Application\UI\Form;
Expand Down
2 changes: 1 addition & 1 deletion src/Gateways/GooglePlayBilling.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Gateways;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\GooglePlayBillingModule\GooglePlayBillingModule;
use Crm\GooglePlayBillingModule\Models\GooglePlayValidatorFactory;
use Crm\GooglePlayBillingModule\Models\SubscriptionResponseProcessor\SubscriptionResponseProcessorInterface;
Expand Down
12 changes: 6 additions & 6 deletions src/GooglePlayBillingModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
use Crm\ApiModule\Models\Authorization\NoAuthorization;
use Crm\ApiModule\Models\Router\ApiIdentifier;
use Crm\ApiModule\Models\Router\ApiRoute;
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\User\UserDataRegistrator;
use Crm\ApplicationModule\Widget\LazyWidgetManagerInterface;
use Crm\ApplicationModule\Models\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Models\Event\LazyEventEmitter;
use Crm\ApplicationModule\Models\User\UserDataRegistrator;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManagerInterface;
use Crm\GooglePlayBillingModule\Api\DeveloperNotificationPushWebhookApiHandler;
use Crm\GooglePlayBillingModule\Api\VerifyPurchaseApiHandler;
use Crm\GooglePlayBillingModule\Commands\CreateMissingRecurrentPaymentsCommand;
Expand Down
2 changes: 1 addition & 1 deletion src/Models/GooglePlayValidatorFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Models;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Google\Client;
use Google\Service\AndroidPublisher;
use ReceiptValidator\GooglePlay\Validator;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/User/GooglePlayUserDataProvider.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\GooglePlayBillingModule\Models\User;

use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\User\UserDataProviderInterface;
use Crm\ApplicationModule\Models\User\UserDataProviderInterface;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\GooglePlayBillingModule\Gateways\GooglePlayBilling;
use Crm\GooglePlayBillingModule\GooglePlayBillingModule;
use Crm\GooglePlayBillingModule\Models\Config;
Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/DeveloperNotificationsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Crm\GooglePlayBillingModule\Repositories;

use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Repository\AuditLogRepository;
use Crm\ApplicationModule\Models\Database\Repository;
use Crm\ApplicationModule\Repositories\AuditLogRepository;
use Nette\Database\Explorer;
use Nette\Database\Table\ActiveRow;
use Nette\Utils\DateTime;
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/GooglePlaySubscriptionTypesRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Repositories;

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Models\Database\Repository;
use Nette\Database\Table\ActiveRow;

class GooglePlaySubscriptionTypesRepository extends Repository
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/PurchaseDeviceTokensRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Repositories;

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Models\Database\Repository;
use Nette\Database\Table\ActiveRow;

class PurchaseDeviceTokensRepository extends Repository
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/PurchaseTokensRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Repositories;

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Models\Database\Repository;
use Nette\Database\Table\ActiveRow;
use Nette\Utils\DateTime;

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\GooglePlayBillingModule\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\ConfigsTrait;
use Crm\ApplicationModule\Seeders\ISeeder;
use Crm\GooglePlayBillingModule\Models\Config;
Expand Down
2 changes: 1 addition & 1 deletion src/Seeders/SnippetsSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\GooglePlayBillingModule\Seeders;

use Crm\ApplicationModule\Repositories\SnippetsRepository;
use Crm\ApplicationModule\Seeders\ISeeder;
use Crm\ApplicationModule\Snippet\Repository\SnippetsRepository;
use Symfony\Component\Console\Output\OutputInterface;

class SnippetsSeeder implements ISeeder
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/AccessTokenDataProviderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Tests;

use Crm\ApplicationModule\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Models\DataProvider\DataProviderManager;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\DataProviders\AccessTokenDataProvider;
use Crm\GooglePlayBillingModule\GooglePlayBillingModule;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Crm\GooglePlayBillingModule\Tests\Hermes;

use Crm\ApplicationModule\Config\Repository\ConfigCategoriesRepository;
use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\ApplicationModule\Repositories\ConfigCategoriesRepository;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\GooglePlayBillingModule;
use Crm\GooglePlayBillingModule\Hermes\DeveloperNotificationReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Crm\GooglePlayBillingModule\Tests\Hermes;

use Crm\ApplicationModule\Config\Repository\ConfigCategoriesRepository;
use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\ApplicationModule\Repositories\ConfigCategoriesRepository;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\Hermes\DeveloperNotificationReceivedHandler;
use Crm\GooglePlayBillingModule\Repositories\DeveloperNotificationsRepository;
Expand Down
6 changes: 3 additions & 3 deletions src/Tests/Hermes/DeveloperNotificationReceivedHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Crm\GooglePlayBillingModule\Tests\Hermes;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Config\Repository\ConfigCategoriesRepository;
use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\ApplicationModule\Repositories\ConfigCategoriesRepository;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\ApplicationModule\Seeders\ConfigsSeeder as ApplicationConfigsSeeder;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\Hermes\DeveloperNotificationReceivedHandler;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@

namespace Crm\GooglePlayBillingModule\Tests\Hermes;

use Crm\ApplicationModule\Config\ApplicationConfig;
use Crm\ApplicationModule\Config\Repository\ConfigCategoriesRepository;
use Crm\ApplicationModule\Config\Repository\ConfigsRepository;
use Crm\ApplicationModule\Hermes\HermesMessage;
use Crm\ApplicationModule\Models\Config\ApplicationConfig;
use Crm\ApplicationModule\Repositories\ConfigCategoriesRepository;
use Crm\ApplicationModule\Repositories\ConfigsRepository;
use Crm\ApplicationModule\Seeders\ConfigsSeeder as ApplicationConfigsSeeder;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\Hermes\DeveloperNotificationReceivedHandler;
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/PairDeviceAccessTokensEventHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Tests;

use Crm\ApplicationModule\Event\LazyEventEmitter;
use Crm\ApplicationModule\Models\Event\LazyEventEmitter;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\Events\PairDeviceAccessTokensEventHandler;
use Crm\UsersModule\Events\PairDeviceAccessTokensEvent;
Expand Down
2 changes: 1 addition & 1 deletion src/Tests/RemovedAccessTokenEventHandlerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\GooglePlayBillingModule\Tests;

use Crm\ApplicationModule\Event\LazyEventEmitter;
use Crm\ApplicationModule\Models\Event\LazyEventEmitter;
use Crm\ApplicationModule\Tests\DatabaseTestCase;
use Crm\GooglePlayBillingModule\Events\RemovedAccessTokenEventHandler;
use Crm\GooglePlayBillingModule\Gateways\GooglePlayBilling;
Expand Down

0 comments on commit 52edc7c

Please sign in to comment.