Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

few improvements #1

Closed
MathiasReker opened this issue Jun 30, 2018 · 0 comments
Closed

few improvements #1

MathiasReker opened this issue Jun 30, 2018 · 0 comments

Comments

@MathiasReker
Copy link
Contributor

/litespeedcache.php

        The use of function stripslashes() is forbidden; use Tools::stripslashes() instead

        424.
            ························$id·=·stripslashes($id);

                                $lsc = self::myInstance();
                                if (!isset($lsc->esiInjection['marker'][$id])) {
                                    $id = stripslashes($id);
                                }
                                if (!isset($lsc->esiInjection['marker'][$id])) {
                                    // should not happen

/classes/Cache.php

        Multi-line function call not indented correctly; expected 20 spaces but found 24

        337.
            ························$product['product_id'], 
        347.
            ························$pubtags, 

        Multi-line function call not indented correctly; expected 16 spaces but found 24

        338.
            ························$includeCats); 
        348.
            ························$this->config->getDefaultPurgeTagsByProduct()); 

        Closing parenthesis of a multi-line function call must be on a line by itself

        338.
            ························$includeCats); 
        348.
            ························$this->config->getDefaultPurgeTagsByProduct()); 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant