albertcht/invisible-recaptcha

View on GitHub

Showing 2 of 2 total issues

InvisibleReCaptcha has 21 functions (exceeds 20 allowed). Consider refactoring.
Open

class InvisibleReCaptcha
{
    const API_URI = 'https://www.google.com/recaptcha/api.js';
    const VERIFY_URI = 'https://www.google.com/recaptcha/api/siteverify';
    const POLYFILL_URI = 'https://cdn.polyfill.io/v2/polyfill.min.js';
Severity: Minor
Found in src/InvisibleReCaptcha.php - About 2 hrs to fix

    Method renderFooterJS has 26 lines of code (exceeds 25 allowed). Consider refactoring.
    Open

        public function renderFooterJS(...$arguments)
        {
            $lang = Arr::get($arguments, 0);
            $nonce = Arr::get($arguments, 1);
    
    
    Severity: Minor
    Found in src/InvisibleReCaptcha.php - About 1 hr to fix
      Severity
      Category
      Status
      Source
      Language