Skip to content

Commit

Permalink
Merge pull request #3 from magento/2.3-develop
Browse files Browse the repository at this point in the history
update fork
  • Loading branch information
DenisSaltanahmedov authored Feb 13, 2019
2 parents e595392 + f211371 commit 2f1bc31
Show file tree
Hide file tree
Showing 1,498 changed files with 45,019 additions and 5,652 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<body>
<referenceContainer name="notifications">
<uiComponent name="notification_area"/>
<uiComponent name="notification_area" aclResource="Magento_AdminNotification::show_list"/>
<block class="Magento\AdminNotification\Block\System\Messages\UnreadMessagePopup"
name="unread_system_messages"
as="unread_system_messages"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,18 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Block\Adminhtml\Order\View\Info;

use Magento\Authorizenet\Model\Directpost;

/**
* Fraud information block for Authorize.net payment method
*
* @api
* @since 100.0.2
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class FraudDetails extends \Magento\Backend\Block\Template
{
Expand All @@ -33,6 +38,8 @@ public function __construct(
}

/**
* Return payment method model
*
* @return \Magento\Sales\Model\Order\Payment
*/
public function getPayment()
Expand All @@ -42,6 +49,8 @@ public function getPayment()
}

/**
* Produce and return the block's HTML output
*
* @return string
*/
protected function _toHtml()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@

/**
* Payment information block for Authorize.net payment method
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class PaymentDetails extends ConfigurableInfo
{
Expand Down
4 changes: 4 additions & 0 deletions app/code/Magento/Authorizenet/Block/Transparent/Iframe.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Block\Transparent;

use Magento\Payment\Block\Transparent\Iframe as TransparentIframe;

/**
* Transparent Iframe block for Authorize.net payments
* @api
* @since 100.0.2
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Iframe extends TransparentIframe
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class AddConfigured extends \Magento\Sales\Controller\Adminhtml\Order\Create\AddConfigured
use Magento\Framework\App\Action\HttpPutActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create\AddConfigured as BaseAddConfigured;

/**
* Class AddConfigured
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class AddConfigured extends BaseAddConfigured implements HttpPutActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class Cancel extends \Magento\Sales\Controller\Adminhtml\Order\Create\Cancel
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create\Cancel as BaseCancel;

/**
* Class Cancel
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Cancel extends BaseCancel implements HttpPostActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class ConfigureProductToAdd extends \Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureProductToAdd
use Magento\Framework\App\Action\HttpPutActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureProductToAdd as BaseConfigureProductToAdd;

/**
* Class ConfigureProductToAdd
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class ConfigureProductToAdd extends BaseConfigureProductToAdd implements HttpPutActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class ConfigureQuoteItems extends \Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureQuoteItems
use Magento\Framework\App\Action\HttpPutActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create\ConfigureQuoteItems as BaseConfigureQuoteItems;

/**
* Class ConfigureQuoteItems
* @deprecated 2.3 Authorize.net is removing all support for this payment method
*/
class ConfigureQuoteItems extends BaseConfigureQuoteItems implements HttpPutActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

/**
* Class Index
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Index extends \Magento\Sales\Controller\Adminhtml\Order\Create\Index
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

/**
* Class LoadBlock
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class LoadBlock extends \Magento\Sales\Controller\Adminhtml\Order\Create\LoadBlock
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,21 +3,26 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

use Magento\Framework\Escaper;
use Magento\Catalog\Helper\Product;
use Magento\Authorizenet\Helper\Backend\Data as DataHelper;
use Magento\Backend\App\Action\Context;
use Magento\Framework\View\Result\PageFactory;
use Magento\Backend\Model\View\Result\ForwardFactory;
use Magento\Authorizenet\Helper\Backend\Data as DataHelper;
use Magento\Catalog\Helper\Product;
use Magento\Framework\Escaper;
use Magento\Framework\View\Result\PageFactory;
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create;

/**
* Class Place
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Place extends \Magento\Sales\Controller\Adminhtml\Order\Create
class Place extends Create implements HttpPostActionInterface
{
/**
* @var DataHelper
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class ProcessData extends \Magento\Sales\Controller\Adminhtml\Order\Create\ProcessData
use Magento\Sales\Controller\Adminhtml\Order\Create\ProcessData as BaseProcessData;
use Magento\Framework\App\Action\HttpPostActionInterface;

/**
* Class ProcessData
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class ProcessData extends BaseProcessData implements HttpPostActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,18 +3,25 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

use Magento\Backend\App\Action;
use Magento\Backend\Model\View\Result\ForwardFactory;
use Magento\Framework\View\Result\LayoutFactory;
use Magento\Framework\View\Result\PageFactory;
use Magento\Payment\Block\Transparent\Iframe;
use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create;

/**
* Class Redirect
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Redirect extends \Magento\Sales\Controller\Adminhtml\Order\Create
class Redirect extends Create implements HttpGetActionInterface, HttpPostActionInterface
{
/**
* Core registry
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class Reorder extends \Magento\Sales\Controller\Adminhtml\Order\Create\Reorder
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create\Reorder as BaseReorder;

/**
* Class Reorder
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Reorder extends BaseReorder implements HttpPostActionInterface
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,19 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

class ReturnQuote extends \Magento\Sales\Controller\Adminhtml\Order\Create
use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create;

/**
* Class ReturnQuote
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class ReturnQuote extends Create implements HttpPostActionInterface, HttpGetActionInterface
{
/**
* Return quote
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

/**
* Class Save
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class Save extends \Magento\Sales\Controller\Adminhtml\Order\Create\Save
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,14 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

/**
* Class ShowUpdateResult
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
class ShowUpdateResult extends \Magento\Sales\Controller\Adminhtml\Order\Create\ShowUpdateResult
{
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,17 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Adminhtml\Authorizenet\Directpost\Payment;

abstract class Start extends \Magento\Sales\Controller\Adminhtml\Order\Create
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Sales\Controller\Adminhtml\Order\Create;

/**
* Class Start
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
abstract class Start extends Create implements HttpPostActionInterface
{
}
11 changes: 10 additions & 1 deletion app/code/Magento/Authorizenet/Controller/Directpost/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,22 @@
* Copyright © Magento, Inc. All rights reserved.
* See COPYING.txt for license details.
*/
declare(strict_types=1);

namespace Magento\Authorizenet\Controller\Directpost;

use Magento\Framework\App\Action\HttpGetActionInterface;
use Magento\Framework\App\Action\HttpPostActionInterface;
use Magento\Payment\Block\Transparent\Iframe;
use Magento\Framework\App\Action\Action;

/**
* DirectPost Payment Controller
*
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
* @deprecated 2.3.1 Authorize.net is removing all support for this payment method
*/
abstract class Payment extends \Magento\Framework\App\Action\Action
abstract class Payment extends Action implements HttpGetActionInterface, HttpPostActionInterface
{
/**
* Core registry
Expand Down Expand Up @@ -44,6 +50,8 @@ public function __construct(
}

/**
* Get checkout model
*
* @return \Magento\Checkout\Model\Session
*/
protected function _getCheckout()
Expand All @@ -63,6 +71,7 @@ protected function _getDirectPostSession()

/**
* Response action.
*
* Action for Authorize.net SIM Relay Request.
*
* @param string $area
Expand Down
Loading

0 comments on commit 2f1bc31

Please sign in to comment.