Skip to content

Remove forbidden @author tag #37012

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: 2.4-develop
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Discount extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
Expand All @@ -24,9 +23,9 @@ class Discount extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Grandtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/grandtotal.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Grandtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defa
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Shipping extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/shipping.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Shipping extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,21 +10,16 @@
/**
* Subtotal Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Subtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/subtotal.phtml';

/**
* Tax config
*
* @var \Magento\Tax\Model\Config
*/
protected $_taxConfig;
Expand All @@ -33,9 +28,9 @@ class Subtotal extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\Defaul
* @param \Magento\Backend\Block\Template\Context $context
* @param \Magento\Backend\Model\Session\Quote $sessionQuote
* @param \Magento\Sales\Model\AdminOrder\Create $orderCreate
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Sales\Helper\Data $salesData
* @param \Magento\Sales\Model\Config $salesConfig
* @param PriceCurrencyInterface $priceCurrency
* @param \Magento\Tax\Model\Config $taxConfig
* @param array $data
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,10 @@

/**
* Adminhtml sales order create totals table block
*
* @author Magento Core Team <[email protected]>
*/
class Table extends \Magento\Backend\Block\Template
{
/**
* Website collection
*
* @var Collection|null
*/
protected $_websiteCollection = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
/**
* Tax Total Row Renderer
*
* @author Magento Core Team <[email protected]>
* @SuppressWarnings(PHPMD.DepthOfInheritance)
*/
class Tax extends \Magento\Sales\Block\Adminhtml\Order\Create\Totals\DefaultTotals
Expand Down Expand Up @@ -42,8 +41,6 @@ public function __construct(
}

/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/create/totals/tax.phtml';
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@
* Adminhtml order creditmemo totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Totals extends \Magento\Sales\Block\Adminhtml\Totals
{
/**
* Creditmemo
*
* @var Creditmemo|null
*/
protected $_creditmemo;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
* Adminhtml creditmemo view
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class View extends \Magento\Backend\Block\Widget\Form\Container
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
* Adminhtml sales shipment comment view block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Comments extends \Magento\Backend\Block\Text\ListText
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Creditmemo view form
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* Adminhtml invoice create form
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
* Adminhtml order invoice totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Totals extends \Magento\Sales\Block\Adminhtml\Totals
Expand Down
5 changes: 0 additions & 5 deletions app/code/Magento/Sales/Block/Adminhtml/Order/Invoice/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
* Adminhtml invoice create
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class View extends \Magento\Backend\Block\Widget\Form\Container
Expand All @@ -23,15 +22,11 @@ class View extends \Magento\Backend\Block\Widget\Form\Container
protected $_session;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;

/**
* Backend session
*
* @var \Magento\Backend\Model\Auth\Session
*/
protected $_backendSession;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
* Adminhtml sales shipment comment view block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Comments extends \Magento\Backend\Block\Text\ListText
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Invoice view form
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Form extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
3 changes: 0 additions & 3 deletions app/code/Magento/Sales/Block/Adminhtml/Order/Payment.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,11 @@
* Adminhtml sales order payment information
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Payment extends \Magento\Backend\Block\Template
{
/**
* Payment data
*
* @var \Magento\Payment\Helper\Data
*/
protected $_paymentData = null;
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Sales/Block/Adminhtml/Order/Status.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Adminhtml sales order's status management block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Status extends \Magento\Backend\Block\Widget\Grid\Container
Expand Down
4 changes: 1 addition & 3 deletions app/code/Magento/Sales/Block/Adminhtml/Order/Totalbar.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,12 @@
*
* @deprecated 101.0.6
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
* @see Nothing
*/
class Totalbar extends \Magento\Sales\Block\Adminhtml\Order\AbstractOrder
{
/**
* Totals
*
* @var array
*/
protected $_totals = [];
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/Sales/Block/Adminhtml/Order/Totals.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Adminhtml order totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Totals extends \Magento\Sales\Block\Adminhtml\Totals//\Magento\Sales\Block\Adminhtml\Order\AbstractOrder
Expand Down
11 changes: 1 addition & 10 deletions app/code/Magento/Sales/Block/Adminhtml/Order/Totals/Tax.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,35 +12,26 @@
* Adminhtml order tax totals block
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Tax extends \Magento\Tax\Block\Sales\Order\Tax
{
/**
* Tax helper
*
* @var \Magento\Tax\Helper\Data
*/
protected $_taxHelper;

/**
* Tax calculation
*
* @var \Magento\Tax\Model\Calculation
*/
protected $_taxCalculation;

/**
* Tax factory
*
* @var \Magento\Tax\Model\Sales\Order\TaxFactory
*/
protected $_taxOrderFactory;

/**
* Sales admin helper
*
* @var \Magento\Sales\Helper\Admin
*/
protected $_salesAdminHelper;
Expand Down Expand Up @@ -89,7 +80,7 @@ public function getFullTaxInfo()
}

$taxClassAmount = [];
if (empty($source)) {
if ($source == null) {
return $taxClassAmount;
}

Expand Down
4 changes: 0 additions & 4 deletions app/code/Magento/Sales/Block/Adminhtml/Order/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Adminhtml sales order view plane
*
* @author Magento Core Team <[email protected]>
*/
class Form extends \Magento\Backend\Block\Template
{
/**
* Template
*
* @var string
*/
protected $_template = 'Magento_Sales::order/view/form.phtml';
Expand Down
Loading