If we use recaptcha version 2 on PHP7, there will be a warning message like this
Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JReCaptcha has a deprecated constructor in E:\www\joomla35\plugins\captcha\recaptcha\recaptchalib.php on line 42
This small PR just fixes that warning
Testing Instructions
This change is a very small and clear, so I think maintainer just need to have a quick review and merge it.
It seems we did. The code we are using is different from the code you sent above (just contains part of the original code and modified some of original code, use JHttp to send get request....)
Did we really fork Google's library? https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/recaptcha/recaptcha-php-1.11.zip is the original source...