Skip to content

Commit

Permalink
sw53x-RATEPLUG-33: fix namespaces (#46)
Browse files Browse the repository at this point in the history
* RATEPLUG-33: fix namespaces configservice && dfpservice

* RATEPLUG-33: fix namespaces configservice && dfpservice

* sw53x-RATEPLUG-33: add changelog

* sw53x-RATEPLUG-33: fix namespaces
  • Loading branch information
rommelfreddy authored Jan 15, 2020
1 parent fa9931f commit 63a1e3b
Show file tree
Hide file tree
Showing 11 changed files with 13 additions and 14 deletions.
2 changes: 1 addition & 1 deletion Bootstrapping/ShopConfigSetup.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
use RpayRatePay\Component\Service\RatepayConfigWriter;
use RpayRatePay\Models\ProfileConfig;
use Shopware\Models\Shop\Shop;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ConfigService;
use RpayRatePay\Services\ConfigService;

class ShopConfigSetup extends Bootstrapper
{
Expand Down
2 changes: 1 addition & 1 deletion Component/Mapper/ModelFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
use RpayRatePay\Component\Service\Logger;
use RpayRatePay\Component\Service\ShopwareUtil;
use RpayRatePay\Component\Service\ConfigLoader;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ProfileConfigService;
use RpayRatePay\Services\ProfileConfigService;

/**
* This program is free software; you can redistribute it and/or modify it under the terms of
Expand Down
4 changes: 2 additions & 2 deletions Component/Service/ConfigLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@

namespace RpayRatePay\Component\Service;

use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ConfigService;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ProfileConfigService;
use RpayRatePay\Services\ConfigService;
use RpayRatePay\Services\ProfileConfigService;

class ConfigLoader
{
Expand Down
2 changes: 1 addition & 1 deletion Component/Service/Logger.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RpayRatePay\Component\Service;
namespace RpayRatePay\Component\Service;

class Logger
{
Expand Down
1 change: 0 additions & 1 deletion Component/Service/RatepayConfigWriter.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@

use RpayRatePay\Models\ProfileConfig;
use Shopware\Components\Model\ModelManager;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ProfileConfigService;

class RatepayConfigWriter
{
Expand Down
2 changes: 1 addition & 1 deletion Component/Service/SessionLoader.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?php

namespace RpayRatePay\Component\Service;
namespace RpayRatePay\Component\Service;

use RpayRatePay\Component\Mapper\BankData;
use RpayRatePay\Component\Mapper\PaymentRequestData;
Expand Down
4 changes: 2 additions & 2 deletions Controller/backend/RpayRatepayBackendOrder.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@
use RpayRatePay\Component\Service\ConfigLoader;
use RpayRatePay\Component\Service\Logger;
use RpayRatePay\Models\ProfileConfig;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Models\ConfigRepository;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ConfigService;
use RpayRatePay\Models\ConfigRepository;
use RpayRatePay\Services\ConfigService;

class Shopware_Controllers_Backend_RpayRatepayBackendOrder extends Shopware_Controllers_Backend_ExtJs
{
Expand Down
2 changes: 1 addition & 1 deletion Models/ConfigRepository.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?php


namespace Shopware\Plugins\Community\Frontend\RpayRatePay\Models;
namespace RpayRatePay\Models;


use RpayRatePay\Models\ProfileConfig;
Expand Down
2 changes: 1 addition & 1 deletion Models/ProfileConfig.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
use Shopware\Components\Model\ModelEntity;

/**
* @ORM\Entity(repositoryClass="Shopware\Plugins\Community\Frontend\RpayRatePay\Models\ConfigRepository")
* @ORM\Entity(repositoryClass="RpayRatePay\Models\ConfigRepository")
* @ORM\Table(name="rpay_ratepay_config")
*/
class ProfileConfig extends ModelEntity
Expand Down
4 changes: 2 additions & 2 deletions Services/ProfileConfigService.php
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?php


namespace Shopware\Plugins\Community\Frontend\RpayRatePay\Services;
namespace RpayRatePay\Services;


use RpayRatePay\Models\ProfileConfig;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Models\ConfigRepository;
use RpayRatePay\Models\ConfigRepository;

class ProfileConfigService
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
//do i need a require here?
use RpayRatePay\Component\Model\ShopwareCustomerWrapper;
use RpayRatePay\Models\ProfileConfig;
use Shopware\Plugins\Community\Frontend\RpayRatePay\Services\ProfileConfigService;
use RpayRatePay\Services\ProfileConfigService;

/**
* Developer needs to specify how the Calculator gets the Data
Expand Down

0 comments on commit 63a1e3b

Please sign in to comment.