diff --git a/app/code/Magento/SalesRule/Model/ResourceModel/Report/Rule/Updatedat.php b/app/code/Magento/SalesRule/Model/ResourceModel/Report/Rule/Updatedat.php index 2f599dd0d78ae..ed214171d5638 100644 --- a/app/code/Magento/SalesRule/Model/ResourceModel/Report/Rule/Updatedat.php +++ b/app/code/Magento/SalesRule/Model/ResourceModel/Report/Rule/Updatedat.php @@ -7,8 +7,6 @@ /** * Rule report resource model with aggregation by updated at - * - * @author Magento Core Team */ class Updatedat extends \Magento\SalesRule\Model\ResourceModel\Report\Rule\Createdat { diff --git a/app/code/Magento/SalesRule/Model/ResourceModel/Report/Updatedat/Collection.php b/app/code/Magento/SalesRule/Model/ResourceModel/Report/Updatedat/Collection.php index 0e408787beb7f..5902b63ce821c 100644 --- a/app/code/Magento/SalesRule/Model/ResourceModel/Report/Updatedat/Collection.php +++ b/app/code/Magento/SalesRule/Model/ResourceModel/Report/Updatedat/Collection.php @@ -7,8 +7,6 @@ /** * Sales report coupons collection - * - * @author Magento Core Team */ class Collection extends \Magento\SalesRule\Model\ResourceModel\Report\Collection { diff --git a/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer.php b/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer.php index 374c3fe505cdc..44e93d2d80ecb 100644 --- a/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer.php +++ b/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer.php @@ -7,8 +7,6 @@ /** * SalesRule Rule Customer Model Resource - * - * @author Magento Core Team */ class Customer extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { diff --git a/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer/Collection.php b/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer/Collection.php index d4b92110b955b..9bddea3a426cd 100644 --- a/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer/Collection.php +++ b/app/code/Magento/SalesRule/Model/ResourceModel/Rule/Customer/Collection.php @@ -7,8 +7,6 @@ /** * SalesRule Model Resource Rule Customer_Collection - * - * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/SalesRule/Model/Rule/Condition/Product.php b/app/code/Magento/SalesRule/Model/Rule/Condition/Product.php index cc65876fb513f..6bc8313458a0f 100644 --- a/app/code/Magento/SalesRule/Model/Rule/Condition/Product.php +++ b/app/code/Magento/SalesRule/Model/Rule/Condition/Product.php @@ -7,8 +7,6 @@ /** * Product rule condition data model - * - * @author Magento Core Team */ class Product extends \Magento\Rule\Model\Condition\Product\AbstractProduct { diff --git a/app/code/Magento/SalesRule/Model/Rule/Customer.php b/app/code/Magento/SalesRule/Model/Rule/Customer.php index 34f643aca5983..50700b287adbc 100644 --- a/app/code/Magento/SalesRule/Model/Rule/Customer.php +++ b/app/code/Magento/SalesRule/Model/Rule/Customer.php @@ -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 */ class Customer extends \Magento\Framework\Model\AbstractModel { diff --git a/app/code/Magento/SalesRule/Model/System/Config/Source/Coupon/Format.php b/app/code/Magento/SalesRule/Model/System/Config/Source/Coupon/Format.php index 04e9b525f5274..43d7bd4be612d 100644 --- a/app/code/Magento/SalesRule/Model/System/Config/Source/Coupon/Format.php +++ b/app/code/Magento/SalesRule/Model/System/Config/Source/Coupon/Format.php @@ -7,14 +7,10 @@ /** * Options for Code Format Field in Auto Generated Specific Coupon Codes configuration section - * - * @author Magento Core Team */ class Format implements \Magento\Framework\Option\ArrayInterface { /** - * Sales rule coupon - * * @var \Magento\SalesRule\Helper\Coupon */ protected $_salesRuleCoupon = null; @@ -28,7 +24,7 @@ public function __construct(\Magento\SalesRule\Helper\Coupon $salesRuleCoupon) } /** - * {@inheritdoc} + * @inheritdoc */ public function toOptionArray() { diff --git a/app/code/Magento/SendFriend/Block/Send.php b/app/code/Magento/SendFriend/Block/Send.php index 6f2154ba29f47..a2bc2f49d32ee 100644 --- a/app/code/Magento/SendFriend/Block/Send.php +++ b/app/code/Magento/SendFriend/Block/Send.php @@ -12,21 +12,16 @@ * Email to a Friend Block * * @api - * @author Magento Core Team * @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; @@ -229,6 +224,7 @@ public function canSend() /** * @inheritdoc * @since 100.3.1 + * phpstan:ignore */ protected function _prepareLayout() { diff --git a/app/code/Magento/SendFriend/Helper/Data.php b/app/code/Magento/SendFriend/Helper/Data.php index 7725ad605aea2..4776afc713f4d 100644 --- a/app/code/Magento/SendFriend/Helper/Data.php +++ b/app/code/Magento/SendFriend/Helper/Data.php @@ -9,30 +9,28 @@ /** * SendFriend Data Helper * - * @author Magento Core Team - * * @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 diff --git a/app/code/Magento/SendFriend/Model/ResourceModel/SendFriend/Collection.php b/app/code/Magento/SendFriend/Model/ResourceModel/SendFriend/Collection.php index c06151deff9fd..36cc9564ea595 100644 --- a/app/code/Magento/SendFriend/Model/ResourceModel/SendFriend/Collection.php +++ b/app/code/Magento/SendFriend/Model/ResourceModel/SendFriend/Collection.php @@ -8,8 +8,6 @@ /** * SendFriend log resource collection * - * @author Magento Core Team - * * @api * @since 100.0.2 */ diff --git a/app/code/Magento/SendFriend/Model/SendFriend.php b/app/code/Magento/SendFriend/Model/SendFriend.php index d1dc34ec6dff9..d99d85de7906a 100644 --- a/app/code/Magento/SendFriend/Model/SendFriend.php +++ b/app/code/Magento/SendFriend/Model/SendFriend.php @@ -22,7 +22,6 @@ * @method int getTime() * @method \Magento\SendFriend\Model\SendFriend setTime(int $value) * - * @author Magento Core Team * @SuppressWarnings(PHPMD.CookieAndSessionMisuse) * @SuppressWarnings(PHPMD.CouplingBetweenObjects) * diff --git a/app/code/Magento/SendFriend/Model/Source/Checktype.php b/app/code/Magento/SendFriend/Model/Source/Checktype.php index 231e5944beb9a..78c098f2575bb 100644 --- a/app/code/Magento/SendFriend/Model/Source/Checktype.php +++ b/app/code/Magento/SendFriend/Model/Source/Checktype.php @@ -6,8 +6,6 @@ /** * Send to a Friend Limit sending by Source - * - * @author Magento Core Team */ namespace Magento\SendFriend\Model\Source; diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View.php b/app/code/Magento/Shipping/Block/Adminhtml/View.php index 04df7f6e35e24..bc53c0f87c100 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View.php @@ -9,14 +9,11 @@ * Adminhtml shipment create * * @api - * @author Magento Core Team * @since 100.0.2 */ class View extends \Magento\Backend\Block\Widget\Form\Container { /** - * Core registry - * * @var \Magento\Framework\Registry */ protected $_coreRegistry = null; @@ -36,6 +33,8 @@ public function __construct( } /** + * Initialize View + * * @return void */ protected function _construct() @@ -85,6 +84,8 @@ public function getShipment() } /** + * Header Text get + * * @return \Magento\Framework\Phrase */ public function getHeaderText() @@ -107,6 +108,8 @@ public function getHeaderText() } /** + * Get URL + * * @return string */ public function getBackUrl() @@ -121,6 +124,8 @@ public function getBackUrl() } /** + * Get Email Url + * * @return string */ public function getEmailUrl() @@ -129,6 +134,8 @@ public function getEmailUrl() } /** + * Get Print Url + * * @return string */ public function getPrintUrl() @@ -137,6 +144,8 @@ public function getPrintUrl() } /** + * Update back button url + * * @param bool $flag * @return $this */ diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php b/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php index 7c852d7ebbf71..ce71a17dab223 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View/Comments.php @@ -6,8 +6,6 @@ /** * Adminhtml sales shipment comment view block - * - * @author Magento Core Team */ namespace Magento\Shipping\Block\Adminhtml\View; @@ -18,8 +16,6 @@ class Comments extends \Magento\Backend\Block\Text\ListText { /** - * Core registry - * * @var \Magento\Framework\Registry */ protected $_coreRegistry = null; diff --git a/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php b/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php index 8467a34ed0368..5f7e7ba864aac 100644 --- a/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php +++ b/app/code/Magento/Shipping/Block/Adminhtml/View/Form.php @@ -6,8 +6,6 @@ /** * Shipment view form - * - * @author Magento Core Team */ namespace Magento\Shipping\Block\Adminhtml\View; diff --git a/app/code/Magento/Shipping/Block/Items.php b/app/code/Magento/Shipping/Block/Items.php index 59f92e8ea303d..d1d011328eb24 100644 --- a/app/code/Magento/Shipping/Block/Items.php +++ b/app/code/Magento/Shipping/Block/Items.php @@ -6,8 +6,6 @@ /** * Sales order view items block - * - * @author Magento Core Team */ namespace Magento\Shipping\Block; @@ -20,8 +18,6 @@ class Items extends \Magento\Sales\Block\Items\AbstractItems { /** - * Core registry - * * @var \Magento\Framework\Registry */ protected $_coreRegistry = null; diff --git a/app/code/Magento/Shipping/Model/Shipment/Request.php b/app/code/Magento/Shipping/Model/Shipment/Request.php index 23f7924dc0c3a..1ddc0078d0efc 100644 --- a/app/code/Magento/Shipping/Model/Shipment/Request.php +++ b/app/code/Magento/Shipping/Model/Shipment/Request.php @@ -60,8 +60,6 @@ * @method string getShippingMethod() * @method \Magento\Shipping\Model\Shipment\Request setPackageWeight(float $value) * @method float getPackageWeight() - * - * @author Magento Core Team */ class Request extends \Magento\Framework\DataObject { diff --git a/app/code/Magento/Shipping/Model/Shipment/ReturnShipment.php b/app/code/Magento/Shipping/Model/Shipment/ReturnShipment.php index 6a67c5b9c8f97..6ecd199ba9476 100644 --- a/app/code/Magento/Shipping/Model/Shipment/ReturnShipment.php +++ b/app/code/Magento/Shipping/Model/Shipment/ReturnShipment.php @@ -60,8 +60,6 @@ * @method string getShippingMethod() * @method \Magento\Shipping\Model\Shipment\Request setPackageWeight(float $value) * @method float getPackageWeight() - * - * @author Magento Core Team */ class ReturnShipment extends \Magento\Framework\DataObject { diff --git a/app/code/Magento/Sitemap/Block/Adminhtml/Edit.php b/app/code/Magento/Sitemap/Block/Adminhtml/Edit.php index d1b5fd1df45c4..91bb648b641bb 100644 --- a/app/code/Magento/Sitemap/Block/Adminhtml/Edit.php +++ b/app/code/Magento/Sitemap/Block/Adminhtml/Edit.php @@ -7,14 +7,10 @@ /** * Sitemap edit form container - * - * @author Magento Core Team */ class Edit extends \Magento\Backend\Block\Widget\Form\Container { /** - * Core registry - * * @var \Magento\Framework\Registry */ protected $_coreRegistry = null; diff --git a/app/code/Magento/Sitemap/Block/Adminhtml/Edit/Form.php b/app/code/Magento/Sitemap/Block/Adminhtml/Edit/Form.php index 267fa034337ab..4d8355d635aae 100644 --- a/app/code/Magento/Sitemap/Block/Adminhtml/Edit/Form.php +++ b/app/code/Magento/Sitemap/Block/Adminhtml/Edit/Form.php @@ -7,8 +7,6 @@ /** * Sitemap edit form - * - * @author Magento Core Team */ class Form extends \Magento\Backend\Block\Widget\Form\Generic { diff --git a/app/code/Magento/Sitemap/Model/Observer.php b/app/code/Magento/Sitemap/Model/Observer.php index 4333c71c7497f..7f8f04b5b0417 100644 --- a/app/code/Magento/Sitemap/Model/Observer.php +++ b/app/code/Magento/Sitemap/Model/Observer.php @@ -16,41 +16,37 @@ /** * Sitemap module observer - * - * @author Magento Core Team */ 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; diff --git a/app/code/Magento/Sitemap/Model/ResourceModel/Sitemap/Collection.php b/app/code/Magento/Sitemap/Model/ResourceModel/Sitemap/Collection.php index 9b2128ffe3328..c1b138808974d 100644 --- a/app/code/Magento/Sitemap/Model/ResourceModel/Sitemap/Collection.php +++ b/app/code/Magento/Sitemap/Model/ResourceModel/Sitemap/Collection.php @@ -8,7 +8,6 @@ /** * Sitemap resource model collection * - * @author Magento Core Team * @api * @since 100.0.2 */