Skip to content

Remove forbidden @author tag #37016

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 9 commits into
base: 2.4-develop
Choose a base branch
from
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Rule report resource model with aggregation by updated at
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Updatedat extends \Magento\SalesRule\Model\ResourceModel\Report\Rule\Createdat
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Sales report coupons collection
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Collection extends \Magento\SalesRule\Model\ResourceModel\Report\Collection
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* SalesRule Rule Customer Model Resource
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Customer extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* SalesRule Model Resource Rule Customer_Collection
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection
{
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/SalesRule/Model/Rule/Condition/Product.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Product rule condition data model
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct
{
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/SalesRule/Model/Rule/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,6 @@
* @method \Magento\SalesRule\Model\Rule\Customer setCustomerId(int $value)
* @method int getTimesUsed()
* @method \Magento\SalesRule\Model\Rule\Customer setTimesUsed(int $value)
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Customer extends \Magento\Framework\Model\AbstractModel
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Options for Code Format Field in Auto Generated Specific Coupon Codes configuration section
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Format implements \Magento\Framework\Option\ArrayInterface
{
/**
* Sales rule coupon
*
* @var \Magento\SalesRule\Helper\Coupon
*/
protected $_salesRuleCoupon = null;
Expand All @@ -28,7 +24,7 @@ public function __construct(\Magento\SalesRule\Helper\Coupon $salesRuleCoupon)
}

/**
* {@inheritdoc}
* @inheritdoc
*/
public function toOptionArray()
{
Expand Down
6 changes: 1 addition & 5 deletions app/code/Magento/SendFriend/Block/Send.php
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,16 @@
* Email to a Friend Block
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class Send extends \Magento\Framework\View\Element\Template
{
/**
* SendFriend data
*
* @var \Magento\SendFriend\Helper\Data
*/
protected $_sendfriendData = null;

/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down Expand Up @@ -229,6 +224,7 @@ public function canSend()
/**
* @inheritdoc
* @since 100.3.1
* phpstan:ignore
*/
protected function _prepareLayout()
{
Expand Down
20 changes: 9 additions & 11 deletions app/code/Magento/SendFriend/Helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,28 @@
/**
* SendFriend Data Helper
*
* @author Magento Core Team <core@magentocommerce.com>
*
* @api
* @since 100.0.2
*/
class Data extends \Magento\Framework\App\Helper\AbstractHelper
{
const XML_PATH_ENABLED = 'sendfriend/email/enabled';
public const XML_PATH_ENABLED = 'sendfriend/email/enabled';

const XML_PATH_ALLOW_FOR_GUEST = 'sendfriend/email/allow_guest';
public const XML_PATH_ALLOW_FOR_GUEST = 'sendfriend/email/allow_guest';

const XML_PATH_MAX_RECIPIENTS = 'sendfriend/email/max_recipients';
public const XML_PATH_MAX_RECIPIENTS = 'sendfriend/email/max_recipients';

const XML_PATH_MAX_PER_HOUR = 'sendfriend/email/max_per_hour';
public const XML_PATH_MAX_PER_HOUR = 'sendfriend/email/max_per_hour';

const XML_PATH_LIMIT_BY = 'sendfriend/email/check_by';
public const XML_PATH_LIMIT_BY = 'sendfriend/email/check_by';

const XML_PATH_EMAIL_TEMPLATE = 'sendfriend/email/template';
public const XML_PATH_EMAIL_TEMPLATE = 'sendfriend/email/template';

const COOKIE_NAME = 'stf';
public const COOKIE_NAME = 'stf';

const CHECK_IP = 1;
public const CHECK_IP = 1;

const CHECK_COOKIE = 0;
public const CHECK_COOKIE = 0;

/**
* Check is enabled Module
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,6 @@
/**
* SendFriend log resource collection
*
* @author Magento Core Team <core@magentocommerce.com>
*
* @api
* @since 100.0.2
*/
Expand Down
1 change: 0 additions & 1 deletion app/code/Magento/SendFriend/Model/SendFriend.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
* @method int getTime()
* @method \Magento\SendFriend\Model\SendFriend setTime(int $value)
*
* @author Magento Core Team <core@magentocommerce.com>
* @SuppressWarnings(PHPMD.CookieAndSessionMisuse)
* @SuppressWarnings(PHPMD.CouplingBetweenObjects)
*
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/SendFriend/Model/Source/Checktype.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Send to a Friend Limit sending by Source
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\SendFriend\Model\Source;

Expand Down
15 changes: 12 additions & 3 deletions app/code/Magento/Shipping/Block/Adminhtml/View.php
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,11 @@
* Adminhtml shipment create
*
* @api
* @author Magento Core Team <core@magentocommerce.com>
* @since 100.0.2
*/
class View extends \Magento\Backend\Block\Widget\Form\Container
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand All @@ -36,6 +33,8 @@ public function __construct(
}

/**
* Initialize View
*
* @return void
*/
protected function _construct()
Expand Down Expand Up @@ -85,6 +84,8 @@ public function getShipment()
}

/**
* Header Text get
*
* @return \Magento\Framework\Phrase
*/
public function getHeaderText()
Expand All @@ -107,6 +108,8 @@ public function getHeaderText()
}

/**
* Get URL
*
* @return string
*/
public function getBackUrl()
Expand All @@ -121,6 +124,8 @@ public function getBackUrl()
}

/**
* Get Email Url
*
* @return string
*/
public function getEmailUrl()
Expand All @@ -129,6 +134,8 @@ public function getEmailUrl()
}

/**
* Get Print Url
*
* @return string
*/
public function getPrintUrl()
Expand All @@ -137,6 +144,8 @@ public function getPrintUrl()
}

/**
* Update back button url
*
* @param bool $flag
* @return $this
*/
Expand Down
4 changes: 0 additions & 4 deletions app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Adminhtml sales shipment comment view block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Shipping\Block\Adminhtml\View;

Expand All @@ -18,8 +16,6 @@
class Comments extends \Magento\Backend\Block\Text\ListText
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Shipping/Block/Adminhtml/View/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Shipment view form
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Shipping\Block\Adminhtml\View;

Expand Down
4 changes: 0 additions & 4 deletions app/code/Magento/Shipping/Block/Items.php
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,6 @@

/**
* Sales order view items block
*
* @author Magento Core Team <core@magentocommerce.com>
*/
namespace Magento\Shipping\Block;

Expand All @@ -20,8 +18,6 @@
class Items extends \Magento\Sales\Block\Items\AbstractItems
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Shipping/Model/Shipment/Request.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
* @method string getShippingMethod()
* @method \Magento\Shipping\Model\Shipment\Request setPackageWeight(float $value)
* @method float getPackageWeight()
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Request extends \Magento\Framework\DataObject
{
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Shipping/Model/Shipment/ReturnShipment.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,6 @@
* @method string getShippingMethod()
* @method \Magento\Shipping\Model\Shipment\Request setPackageWeight(float $value)
* @method float getPackageWeight()
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class ReturnShipment extends \Magento\Framework\DataObject
{
Expand Down
4 changes: 0 additions & 4 deletions app/code/Magento/Sitemap/Block/Adminhtml/Edit.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,10 @@

/**
* Sitemap edit form container
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Edit extends \Magento\Backend\Block\Widget\Form\Container
{
/**
* Core registry
*
* @var \Magento\Framework\Registry
*/
protected $_coreRegistry = null;
Expand Down
2 changes: 0 additions & 2 deletions app/code/Magento/Sitemap/Block/Adminhtml/Edit/Form.php
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@

/**
* Sitemap edit form
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Form extends \Magento\Backend\Block\Widget\Form\Generic
{
Expand Down
14 changes: 5 additions & 9 deletions app/code/Magento/Sitemap/Model/Observer.php
Original file line number Diff line number Diff line change
Expand Up @@ -16,41 +16,37 @@

/**
* Sitemap module observer
*
* @author Magento Core Team <core@magentocommerce.com>
*/
class Observer
{
/**
* Enable/disable configuration
*/
const XML_PATH_GENERATION_ENABLED = 'sitemap/generate/enabled';
public const XML_PATH_GENERATION_ENABLED = 'sitemap/generate/enabled';

/**
* Cronjob expression configuration
*
* @deprecated Use \Magento\Cron\Model\Config\Backend\Sitemap::CRON_STRING_PATH instead.
*/
const XML_PATH_CRON_EXPR = 'crontab/default/jobs/generate_sitemaps/schedule/cron_expr';
public const XML_PATH_CRON_EXPR = 'crontab/default/jobs/generate_sitemaps/schedule/cron_expr';

/**
* Error email template configuration
*/
const XML_PATH_ERROR_TEMPLATE = 'sitemap/generate/error_email_template';
public const XML_PATH_ERROR_TEMPLATE = 'sitemap/generate/error_email_template';

/**
* Error email identity configuration
*/
const XML_PATH_ERROR_IDENTITY = 'sitemap/generate/error_email_identity';
public const XML_PATH_ERROR_IDENTITY = 'sitemap/generate/error_email_identity';

/**
* 'Send error emails to' configuration
*/
const XML_PATH_ERROR_RECIPIENT = 'sitemap/generate/error_email';
public const XML_PATH_ERROR_RECIPIENT = 'sitemap/generate/error_email';

/**
* Core store config
*
* @var \Magento\Framework\App\Config\ScopeConfigInterface
*/
private $scopeConfig;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
/**
* Sitemap resource model collection
*
* @author Magento Core Team <core@magentocommerce.com>
* @api
* @since 100.0.2
*/
Expand Down