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