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

HTTP/Request.php Error #132

Closed
InsiteFX opened this issue Jun 29, 2016 · 2 comments
Closed

HTTP/Request.php Error #132

InsiteFX opened this issue Jun 29, 2016 · 2 comments

Comments

@InsiteFX
Copy link
Contributor

InsiteFX commented Jun 29, 2016

HTTP/Request.php Error

Is throwing an error in phpStorm 2016.1.2 on Line: 174

sscanf($proxy_ips[$i], '%[^/]/%d', $netaddr, $masklen);

$masklen has not been defined. Could be phpStorm just wanted to let you know.

If you define it the error goes away.

@InsiteFX InsiteFX changed the title HTTP/Request.php HTTP/Request.php Error Jun 29, 2016
@lonnieezell
Copy link
Member

Yeah, I've seen that one, too. It's annoying. :) The variable is created and populated by the sscanf method so I hadn't bothered changing it yet, since it's a language feature and seems to be just a PHPStorm thing. Though, to be fair, that method is one that I pretty much copy/pasted from CI3, so haven't looked too closely at it.

@InsiteFX
Copy link
Contributor Author

I only see these errors when I view the source files, the application does run fine so it is probably PhpStorm causing it.

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