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 c625c60 commit 61f0151
Show file tree
Hide file tree
Showing 12 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion src/Api/CriteriaHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
namespace Crm\SegmentModule\Api;

use Crm\ApiModule\Models\Api\ApiHandler;
use Crm\ApplicationModule\Criteria\CriteriaStorage;
use Crm\ApplicationModule\Models\Criteria\CriteriaStorage;
use Nette\Http\Response;
use Tomaj\NetteApi\Response\JsonApiResponse;
use Tomaj\NetteApi\Response\ResponseInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Api/UsersApiHandler.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use Crm\ApiModule\Models\Api\ApiHandler;
use Crm\ApiModule\Models\Params\InputParam;
use Crm\ApiModule\Models\Params\ParamsProcessor;
use Crm\ApplicationModule\Criteria\CriteriaStorage;
use Crm\ApplicationModule\Models\Criteria\CriteriaStorage;
use Crm\SegmentModule\Models\Criteria\InvalidCriteriaException;
use Crm\SegmentModule\Models\SegmentFactoryInterface;
use Crm\SegmentModule\Repositories\SegmentsRepository;
Expand Down
4 changes: 2 additions & 2 deletions src/Commands/UpdateCountsCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
namespace Crm\SegmentModule\Commands;

use Crm\ApplicationModule\Commands\DecoratedCommandTrait;
use Crm\ApplicationModule\RedisClientFactory;
use Crm\ApplicationModule\RedisClientTrait;
use Crm\ApplicationModule\Models\Redis\RedisClientFactory;
use Crm\ApplicationModule\Models\Redis\RedisClientTrait;
use Crm\SegmentModule\DI\SegmentRecalculationConfig;
use Crm\SegmentModule\Models\SegmentFactoryInterface;
use Crm\SegmentModule\Repositories\SegmentsRepository;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@

namespace Crm\SegmentModule\Components\DashboardSegmentValueBaseWidget;

use Crm\ApplicationModule\Cache\CacheRepository;
use Crm\ApplicationModule\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Models\Widget\BaseLazyWidget;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Repositories\CacheRepository;
use Crm\SegmentModule\Models\SegmentFactoryInterface;
use Crm\SegmentModule\Repositories\SegmentsRepository;
use Crm\SegmentModule\Repositories\SegmentsValuesRepository;
Expand Down
4 changes: 2 additions & 2 deletions src/Models/Criteria/Generator.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\SegmentModule\Models\Criteria;

use Crm\ApplicationModule\Criteria\CriteriaInterface;
use Crm\ApplicationModule\Criteria\CriteriaStorage;
use Crm\ApplicationModule\Models\Criteria\CriteriaInterface;
use Crm\ApplicationModule\Models\Criteria\CriteriaStorage;
use Crm\SegmentModule\Models\Params\ParamsBag;
use Nette\Utils\Strings;

Expand Down
2 changes: 1 addition & 1 deletion src/Models/Params/BaseParam.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\SegmentModule\Models\Params;

use Crm\ApplicationModule\Criteria\CriteriaParam;
use Crm\ApplicationModule\Models\Criteria\CriteriaParam;
use Crm\SegmentModule\Models\Criteria\InvalidCriteriaException;
use Nette\Utils\DateTime;

Expand Down
12 changes: 6 additions & 6 deletions src/Presenters/StoredSegmentsPresenter.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
namespace Crm\SegmentModule\Presenters;

use Crm\AdminModule\Presenters\AdminPresenter;
use Crm\ApplicationModule\Components\Graphs\GoogleLineGraphGroupControlFactoryInterface;
use Crm\ApplicationModule\ExcelFactory;
use Crm\ApplicationModule\Graphs\Criteria;
use Crm\ApplicationModule\Graphs\GraphDataItem;
use Crm\ApplicationModule\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Widget\WidgetManager;
use Crm\ApplicationModule\Components\Graphs\GoogleLineGraphGroup\GoogleLineGraphGroupControlFactoryInterface;
use Crm\ApplicationModule\Models\Exports\ExcelFactory;
use Crm\ApplicationModule\Models\Graphs\Criteria;
use Crm\ApplicationModule\Models\Graphs\GraphDataItem;
use Crm\ApplicationModule\Models\Widget\LazyWidgetManager;
use Crm\ApplicationModule\Models\Widget\WidgetManager;
use Crm\SegmentModule\Forms\SegmentFormFactory;
use Crm\SegmentModule\Forms\SegmentRecalculationSettingsFormFactory;
use Crm\SegmentModule\Models\SegmentFactoryInterface;
Expand Down
2 changes: 1 addition & 1 deletion src/Repositories/SegmentGroupsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

namespace Crm\SegmentModule\Repositories;

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

Expand Down
4 changes: 2 additions & 2 deletions src/Repositories/SegmentsRepository.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace Crm\SegmentModule\Repositories;

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

namespace Crm\SegmentModule\Repositories;

use Crm\ApplicationModule\Repository;
use Crm\ApplicationModule\Models\Database\Repository;
use Nette\Database\Explorer;
use Nette\Database\Table\ActiveRow;
use Nette\Utils\DateTime;
Expand Down
6 changes: 3 additions & 3 deletions src/Seeders/ConfigSeeder.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
namespace Crm\SegmentModule\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 Symfony\Component\Console\Output\OutputInterface;
Expand Down
10 changes: 5 additions & 5 deletions src/SegmentModule.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
use Crm\ApiModule\Models\Authorization\BearerTokenAuthorization;
use Crm\ApiModule\Models\Router\ApiIdentifier;
use Crm\ApiModule\Models\Router\ApiRoute;
use Crm\ApplicationModule\AssetsManager;
use Crm\ApplicationModule\Commands\CommandsContainerInterface;
use Crm\ApplicationModule\Application\CommandsContainerInterface;
use Crm\ApplicationModule\Application\Managers\AssetsManager;
use Crm\ApplicationModule\Application\Managers\SeederManager;
use Crm\ApplicationModule\CrmModule;
use Crm\ApplicationModule\Menu\MenuContainerInterface;
use Crm\ApplicationModule\Menu\MenuItem;
use Crm\ApplicationModule\SeederManager;
use Crm\ApplicationModule\Models\Menu\MenuContainerInterface;
use Crm\ApplicationModule\Models\Menu\MenuItem;
use Crm\SegmentModule\Api\CheckApiHandler;
use Crm\SegmentModule\Api\CountsHandler;
use Crm\SegmentModule\Api\CreateOrUpdateSegmentHandler;
Expand Down

0 comments on commit 61f0151

Please sign in to comment.