jumper423/decaptcha

View on GitHub
src/services/AnticaptchaReCaptchaProxeless.php

Summary

Maintainability
A
2 hrs
Test Coverage

Method init has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    public function init()
    {
        parent::init();

        unset(
Severity: Major
Found in src/services/AnticaptchaReCaptchaProxeless.php - About 2 hrs to fix

    Avoid unused parameters such as '$null'.
    Open

        public function recognize($additionally = [], $null = null)

    UnusedFormalParameter

    Since: 0.2

    Avoid passing parameters to methods or constructors and then not using those parameters.

    Example

    class Foo
    {
        private function bar($howdy)
        {
            // $howdy is not used
        }
    }

    Source https://phpmd.org/rules/unusedcode.html#unusedformalparameter

    There are no issues that match your filters.

    Category
    Status