Skip to content

Remove forbidden @author tag #37015

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 5 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
2 changes: 0 additions & 2 deletions app/code/Magento/Sales/Model/ResourceModel/Order/Tax.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Order Tax Model
*
* @author Magento Core Team <[email protected]>
*/
class Tax extends \Magento\Sales\Model\ResourceModel\EntityAbstract
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Order Tax Collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends \Magento\Sales\Model\ResourceModel\Collection\AbstractCollection
{
Expand Down
3 changes: 1 addition & 2 deletions app/code/Magento/Sales/Model/ResourceModel/Report.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,14 @@

/**
* Sales report resource model
*
* @author Magento Core Team <[email protected]>
*/
class Report extends \Magento\Sales\Model\ResourceModel\EntityAbstract
{
/**
* Resource initialization
*
* @return void
* phpcs:disable Magento2.CodeAnalysis.EmptyBlock
*/
protected function _construct()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Order report resource model
*
* @author Magento Core Team <[email protected]>
*/
abstract class AbstractReport extends \Magento\Reports\Model\ResourceModel\Report\AbstractReport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Report collection abstract model
*
* @author Magento Core Team <[email protected]>
*/
class AbstractCollection extends \Magento\Reports\Model\ResourceModel\Report\Collection\AbstractCollection
{
/**
* Order status
*
* @var string
*/
protected $_orderStatus = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Invoice report resource model
*
* @author Magento Core Team <[email protected]>
*/
class Invoiced extends AbstractReport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Sales report invoiced collection
*
* @author Magento Core Team <[email protected]>
*/
class Invoiced extends Order
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Sales report invoiced collection
*
* @author Magento Core Team <[email protected]>
*/
class Order extends \Magento\Sales\Model\ResourceModel\Report\Collection\AbstractCollection
{
/**
* Period format
*
* @var string
*/
protected $_periodFormat;
Expand Down Expand Up @@ -84,6 +80,8 @@ protected function _getSelectedColumns()
}

/**
* Before load
*
* @return $this
*/
protected function _beforeLoad()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Report order collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends \Magento\Sales\Model\ResourceModel\Report\Collection\AbstractCollection
{
/**
* Period format
*
* @var string
*/
protected $_periodFormat;
Expand All @@ -27,8 +23,6 @@ class Collection extends \Magento\Sales\Model\ResourceModel\Report\Collection\Ab
protected $_aggregationTable = 'sales_order_aggregated_created';

/**
* Selected columns
*
* @var array
*/
protected $_selectedColumns = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Order entity resource model with aggregation by created at
*
* @author Magento Core Team <[email protected]>
*/
class Createdat extends \Magento\Sales\Model\ResourceModel\Report\AbstractReport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Order entity resource model with aggregation by updated at
*
* @author Magento Core Team <[email protected]>
*/
class Updatedat extends Createdat
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Report order updated_at collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends \Magento\Sales\Model\ResourceModel\Report\Order\Collection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Refund report resource model
*
* @author Magento Core Team <[email protected]>
*/
class Refunded extends AbstractReport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@

/**
* Sales report refunded collection
*
* @author Magento Core Team <[email protected]>
*/
class Order extends \Magento\Sales\Model\ResourceModel\Report\Collection\AbstractCollection
{
/**
* Period format
*
* @var string
*/
protected $_periodFormat;

/**
* Selected columns
*
* @var array
*/
protected $_selectedColumns = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Sales report refunded collection
*
* @author Magento Core Team <[email protected]>
*/
class Refunded extends Order
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Shipping report resource model
*
* @author Magento Core Team <[email protected]>
*/
class Shipping extends AbstractReport
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,15 @@

/**
* Sales report shipping collection
*
* @author Magento Core Team <[email protected]>
*/
class Order extends \Magento\Sales\Model\ResourceModel\Report\Collection\AbstractCollection
{
/**
* Period format
*
* @var string
*/
protected $_periodFormat;

/**
* Selected columns
*
* @var array
*/
protected $_selectedColumns = [];
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Sales report shipping collection
*
* @author Magento Core Team <[email protected]>
*/
class Shipment extends Order
{
Expand Down
5 changes: 1 addition & 4 deletions app/code/Magento/Sales/Model/Status/ListStatus.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
* Service model for managing statuses information. Statuses are just records with code, message and any
* additional data. The model helps to keep track and manipulate statuses, that different modules want to set
* to owner object of this model.
*
* @author Magento Core Team <[email protected]>
*/
class ListStatus
{
Expand Down Expand Up @@ -89,8 +87,7 @@ public function removeItemsByParams($params)
}

/**
* Removes items at mentioned index/indexes.
* Returns items removed.
* Removes items at mentioned index/indexes. Returns items removed.
*
* @param int|array $indexes
* @return array
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/SalesRule/Block/Adminhtml/Promo/Quote.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
* Catalog price rules
*
* @api
* @author Magento Core Team <[email protected]>
* @since 100.0.2
*/
class Quote extends \Magento\Backend\Block\Widget\Grid\Container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,45 +7,43 @@

/**
* "Manage Coupons Codes" Tab
*
* @author Magento Core Team <[email protected]>
*/
class Coupons extends \Magento\Framework\View\Element\Template implements \Magento\Backend\Block\Widget\Tab\TabInterface
{
/**
* {@inheritdoc}
* @inheritdoc
*/
public function getTabLabel()
{
return __('Manage Coupon Codes');
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function getTabTitle()
{
return __('Manage Coupon Codes');
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function canShowTab()
{
return true;
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function isHidden()
{
return false;
}

/**
* {@inheritdoc}
* @inheritdoc
* @codeCoverageIgnore
*/
public function setCanSHow($canShow)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,15 +10,11 @@
/**
* Coupons generation parameters form
*
* @author Magento Core Team <[email protected]>
*
* Class \Magento\SalesRule\Block\Adminhtml\Promo\Quote\Edit\Tab\Coupons\Form
*/
class Form extends \Magento\Backend\Block\Widget\Form\Generic
{
/**
* Sales rule coupon
*
* @var \Magento\SalesRule\Helper\Coupon
*/
protected $_salesRuleCoupon = null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@

/**
* Coupon codes grid "Used" column renderer
*
* @author Magento Core Team <[email protected]>
*/
class Used extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Text
{
/**
* Render
*
* @param \Magento\Framework\DataObject $row
* @return string
*/
Expand Down
8 changes: 2 additions & 6 deletions app/code/Magento/SalesRule/Model/Coupon/Massgenerator.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,19 @@

/**
* SalesRule Mass Coupon Generator
*
* @author Magento Core Team <[email protected]>
*/
class Massgenerator extends \Magento\Framework\Model\AbstractModel implements
\Magento\SalesRule\Model\Coupon\CodegeneratorInterface
{
/**
* Maximum probability of guessing the coupon on the first attempt
*/
const MAX_PROBABILITY_OF_GUESSING = 0.25;
public const MAX_PROBABILITY_OF_GUESSING = 0.25;

/**
* Number of attempts to generate
*/
const MAX_GENERATE_ATTEMPTS = 10;
public const MAX_GENERATE_ATTEMPTS = 10;

/**
* Count of generated Coupons
Expand All @@ -35,8 +33,6 @@ class Massgenerator extends \Magento\Framework\Model\AbstractModel implements
protected $generatedCodes = [];

/**
* Sales rule coupon
*
* @var \Magento\SalesRule\Helper\Coupon
*/
protected $salesRuleCoupon;
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/SalesRule/Model/ResourceModel/Coupon.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@

/**
* SalesRule Resource Coupon
*
* @author Magento Core Team <[email protected]>
*/
class Coupon extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb implements
\Magento\SalesRule\Model\Spi\CouponResourceInterface
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,6 @@

/**
* SalesRule Model Resource Coupon_Collection
*
* @author Magento Core Team <[email protected]>
*/
class Collection extends AbstractCollection
{
Expand Down
Loading