oc-shopaholic/oc-shopaholic-plugin

View on GitHub

Showing 402 of 402 total issues

Exception type missing for @throws tag in function comment
Open

     * @throws

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Doc comment for parameter "$arAddParamList" missing
Open

    /**

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

            $fPrice = array_get($this->price_list, $iActivePriceType.'.price');
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

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 "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

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

            $fPrice = PriceHelper::round($this->old_price_value - $this->price_value);
Severity: Minor
Found in models/Price.php by phpcodesniffer

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

        $this->addCategoryData($obTagItem->category_id);
Severity: Minor
Found in components/Breadcrumbs.php by phpcodesniffer

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

        $this->addCategoryData($obProductItem->category_id);
Severity: Minor
Found in components/Breadcrumbs.php by phpcodesniffer

Declare public methods first,then protected ones and finally private ones
Open

    public function handle()

Missing parameter name
Open

     * @param $obProgressBar

Exception type missing for @throws tag in function comment
Open

     * @throws

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

                $iProductCount += $obChildCategoryItem->product_count;

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

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

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

        $fPrice = PriceHelper::round($this->old_price_with_tax_value - $this->old_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()->getPriceWithTax($this->price_value, $this->tax_percent);
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

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

            $fTaxPercent = TaxHelper::instance()->getTaxPercent($this->tax_list);
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

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

                'price'     => $obPrice->price_value,
Severity: Minor
Found in models/Offer.php by phpcodesniffer

Doc comment for parameter "$obProgressBar" missing
Open

    /**

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
Severity
Category
Status
Source
Language