8000 False positive on curl_version() Has No Argument · Issue #121 · exakat/exakat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

False positive on curl_version() Has No Argument #121

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

Open
francislavoie opened this issue Aug 30, 2019 · 1 comment
Open

False positive on curl_version() Has No Argument #121

francislavoie opened this issue Aug 30, 2019 · 1 comment

Comments

@francislavoie
Copy link
francislavoie commented Aug 30, 2019

https://exakat.readthedocs.io/en/latest/Rules.html#curl-version-has-no-argument

I have code such as:

    /**
     * Returns information about the cURL version
     */
    public function curl_version()
    {
        return curl_version();
    }

But this is still flagged by this rule. It's from a class that simply wraps cURL.

@exakat
Copy link
Owner
exakat commented Sep 2, 2019

It should only report curl_version when used with something else than CURLVERSION_NOW, or Void.

Fixed in 1.9.3

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

2 participants
0