lovata/oc-shopaholic-plugin

View on GitHub

Showing 396 of 402 total issues

Missing parameter name
Open

     * @param $obProgressBar

Missing parameter name
Open

     * @param $obProgressBar

Variable "price_value" is not in valid camel caps format
Open

        $fPrice = $this->price_value;
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

Variable "price_without_tax_value" is not in valid camel caps format
Open

        $fPrice = PriceHelper::round($this->price_with_tax_value - $this->price_without_tax_value);
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

Variable "tax_percent" is not in valid camel caps format
Open

        $fPrice = TaxHelper::instance()->getPriceWithoutTax($this->old_price_value, $this->tax_percent);
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

Variable "product_id_list" is not in valid camel caps format
Open

        $arProductIDList = (array) $this->product_id_list;
Severity: Minor
Found in classes/item/TaxItem.php by phpcodesniffer

Variable "main_price" is not in valid camel caps format
Open

            $obPriceModel = $this->main_price;
Severity: Minor
Found in models/Offer.php by phpcodesniffer

Missing blank line before return statement
Open

            return;

Variable "sort_order" is not in valid camel caps format
Open

                    return $obNextItem->sort_order > $obPrevItem->sort_order ? -1 : 1;
Severity: Minor
Found in classes/item/ProductItem.php by phpcodesniffer

Variable "is_default" is not in valid camel caps format
Open

            $obCurrency->is_default = false;
Severity: Minor
Found in models/Currency.php by phpcodesniffer

Variable "main_price" is not in valid camel caps format
Open

                $this->main_price = $obPriceModel;
Severity: Minor
Found in models/Offer.php by phpcodesniffer

Abstract class name is not prefixed with "Abstract"
Open

abstract class CommonMenuType

Variable "updated_at" is not in valid camel caps format
Open

            'mtime'   => $obCategoryItem->updated_at,

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Variable "discount_price_value" is not in valid camel caps format
Open

        $fPrice = TaxHelper::instance()->getPriceWithoutTax($this->discount_price_value, $this->tax_percent);
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

Variable "is_global" is not in valid camel caps format
Open

            $bSkipTax = !$obTaxItem->is_global
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

Variable "country_id_list" is not in valid camel caps format
Open

        $arCountryIDList = (array) $this->country_id_list;
Severity: Minor
Found in classes/item/TaxItem.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

            ->where(function($obQuery) {

Variable "price_value" is not in valid camel caps format
Open

            $fPrice = $obPriceModel->price_value;
Severity: Minor
Found in models/Offer.php by phpcodesniffer

Variable "old_price" is not in valid camel caps format
Open

            $obPriceModel->old_price = $fOldPrice !== null ? $fOldPrice : $obPriceModel->old_price;
Severity: Minor
Found in models/Offer.php by phpcodesniffer
Severity
Category
Status
Source
Language