lovata/oc-shopaholic-plugin

View on GitHub

Showing 396 of 402 total issues

Doc comment for parameter "$iSiteID" missing
Open

    /**

Doc comment for parameter "$iSiteID" missing
Open

    /**

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

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

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

        $fOldPrice = $this->old_price_value;
Severity: Minor
Found in classes/item/OfferItem.php by phpcodesniffer

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

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Doc comment for parameter "$obProgressBar" missing
Open

    /**

Expected 7 spaces after parameter type; 2 found
Open

     * @param array  $arRemoveParamList
Severity: Minor
Found in classes/item/BrandItem.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 "old_price_value" is not in valid camel caps format
Open

        $fPrice = TaxHelper::instance()->getPriceWithoutTax($this->old_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

Doc comment for parameter "$arAddParamList" missing
Open

    /**
Severity: Minor
Found in classes/item/ProductItem.php by phpcodesniffer

Expected 7 spaces after parameter type; 2 found
Open

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

Expected 1 space after FUNCTION keyword; 0 found
Open

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

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

        return [
Severity: Minor
Found in Plugin.php by phpcodesniffer

Exception type missing for @throws tag in function comment
Open

     * @throws

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

Exception type missing for @throws tag in function comment
Open

     * @throws

Exception type missing for @throws tag in function comment
Open

     * @throws

Missing blank line before return statement
Open

            return;
Severity
Category
Status
Source
Language