oc-shopaholic/oc-shopaholic-plugin

View on GitHub

Showing 402 of 402 total issues

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Missing parameter name
Open

     * @param $obProgressBar

Missing parameter name
Open

     * @param $obProgressBar

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

Expected 7 spaces after parameter type; 2 found
Open

     * @param array  $arRemoveParamList
Severity: Minor
Found in classes/item/BrandItem.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

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

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

Expected 1 space after FUNCTION keyword; 0 found
Open

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

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

Doc comment for parameter "$arAddParamList" missing
Open

    /**
Severity: Minor
Found in classes/item/ProductItem.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 "discount_price_value" is not in valid camel caps format
Open

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

Missing @return tag in function comment
Open

     */
Severity: Minor
Found in controllers/Categories.php by phpcodesniffer

Blank line found at start of control structure
Open

        if ($obItem instanceof Offer) {

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

        if ($this->is_default && !$this->getOriginal('is_default')) {
Severity: Minor
Found in models/Currency.php by phpcodesniffer

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

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

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

        return $obOfferItem->tax_percent;
Severity: Minor
Found in models/Offer.php by phpcodesniffer
Severity
Category
Status
Source
Language