From e47aa191d7302ad9eb55f8ed3935dc8a083e3cb7 Mon Sep 17 00:00:00 2001 From: Sven Reichel Date: Sat, 30 Nov 2024 03:53:20 +0100 Subject: [PATCH] PHPMD: remove unused private methods/fields (#4397) * remove unused private methods/fields * fixes - but one * baseline - see https://github.com/phpmd/phpmd/issues/1218 --- .phpmd.dist.baseline.xml | 6 --- .phpmd.dist.xml | 20 +++++----- .phpstan.dist.baseline.neon | 35 ------------------ .../core/Mage/Admin/Model/Resource/User.php | 11 ------ .../core/Mage/Checkout/Block/Cart/Sidebar.php | 20 ---------- .../Mage/Checkout/Block/Onepage/Success.php | 5 --- app/code/core/Mage/Log/Model/Aggregation.php | 11 ------ app/code/core/Mage/Paypal/Model/Config.php | 37 ------------------- .../Mage/Sales/Model/Order/Status/History.php | 8 +--- 9 files changed, 11 insertions(+), 142 deletions(-) diff --git a/.phpmd.dist.baseline.xml b/.phpmd.dist.baseline.xml index cb02e06e6bd..31b658f2e8b 100644 --- a/.phpmd.dist.baseline.xml +++ b/.phpmd.dist.baseline.xml @@ -1,6 +1,5 @@ - @@ -9,16 +8,11 @@ - - - - - diff --git a/.phpmd.dist.xml b/.phpmd.dist.xml index 7647b102bbb..1fb0e62b4f2 100644 --- a/.phpmd.dist.xml +++ b/.phpmd.dist.xml @@ -71,25 +71,25 @@ - - - - - + + + + +