lovata/oc-shopaholic-plugin

View on GitHub

Showing 396 of 402 total issues

Expected 6 spaces after parameter type; 1 found
Open

     * @param bool $bWithChildren

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 "tax_percent" is not in valid camel caps format
Open

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

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

        if ($this->is_default && !$this->getOriginal('is_default')) {
Severity: Minor
Found in models/Currency.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

Missing parameter name
Open

     * @param $obProgressBar

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

                $iProductCount += $obChildCategoryItem->product_count;

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

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

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

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

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

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

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

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

Expected 1 space after FUNCTION keyword; 0 found
Open

        $arElementIDList = (array) Brand::whereHas('site', function($obQuery) {

Doc comment for parameter "$iSiteID" missing
Open

    /**

Missing parameter name
Open

     * @param $obProgressBar

Variable "price_with_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 "discount_price_with_tax_value" is not in valid camel caps format
Open

        $fPrice = PriceHelper::round($this->discount_price_with_tax_value - $this->discount_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 "price_value" is not in valid camel caps format
Open

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

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

        $iMeasureID = $this->measure_of_unit_id;
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
Severity
Category
Status
Source
Language