Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bin/console lint:container fails #65

Open
petski opened this issue Jul 10, 2020 · 1 comment
Open

bin/console lint:container fails #65

petski opened this issue Jul 10, 2020 · 1 comment

Comments

@petski
Copy link

petski commented Jul 10, 2020

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
Copy link

Bumping this, as I have the same issue

upskaling added a commit to upskaling/cookie-consent-bundle that referenced this issue Aug 29, 2023
jaapromijn pushed a commit to jaapromijn/cookie-consent-bundle that referenced this issue Jun 20, 2024
jaapromijn pushed a commit to jaapromijn/cookie-consent-bundle that referenced this issue Jun 20, 2024
jaapromijn pushed a commit to jaapromijn/cookie-consent-bundle that referenced this issue Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants