excelwebzone / EWZRecaptchaBundle

This bundle provides easy reCAPTCHA form field for Symfony.
MIT License
395 stars 160 forks source link

Fix namespace for request method classes #203

Closed crosello closed 6 years ago

crosello commented 6 years ago

Hello,

First, thanks for your bundle.

I am unable to use validator because namespaces are not valid in request method classes. To be compliant with psr4 autoloading, i have fixed namespaces.

My actual workaround in composer.json :

"autoload": {
        "psr-4": {
            ....
            "EWZ\\Bundle\\RecaptchaBundle\\ReCaptcha\\RequestMethod\\": "vendor/excelwebzone/recaptcha-bundle/src/Extension/ReCaptcha/RequestMethod/"
        }
    },
}

Thanks !

excelwebzone commented 6 years ago

Good catch. Thanks.