Harborn-digital / cookie-consent-bundle

Symfony bundle to append Cookie Consent to your website to comply to AVG/GDPR for cookies.
MIT License
18 stars 16 forks source link

`bin/console lint:container` fails #65

Open petski opened 4 years ago

petski commented 4 years ago

Output of bin/console lint:container contains errors related to cookie-consent-bundle:

Invalid definition for service "ConnectHolland\CookieConsentBundle\Cookie\CookieChecker": argument 1 of ConnectHolland\CookieConsentBundle\Cookie\CookieChecker::__construct" accepts "Symfony\Component\HttpFoundation\Request", "NULL" passed.

Probably because @=service('request_stack').getCurrentRequest() doesn't work as there is no request.

bin/console lint:container is typically used in a CI pipeline

domienjansen commented 1 year ago

Bumping this, as I have the same issue