oc-shopaholic/oc-shopaholic-plugin

View on GitHub

Showing 402 of 402 total issues

Missing @return tag in function comment
Open

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

Missing parameter name
Open

     * @param $obProgressBar

Missing parameter name
Open

     * @param $obProgressBar

Exception type missing for @throws tag in function comment
Open

     * @throws

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

        $fPrice = TaxHelper::instance()->getPriceWithTax($this->old_price_value, $this->tax_percent);
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

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

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

            $obCurrency->is_default = false;
Severity: Minor
Found in models/Currency.php by phpcodesniffer

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

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

Missing parameter name
Open

     * @param $obProgressBar

Missing blank line before return statement
Open

            return;

Missing blank line before return statement
Open

            return;

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

                $iProductCount += $obChildCategoryItem->product_count;

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

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

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

    public static $arQueryWith = [
Severity: Minor
Found in classes/item/ProductItem.php by phpcodesniffer

Expected 1 space after FUNCTION keyword; 0 found
Open

            ->where(function($obQuery) {

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