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

Expected 7 spaces after parameter type; 2 found
Open

     * @param array  $arRemoveParamList

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

Add a comma after each item in a multi-line array
Open

        return [
Severity: Minor
Found in Plugin.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 "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 "category_id" is not in valid camel caps format
Open

        $obCategoryItem = CategoryItem::make($obProduct->category_id);

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

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

Please trim any trailing whitespace
Open

    
Severity: Minor
Found in controllers/Measures.php by phpcodesniffer

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Exception type missing for @throws tag in function comment
Open

     * @throws

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

        foreach ($this->price_link as $obPrice) {
Severity: Minor
Found in models/Offer.php by phpcodesniffer

Missing @return tag in function comment
Open

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

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

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

Please trim any trailing whitespace
Open

    

Doc comment for parameter "$iSiteID" missing
Open

    /**
Severity
Category
Status
Source
Language