From ea1af785569eff16515ec5b9387827c4e4d084b5 Mon Sep 17 00:00:00 2001 From: Eugene Kopylov Date: Sun, 17 Nov 2024 18:54:31 +0300 Subject: [PATCH] fix cs --- .../modifierorderprice/discountcode/discountcode.php | 4 +--- .../cart-elements/modifierorderprice/promocode/promocode.php | 4 +--- .../cart-elements/notification/sendemail/sendemail.php | 4 +--- .../cart-elements/notification/smsuslugiru/smsuslugiru.php | 4 +--- .../cart-elements/payment/interkassa/interkassa.php | 4 +--- .../jbuniversal/cart-elements/payment/liqpay/liqpay.php | 4 +--- .../jbuniversal/cart-elements/payment/manual/manual.php | 4 +--- .../jbuniversal/cart-elements/payment/paypal/paypal.php | 4 +--- .../jbuniversal/cart-elements/payment/qiwi/qiwi.php | 4 +--- .../jbuniversal/cart-elements/payment/robokassa/robokassa.php | 4 +--- .../jbuniversal/cart-elements/payment/sberbank/sberbank.php | 4 +--- .../jbuniversal/cart-elements/payment/yookassa/yookassa.php | 4 +--- .../jbuniversal/cart-elements/price/color/color.php | 3 +-- .../jbuniversal/cart-elements/price/discount/discount.php | 4 +--- .../jbuniversal/cart-elements/price/image/image.php | 4 +--- .../jbuniversal/cart-elements/price/option/option.php | 4 +--- .../jbuniversal/cart-elements/price/option/tmpl/text.php | 3 +-- .../jbuniversal/jbuniversal/cart-elements/price/sku/sku.php | 4 +--- .../jbuniversal/cart-elements/price/value/value.php | 4 +--- .../jbuniversal/cart-elements/shipping/boxberry/boxberry.php | 4 +--- .../jbuniversal/cart-elements/shipping/emspost/emspost.php | 4 +--- .../jbuniversal/cart-elements/shipping/newpost/newpost.php | 4 +--- .../jbuniversal/cart-elements/shipping/sdek/sdek.php | 4 +--- 23 files changed, 23 insertions(+), 67 deletions(-) diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/discountcode/discountcode.php b/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/discountcode/discountcode.php index 83d051e7..a6688c45 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/discountcode/discountcode.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/discountcode/discountcode.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementModifierOrderPriceDiscountCode */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/promocode/promocode.php b/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/promocode/promocode.php index 1c1367dc..2ef24ceb 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/promocode/promocode.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/modifierorderprice/promocode/promocode.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementModifierOrderPricePromoCode */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/notification/sendemail/sendemail.php b/src/packages/jbuniversal/jbuniversal/cart-elements/notification/sendemail/sendemail.php index c32cb169..af5144e7 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/notification/sendemail/sendemail.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/notification/sendemail/sendemail.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementNotificationSendemail */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/notification/smsuslugiru/smsuslugiru.php b/src/packages/jbuniversal/jbuniversal/cart-elements/notification/smsuslugiru/smsuslugiru.php index 1ee1531d..5db358c4 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/notification/smsuslugiru/smsuslugiru.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/notification/smsuslugiru/smsuslugiru.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementNotificationSmsuslugiru */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/interkassa/interkassa.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/interkassa/interkassa.php index 0d370dc3..5370edfb 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/interkassa/interkassa.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/interkassa/interkassa.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentInterkassa */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/liqpay/liqpay.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/liqpay/liqpay.php index 34581ec5..36e33a69 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/liqpay/liqpay.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/liqpay/liqpay.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentLiqPay */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/manual/manual.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/manual/manual.php index 4767da1e..d861879b 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/manual/manual.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/manual/manual.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentManual */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/paypal/paypal.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/paypal/paypal.php index 87b1011f..bb319e33 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/paypal/paypal.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/paypal/paypal.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentPayPal */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/qiwi/qiwi.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/qiwi/qiwi.php index 67264676..54eaa2b1 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/qiwi/qiwi.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/qiwi/qiwi.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentQiwi */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/robokassa/robokassa.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/robokassa/robokassa.php index 187f13cb..87c28ef6 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/robokassa/robokassa.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/robokassa/robokassa.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentRobokassa */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/sberbank/sberbank.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/sberbank/sberbank.php index ad6c9fad..add5f77d 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/sberbank/sberbank.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/sberbank/sberbank.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentSberbank */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/yookassa/yookassa.php b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/yookassa/yookassa.php index 7bdc580b..ddcbc090 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/payment/yookassa/yookassa.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/payment/yookassa/yookassa.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPaymentYooKassa */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/color/color.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/color/color.php index b67798a6..1bfd7876 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/color/color.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/color/color.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); +use Joomla\String\StringHelper; App::getInstance('zoo')->loader->register('JBCartElementPriceOption', 'cart-elements:price/option/option.php'); diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/discount/discount.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/discount/discount.php index 7d1561fa..e09624f8 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/discount/discount.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/discount/discount.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPriceDiscount */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/image/image.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/image/image.php index 796cf2db..80be0960 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/image/image.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/image/image.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPriceImage */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/option.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/option.php index 01a64dbe..9ad09a60 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/option.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/option.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPriceOption * @since 2.2 diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/tmpl/text.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/tmpl/text.php index cf78da73..54a0bcbf 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/tmpl/text.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/option/tmpl/text.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); +use Joomla\String\StringHelper; $html = array(); foreach ($data as $optionName => $optionVal) { diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/sku/sku.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/sku/sku.php index 2e23ee82..275e3486 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/sku/sku.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/sku/sku.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPriceSku */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/price/value/value.php b/src/packages/jbuniversal/jbuniversal/cart-elements/price/value/value.php index 0d129964..6c9228fa 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/price/value/value.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/price/value/value.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementPriceValue * @since 2.2 diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/boxberry/boxberry.php b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/boxberry/boxberry.php index 23d0b6f7..6c9f6a81 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/boxberry/boxberry.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/boxberry/boxberry.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementShippingBoxberry */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/emspost/emspost.php b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/emspost/emspost.php index 2ac5d528..31a39c65 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/emspost/emspost.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/emspost/emspost.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementShippingEmsPost */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/newpost/newpost.php b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/newpost/newpost.php index dd2cfadf..c5ac4973 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/newpost/newpost.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/newpost/newpost.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementShippingNewPost */ diff --git a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/sdek/sdek.php b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/sdek/sdek.php index a41af841..cc973d89 100644 --- a/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/sdek/sdek.php +++ b/src/packages/jbuniversal/jbuniversal/cart-elements/shipping/sdek/sdek.php @@ -1,5 +1,4 @@ */ // no direct access defined('_JEXEC') or die('Restricted access'); - +use Joomla\String\StringHelper; /** * Class JBCartElementShippingSdek */