oc-shopaholic/oc-shopaholic-plugin

View on GitHub

Showing 402 of 402 total issues

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

Missing parameter name
Open

     * @param $obProgressBar

Missing parameter name
Open

     * @param $obProgressBar

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

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

Please trim any trailing whitespace
Open

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

Missing @return tag in function comment
Open

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

Abstract class name is not prefixed with "Abstract"
Open

abstract class CommonMenuType

Missing @return tag in function comment
Open

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

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Exception type missing for @throws tag in function comment
Open

     * @throws

Doc comment for parameter "$iSiteID" missing
Open

    /**

Expected 7 spaces after parameter type; 2 found
Open

     * @param array  $arRemoveParamList
Severity: Minor
Found in classes/item/BrandItem.php by phpcodesniffer

Exception type missing for @throws tag in function comment
Open

     * @throws

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