From 6402c773ff64789a4aff7d319b2bce49a4c903ee Mon Sep 17 00:00:00 2001 From: Dan Wallis Date: Tue, 7 Mar 2023 13:59:00 +0000 Subject: [PATCH 1/3] Remove forbidden @author tag --- .../Magento/Quote/Model/ResourceModel/Quote/Item/Option.php | 2 -- .../Quote/Model/ResourceModel/Quote/Item/Option/Collection.php | 2 -- .../Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Grid.php | 1 - .../Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php | 2 -- .../Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php | 1 - .../Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php | 2 -- .../Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Product.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php | 2 -- .../Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php | 2 -- .../Block/Adminhtml/Product/Downloads/Renderer/Purchases.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php | 1 - .../Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php | 1 - .../Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php | 2 -- app/code/Magento/Reports/Block/Adminhtml/Review/Product.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php | 1 - .../Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php | 1 - app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php | 1 - .../Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php | 1 - 33 files changed, 46 deletions(-) diff --git a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php index 36845f5f53941..a39c1ba58734c 100644 --- a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php +++ b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php @@ -7,8 +7,6 @@ /** * Item option resource model - * - * @author Magento Core Team */ class Option extends \Magento\Framework\Model\ResourceModel\Db\AbstractDb { diff --git a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php index c4d684b5f01d9..6d20675ed5861 100644 --- a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php +++ b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php @@ -9,8 +9,6 @@ /** * Item option collection - * - * @author Magento Core Team */ class Collection extends \Magento\Framework\Model\ResourceModel\Db\Collection\AbstractCollection { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php b/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php index fdc79440384d0..c6f724be53e60 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php @@ -9,8 +9,6 @@ /** * Dashboard Month-To-Date Day starts Field Renderer - * - * @author Magento Core Team */ class MtdStart extends \Magento\Config\Block\System\Config\Form\Field { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php index be30c9e7bbc45..c3b224df1004d 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php @@ -9,7 +9,6 @@ * Backend new accounts report page content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Accounts extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php index 88efc61153d1c..1bea1c88576e3 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php @@ -9,7 +9,6 @@ * Backend customers by orders report content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Orders extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php index 5c4da1a76f0e6..02b73b2c10b57 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php @@ -9,7 +9,6 @@ * Backend customers by totals report content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Totals extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php b/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php index b7b669163e93c..6e9cc654d96ce 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php @@ -9,7 +9,6 @@ /** * Adminhtml report filter form * - * @author Magento Core Team * @api * @since 100.0.2 */ diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Grid.php index eade7250f6123..7d4cf2e611f92 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid.php @@ -16,7 +16,6 @@ * Backend report grid block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Grid extends \Magento\Backend\Block\Widget\Grid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php index 581c7b18f24a1..3c67b0486403d 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php @@ -7,8 +7,6 @@ /** * Adminhtml grid item renderer number or blank line - * - * @author Magento Core Team */ class Blanknumber extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Number { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php index 57006ff6c9bf6..dce9bb4ca53c2 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Currency.php @@ -23,7 +23,6 @@ /** * Adminhtml grid item renderer currency * - * @author Magento Core Team * @api * @since 100.0.2 * diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php index 1bf6a4120b74c..7a8bfe5cf8d3a 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php @@ -7,8 +7,6 @@ /** * Adminhtml Report Customers Reviews renderer - * - * @author Magento Core Team */ class Customer extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php index 97fee9acf5d0e..0bf2eae56f756 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php @@ -7,8 +7,6 @@ /** * Adminhtml Report Products Reviews renderer - * - * @author Magento Core Team */ class Product extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php index 1d65dd5874c6e..f71f04979ec9b 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php @@ -7,8 +7,6 @@ /** * Adminhtml shopping carts report grid block - * - * @author Magento Core Team */ class Shopcart extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Product.php index 5532d02ea5252..404f410e463f5 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product.php @@ -7,8 +7,6 @@ /** * Adminhtml products report page content block - * - * @author Magento Core Team */ class Product extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php index 127d131d44f50..c22d7c2df1f2f 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php @@ -7,8 +7,6 @@ /** * Adminhtml product downloads report - * - * @author Magento Core Team */ class Downloads extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php index 69053ee944086..ce252f3c99482 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php @@ -7,8 +7,6 @@ /** * Adminhtml product downloads report grid - * - * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Renderer/Purchases.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Renderer/Purchases.php index 27de409b07677..9ec6565ff158d 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Renderer/Purchases.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Renderer/Purchases.php @@ -7,8 +7,6 @@ /** * Adminhtml Product Downloads Purchases Renderer - * - * @author Magento Core Team */ class Purchases extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\AbstractRenderer { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php index 815038210dac5..f0223f9d99a3c 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php @@ -9,7 +9,6 @@ * Adminhtml low stock products report content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Lowstock extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php index a7a79ff05640d..465729779c3d0 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php @@ -18,7 +18,6 @@ * Adminhtml low stock products report grid block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Grid extends \Magento\Backend\Block\Widget\Grid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php index 01286e906ee78..71a8218694f2a 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php @@ -9,7 +9,6 @@ * Backend Report Sold Product Content Block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Sold extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php index f901b32d8b12f..6cdc63e16ef5e 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php @@ -9,7 +9,6 @@ * Adminhtml most viewed products report content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Viewed extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php index a621d530222ff..74ab55db447b0 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php @@ -8,7 +8,6 @@ /** * Adminhtml most viewed products report grid block * - * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php b/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php index f47e5c6522438..92e29d3a47761 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Refresh/Statistics.php @@ -9,7 +9,6 @@ * Report Refresh statistic container * * @api - * @author Magento Core Team * @since 100.0.2 */ class Statistics extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php index 610149bdff26e..47cc623c8e339 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php @@ -9,7 +9,6 @@ * Adminhtml cms blocks content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Customer extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php index 2179e89916d7c..1cfef4b27efb3 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php @@ -7,8 +7,6 @@ /** * Adminhtml report review product blocks content block - * - * @author Magento Core Team */ class Detail extends \Magento\Backend\Block\Widget\Grid\Container { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php index c28abd0fa9161..11b4b3804ea7d 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php @@ -7,8 +7,6 @@ /** * Adminhtml report reviews product grid block - * - * @author Magento Core Team */ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php index 1155d1fde88b4..24379dcec1340 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php @@ -9,7 +9,6 @@ * Adminhtml report review product blocks content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Product extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php index b773184408a7f..da18a007eaf58 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php @@ -9,7 +9,6 @@ * Adminhtml sales report page content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Bestsellers extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php index f898775f6b99a..98b41fbb8b3bc 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php @@ -8,7 +8,6 @@ /** * Adminhtml bestsellers report grid block * - * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php index fe85af58b34f6..99d3624a8a722 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php @@ -9,7 +9,6 @@ * Adminhtml coupons report page content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Coupons extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php index e6e8bdbec964a..93a61aefa4394 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php @@ -8,7 +8,6 @@ /** * Adminhtml coupons report grid block * - * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php index 57594a11bd997..6a0523476ba47 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php @@ -9,7 +9,6 @@ * Adminhtml invoiced report page content block * * @api - * @author Magento Core Team * @since 100.0.2 */ class Invoiced extends \Magento\Backend\Block\Widget\Grid\Container diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php index c3e263475a532..d9ddbd1aa2c68 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php @@ -9,7 +9,6 @@ /** * Adminhtml invoiced report grid block * - * @author Magento Core Team * @SuppressWarnings(PHPMD.DepthOfInheritance) */ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid From 9f8b3379899c75d78a85231e779d40b5d8042eca Mon Sep 17 00:00:00 2001 From: engcom-Echo Date: Fri, 5 Jul 2024 10:13:13 +0530 Subject: [PATCH 2/3] Fixed static test failiures --- .../Model/ResourceModel/Quote/Item/Option/Collection.php | 1 + .../Block/Adminhtml/Config/Form/Field/MtdStart.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Customer/Accounts.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Customer/Orders.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Customer/Totals.php | 2 ++ .../Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php | 2 ++ app/code/Magento/Reports/Block/Adminhtml/Product.php | 2 +- .../Magento/Reports/Block/Adminhtml/Product/Downloads.php | 2 ++ .../Reports/Block/Adminhtml/Product/Downloads/Grid.php | 8 ++++++++ .../Magento/Reports/Block/Adminhtml/Product/Lowstock.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Product/Viewed.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Review/Customer.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Review/Detail.php | 4 ++++ .../Reports/Block/Adminhtml/Review/Detail/Grid.php | 4 ++++ .../Magento/Reports/Block/Adminhtml/Review/Product.php | 2 ++ .../Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php | 4 +--- .../Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php | 8 +++++--- .../Magento/Reports/Block/Adminhtml/Sales/Coupons.php | 2 +- .../Magento/Reports/Block/Adminhtml/Sales/Invoiced.php | 2 +- 19 files changed, 46 insertions(+), 9 deletions(-) diff --git a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php index 6d20675ed5861..f6bf51aad92ab 100644 --- a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php +++ b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option/Collection.php @@ -133,6 +133,7 @@ public function getOptionsByItem($item) * * @param int | \Magento\Catalog\Model\Product $product * @return array + * phpcs:disable */ public function getOptionsByProduct($product) { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php b/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php index c6f724be53e60..f4bd483329ec7 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php @@ -13,6 +13,8 @@ class MtdStart extends \Magento\Config\Block\System\Config\Form\Field { /** + * Get element html + * * @param AbstractElement $element * @return string */ diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php index c3b224df1004d..b781726d896a2 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Accounts.php @@ -19,6 +19,8 @@ class Accounts extends \Magento\Backend\Block\Widget\Grid\Container protected $_blockGroup = 'Magento_Reports'; /** + * Initialize Accounts + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php index 1bea1c88576e3..717c4ff08888c 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php @@ -21,6 +21,8 @@ class Orders extends \Magento\Backend\Block\Widget\Grid\Container protected $_blockGroup = 'Magento_Reports'; /** + * Initialize Orders + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php index 02b73b2c10b57..c9b7cbbd71a19 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php @@ -19,6 +19,8 @@ class Totals extends \Magento\Backend\Block\Widget\Grid\Container protected $_blockGroup = 'Magento_Reports'; /** + * Initialize Totals + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php index 3c67b0486403d..5471df9ab3ccc 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php @@ -11,6 +11,8 @@ class Blanknumber extends \Magento\Backend\Block\Widget\Grid\Column\Renderer\Number { /** + * Get Value + * * @param \Magento\Framework\DataObject $row * * @return string diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Product.php index 404f410e463f5..4ae8aca2cf1e2 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product.php @@ -11,7 +11,7 @@ class Product extends \Magento\Backend\Block\Widget\Grid\Container { /** - * {@inheritdoc} + * @inheritdoc */ protected function _construct() { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php index c22d7c2df1f2f..1bbb59dd04fad 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads.php @@ -11,6 +11,8 @@ class Downloads extends \Magento\Backend\Block\Widget\Grid\Container { /** + * Initialize Downloads + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php index ce252f3c99482..8905015013b9b 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Downloads/Grid.php @@ -16,6 +16,8 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended protected $_downloadsFactory; /** + * Initialize Grid + * * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Reports\Model\ResourceModel\Product\Downloads\CollectionFactory $downloadsFactory @@ -32,6 +34,8 @@ public function __construct( } /** + * Initialize + * * @return void */ protected function _construct() @@ -42,6 +46,8 @@ protected function _construct() } /** + * Prepare collection + * * @return \Magento\Backend\Block\Widget\Grid */ protected function _prepareCollection() @@ -76,6 +82,8 @@ protected function _prepareCollection() } /** + * Prepare column + * * @return \Magento\Backend\Block\Widget\Grid\Extended */ protected function _prepareColumns() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php index f0223f9d99a3c..7df7511768174 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php @@ -14,6 +14,8 @@ class Lowstock extends \Magento\Backend\Block\Widget\Grid\Container { /** + * Initialize Lowstock + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php index 6cdc63e16ef5e..17c2f9d6418b7 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php @@ -19,6 +19,8 @@ class Viewed extends \Magento\Backend\Block\Widget\Grid\Container protected $_template = 'Magento_Reports::report/grid/container.phtml'; /** + * Initialize Viewed + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php index 47cc623c8e339..3d744c19946fd 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php @@ -14,6 +14,8 @@ class Customer extends \Magento\Backend\Block\Widget\Grid\Container { /** + * Initialize + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php index 1cfef4b27efb3..f46b499184aa0 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php @@ -16,6 +16,8 @@ class Detail extends \Magento\Backend\Block\Widget\Grid\Container protected $_productFactory; /** + * Initialize + * * @param \Magento\Backend\Block\Widget\Context $context * @param \Magento\Catalog\Model\ProductFactory $productFactory * @param array $data @@ -30,6 +32,8 @@ public function __construct( } /** + * Initialize + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php index 11b4b3804ea7d..1e05dbb49d68e 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php @@ -16,6 +16,8 @@ class Grid extends \Magento\Backend\Block\Widget\Grid\Extended protected $_reviewsFactory; /** + * Initialize + * * @param \Magento\Backend\Block\Template\Context $context * @param \Magento\Backend\Helper\Data $backendHelper * @param \Magento\Reports\Model\ResourceModel\Review\CollectionFactory $reviewsFactory @@ -32,6 +34,8 @@ public function __construct( } /** + * Initialize + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php index 24379dcec1340..914b9e37dbd38 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Review/Product.php @@ -14,6 +14,8 @@ class Product extends \Magento\Backend\Block\Widget\Grid\Container { /** + * Initialize + * * @return void */ protected function _construct() diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php index da18a007eaf58..4f46468bee8c4 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php @@ -14,14 +14,12 @@ class Bestsellers extends \Magento\Backend\Block\Widget\Grid\Container { /** - * Template - * * @var string */ protected $_template = 'Magento_Reports::report/grid/container.phtml'; /** - * {@inheritdoc} + * @inheritdoc */ protected function _construct() { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php index 98b41fbb8b3bc..e0f7b68bc9df8 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php @@ -20,7 +20,8 @@ class Grid extends \Magento\Reports\Block\Adminhtml\Grid\AbstractGrid protected $_columnGroupBy = 'period'; /** - * {@inheritdoc} + * @inheritdoc + * * @codeCoverageIgnore */ protected function _construct() @@ -30,7 +31,8 @@ protected function _construct() } /** - * {@inheritdoc} + * @inheritdoc + * * @codeCoverageIgnore */ public function getResourceCollectionName() @@ -39,7 +41,7 @@ public function getResourceCollectionName() } /** - * {@inheritdoc} + * @inheritdoc */ protected function _prepareColumns() { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php index 99d3624a8a722..758b3b23d1cd1 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php @@ -21,7 +21,7 @@ class Coupons extends \Magento\Backend\Block\Widget\Grid\Container protected $_template = 'Magento_Reports::report/grid/container.phtml'; /** - * {@inheritdoc} + * @inheritdoc */ protected function _construct() { diff --git a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php index 6a0523476ba47..91a1db0b9048c 100644 --- a/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php +++ b/app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php @@ -21,7 +21,7 @@ class Invoiced extends \Magento\Backend\Block\Widget\Grid\Container protected $_template = 'Magento_Reports::report/grid/container.phtml'; /** - * {@inheritdoc} + * @inheritdoc */ protected function _construct() { From f14d22ea0776ec5e448c9e515cf054f0144b8e94 Mon Sep 17 00:00:00 2001 From: glo24157 Date: Fri, 16 May 2025 12:57:58 +0530 Subject: [PATCH 3/3] Fix copyright static test failure --- .../Magento/Quote/Model/ResourceModel/Quote/Item/Option.php | 4 ++-- .../Model/ResourceModel/Quote/Item/Option/Collection.php | 4 ++-- .../Reports/Block/Adminhtml/Config/Form/Field/MtdStart.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Customer/Accounts.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Customer/Orders.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Customer/Totals.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Filter/Form.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Grid.php | 4 ++-- .../Block/Adminhtml/Grid/Column/Renderer/Blanknumber.php | 4 ++-- .../Reports/Block/Adminhtml/Grid/Column/Renderer/Customer.php | 4 ++-- .../Reports/Block/Adminhtml/Grid/Column/Renderer/Product.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Grid/Shopcart.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Product.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Product/Downloads.php | 4 ++-- .../Reports/Block/Adminhtml/Product/Downloads/Grid.php | 4 ++-- .../Block/Adminhtml/Product/Downloads/Renderer/Purchases.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Product/Lowstock.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Product/Lowstock/Grid.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Product/Sold.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Product/Viewed.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Product/Viewed/Grid.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Refresh/Statistics.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Review/Customer.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Review/Detail.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Review/Detail/Grid.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Review/Product.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Sales/Bestsellers.php | 4 ++-- .../Reports/Block/Adminhtml/Sales/Bestsellers/Grid.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Sales/Coupons.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Sales/Coupons/Grid.php | 4 ++-- app/code/Magento/Reports/Block/Adminhtml/Sales/Invoiced.php | 4 ++-- .../Magento/Reports/Block/Adminhtml/Sales/Invoiced/Grid.php | 4 ++-- 32 files changed, 64 insertions(+), 64 deletions(-) diff --git a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php index a39c1ba58734c..a5edecd260e0e 100644 --- a/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php +++ b/app/code/Magento/Quote/Model/ResourceModel/Quote/Item/Option.php @@ -1,7 +1,7 @@